[Solved]: Comment Review - Image Number/Name [Solved]: Comment Review - Image Number/Name
 

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]

Main Menu

[Solved]: Comment Review - Image Number/Name

Started by jvuillemin, March 26, 2009, 02:14:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jvuillemin

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/

Joachim Müller

Edit reviewcom.php using a plain text editor (notepad.exe is fine).
Find                        <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)                        <br />{$row['filename']}This will display just the file name. To display the picture ID, use                        <br />{$row['pid']}To display both, use                        <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.

jvuillemin

Thanks Joachim,
That worked perfectly!

JV