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: Changing what shows in "File Information"  (Read 2733 times)

0 Members and 1 Guest are viewing this topic.

Soong

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Changing what shows in "File Information"
« 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing what shows in "File Information"
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.