News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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