Showing resolutions in thumbnail page. Showing resolutions in thumbnail page.
 

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

Showing resolutions in thumbnail page.

Started by netlovers, March 21, 2007, 09:11:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

netlovers

Hi
I wanna show every picture resolution on thumbnail page.
I wanna do exactly as shown in this pic.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimgkit.com%2Fguest%2Fres.jpg&hash=eb6da5024c3f498e22b12b31dd1b3c3f45a22334)

Nibbler

include/functions.inc.php, look for the build_caption() function, find


$rowset[$key]['caption_text'] = $caption;


and add in the new caption on a line above that

$caption .= '<span class="thumb_caption">'.$row['pwidth'] . ' x ' . $row['pheight'] .'</span>';

AzzIzz

hey, the script works fine, but it doesn't update the resolution for images that has been replaced with file replacer plugin. is there any solution to that?

ron4mac


AzzIzz

Done it, still shows the resolution of the first photo