coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jvuillemin on March 26, 2009, 02:14:48 AM

Title: [Solved]: Comment Review - Image Number/Name
Post by: jvuillemin 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/
Title: Re: Comment Review - Image Number/Name
Post by: Joachim Müller on March 26, 2009, 08:09:26 AM
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.
Title: Re: Comment Review - Image Number/Name
Post by: jvuillemin on March 27, 2009, 02:37:15 AM
Thanks Joachim,
That worked perfectly!

JV