Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Comment Review - Image Number/Name  (Read 2216 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.031 seconds with 19 queries.