File resolution and size under thumbnail File resolution and size under thumbnail
 

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

File resolution and size under thumbnail

Started by johanz, September 19, 2008, 10:38:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johanz

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.


johanz

Thanks,resolution works, now, how to show image size?

Nibbler

Maybe something like this:

$caption .= '<span class="thumb_caption">' . floor($row['filesize']/1024) . ' KB</span>';

johanz

Since they both contain $caption, won't it break something?

Nibbler

No. It will add to the $caption you already have.

johanz