Member
Member
snlsn   2010-01-14, 21:48
#1
I'm using the default theme and don't wish to display any image info. I unchecked all the EXIF options in the admin dashboard, but the link itself persists (it just doesn't show anything when clicked!). I searched the forum and came up with this advice: "you need to remove the function call that produces it. Remove printImageMetadata()." Do I actually have to edit code to suppress that link? If yes, in which file? I did a global find and that string popped up several places but I don't know which to change. And that means I need to duplicate the theme, right?

Thanks for any help and suggestions. ZP version 1.2.6
Member
Member
bryanbrazil   2010-01-14, 23:22
#2
That code is in your theme's image.php file.
Member
Member
snlsn   2010-01-14, 23:27
#3
Hello bryanbrazil;
Thanks. That's one of the places I found it in my search. So if I just were to remove or comment out this whole block in my theme I'd be okay?
`
<?php
if (getImageEXIFData()) {echo "<a href=\"#TB_inline?height=345&width=400&inlineId=imagemetadata\" title=\"".gettext("Image Info")."\" class=\"thickbox\">".gettext("Image Info")."</a>";
printImageMetadata('', false);
}
?>
`
I understand the recommendation to duplicate the theme (so if doesn't get over-ridden by updates), but I might just try this on the theme files.
I appreciate your help.
Member
Member
snlsn   2010-01-14, 23:35
#4
Worked. Sweet. Thanks. ZP is so big and the pieces are so interrelated I didn't want to just start ripping bits out.
;-)
I appreciate your help.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.