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: How to HIDE certain fields in the FILE INFORMATION  (Read 3841 times)

0 Members and 2 Guests are viewing this topic.

altenae

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 254
How to HIDE certain fields in the FILE INFORMATION
« on: January 30, 2005, 12:08:50 pm »

I have the following layout and I want the bold ISSUES not to be visible for the visitors. How can I do this and where ???

File information :

Filename: 0705_PH-XRE B737-700 Transavia (Basiqair c-s)AMS.jpg
Album name: Ton Jochems (81.70.169.252[81.70.169.252]) / Amsterdam Schiphol
Airlines: Transavia
Type: B737-700
Registration: PH-XRE
File Size: 92 KB
Dimensions: 800 x 533 pixels
Displayed: 1 times
Camera: NIKON CORPORATION - NIKON D100
Date taken: 2004:12:29 12:22:28
Aperture: f/ 11.0
Exposure time: 0.003 s (10/4000) (1/400)
Focal length: 32.00 (320/10)
Comment: ASCII
URL: http://aviationphotos.org/cpg132/displayimage.php?pos=-170
Favorites: Add to Favorites
Logged

jimijon

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: How to HIDE certain fields in the FILE INFORMATION
« Reply #1 on: February 16, 2005, 05:00:51 pm »

Any luck? I too need to find where I can reorder/remove some File Information.

Anyone?

 ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to HIDE certain fields in the FILE INFORMATION
« Reply #2 on: February 16, 2005, 05:06:05 pm »

edit displayimage.php, find
Code: [Select]
// Display picture information
function html_picinfo()
and edit the stuff that comes after it. To e.g. disable the display of the file name, find
Code: [Select]
$info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);and comment out the whole line by putting a double slash (//) in front of it.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.