coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: tereser on March 24, 2004, 03:37:15 AM

Title: Picture Information....make it go away?
Post by: tereser on March 24, 2004, 03:37:15 AM
I want to make the filename, album name, and file size and dimensions fields for each picture not display for visitors. Is there any way to do this?

Thank you!
Title: Picture Information....make it go away?
Post by: bit bit spears on March 24, 2004, 05:47:29 AM
well there are two ways of doing this;

either going into config.php and changing 'Image information is visible by default' to NO

or

you could remove this feature completely: (here's how you do this)

first go into config.php and change 'Image information is visible by default' to NO - or make sure it is already set to NO.

then:

open up your /themes/(DESIRED THEME)/theme.php

Remove:

all of this information from these lines:
<a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/eyeball/images/imv_picinfo.gif" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>


*note, this will differ from theme to theme; please make sure you remove the <td> or whatever if there is anything around the pic info links:) post back and tell me if i helped ya :wink:
Title: Picture Information....make it go away?
Post by: tereser on March 24, 2004, 07:45:02 AM
Thank you so much for the quick response!

I tried this and it worked...but it does take out ALL the info fields. Is there any way to keep the user defined fields but not the rest?

Thanks again! :lol:
Title: Picture Information....make it go away?
Post by: Casper on March 24, 2004, 10:13:28 AM
See http://forum.coppermine-gallery.net/index.php?topic=3411

For the future, if you do searches like 'remove AND pic AND info', you narrow the result right down.  I had about 8 results when I did it.
Title: Picture Information....make it go away?
Post by: tereser on March 24, 2004, 06:17:54 PM
It worked perfectly....

I did that exact search and could not find the information. After about an hour, I figured it was okay to just ask somebody to help.

Thank you for directing me to the right place.