Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Picture Information....make it go away?  (Read 3082 times)

0 Members and 1 Guest are viewing this topic.

tereser

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Picture Information....make it go away?
« 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!
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
Picture Information....make it go away?
« Reply #1 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:
Code: [Select]
<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:
Logged

tereser

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Picture Information....make it go away?
« Reply #2 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:
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Picture Information....make it go away?
« Reply #3 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Picture Information....make it go away?
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 14 queries.