ZenphotoCMS Forum
suppress image info link - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: suppress image info link (/thread-6455.html)



suppress image info link - snlsn - 2010-01-14

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




suppress image info link - bryanbrazil - 2010-01-14

That code is in your theme's image.php file.




suppress image info link - snlsn - 2010-01-14

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?
`

`
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.




suppress image info link - snlsn - 2010-01-14

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.