Advanced search  

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

Pages: [1]   Go Down

Author Topic: How to HIDE certain fields in the FILE INFORMATION  (Read 3718 times)

0 Members and 1 Guest 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.016 seconds with 19 queries.