Picture Information....make it go away? Picture Information....make it go away?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Picture Information....make it go away?

Started by tereser, March 24, 2004, 03:37:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tereser

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!

bit bit spears

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:

tereser

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:

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

tereser

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.