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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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