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: [Solved]: Comment Review - Image Number/Name  (Read 2209 times)

0 Members and 1 Guest are viewing this topic.

jvuillemin

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Comment Review - Image Number/Name
« on: March 26, 2009, 02:14:48 am »

First of all I would like to say coppermine does rock!
I am trying to use my website for client proofing. Say a customer views photos on my site and writes comments on what size they want specific images printed . That all works perfect except when I go to comment review, there is no image number or filename listed in the comments view until I click to see the larger image. I have turned on "Display file name below the thumbnail " in the config. It would just make it easier to see the image name instead of the thumbnail for processing purposes. I apologize if this has been answered in the past-i did try searching.

Thanks in advance
JV
http://www.rezultsimaging.com/album/
« Last Edit: March 27, 2009, 12:36:20 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Comment Review - Image Number/Name
« Reply #1 on: March 26, 2009, 08:09:26 am »

Edit reviewcom.php using a plain text editor (notepad.exe is fine).
Find
Code: [Select]
                        <a href="$thumb_link"><img src="$thumb_url" {$image_size['geom']} class="image" border="0" alt="" /></a>and add after this (into a new line)
Code: [Select]
                        <br />{$row['filename']}This will display just the file name. To display the picture ID, use
Code: [Select]
                        <br />{$row['pid']}To display both, use
Code: [Select]
                        <br />{$row['filename']} | {$row['pid']}You get the point I guess.
If you feel like it, you could beautify the quick-and-dirty solution above to actually use an additional column instead of just adding the output to the existing thumbail column.
Logged

jvuillemin

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Comment Review - Image Number/Name
« Reply #2 on: March 27, 2009, 02:37:15 am »

Thanks Joachim,
That worked perfectly!

JV
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.