forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: johanz on September 19, 2008, 10:38:16 pm
-
So yeah I want to put, so file size and resolution is shown under thumbnail.
I know it has been answered, but I can't find it.
-
http://forum.coppermine-gallery.net/index.php/topic,42445.0.html for resolution.
-
Thanks,resolution works, now, how to show image size?
-
Maybe something like this:
$caption .= '<span class="thumb_caption">' . floor($row['filesize']/1024) . ' KB</span>';
-
Since they both contain $caption, won't it break something?
-
No. It will add to the $caption you already have.
-
Looks like it works now