forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: altenae on January 30, 2005, 12:08:50 pm

Title: How to HIDE certain fields in the FILE INFORMATION
Post by: altenae 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
Title: Re: How to HIDE certain fields in the FILE INFORMATION
Post by: jimijon on February 16, 2005, 05:00:51 pm
Any luck? I too need to find where I can reorder/remove some File Information.

Anyone?

 ???
Title: Re: How to HIDE certain fields in the FILE INFORMATION
Post by: Joachim Müller 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