coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Soong on July 23, 2004, 07:47:43 PM

Title: Changing what shows in "File Information"
Post by: Soong on July 23, 2004, 07:47:43 PM
Hi,

At the moment it shows all kinds of stuff like filename, size, etc.

I only need a couple of fields so can I delete Filename:, File Size:, Dimensions: and Displayed: ?

If so, how do I go about doing it?

Thanks.
Title: Re: Changing what shows in "File Information"
Post by: Joachim Müller on July 24, 2004, 12:50:55 PM
edit displayimage.php, find
Quote// Display picture information
and edit the stuff that comes after it. Do only comment out the html stuff you don't need, e.g. replace
Quote$info[$lang_picinfo['File Size']] = '<span dir="LTR">' . $info[$lang_picinfo['File Size']] . '</span>';
with
Quote$info[$lang_picinfo['File Size']] = '<!--<span dir="LTR">' . $info[$lang_picinfo['File Size']] . '</span>-->';

GauGau