mouse over will show pic resolution mouse over will show pic resolution
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

mouse over will show pic resolution

Started by idotal, April 17, 2010, 02:02:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

idotal

hello
how can i do that when the mouse is over the pic tumb it will not only show the pic name and size, but also the pic resolution...??

phill104

It is a mistake to think you can solve any major problems just with potatoes.


Joachim Müller



The title tag for the thumbnail view is being generated in include/functions.inc.php, in the function definition for function display_thumbnails. Replace                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
                               $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
                               $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
                               $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
with                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
                               $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
                               $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
and you should be good. Apply this modification after upgrading, as you will have to re-apply this every time you upgrade, so you better keep a note of your edit.

idotal

i edit it but it still doesn't show the file resolution....
please check my site and tell me whats wrong...

phill104

I've just looked at the thumbs in the filmstrip and the resolution is there for me.
It is a mistake to think you can solve any major problems just with potatoes.

idotal

i don't see it.
i am using firefox (mac version) and i see the coopermine cms in hebrew(because im israeli...)maybe it matter or something...please help

Joachim Müller

Accessing the gallery in hebrew (http://gallery.stargatefun.co.il/?lang=hebrew) indeed doesn't show the details, while accessing it in a LTR language (e.g. English http://gallery.stargatefun.co.il/?lang=english) shows the expected result. Looks like a bug to me. Needs looking into. On my testbed, this happens with hebrew, but not with arabic. You can conclude that the issue is not related to the difference between RTL and LTR languages, but an issue inherent to Hebrew.

idotal

ya...i checked the english version, but still it shows the resolution only in the film row...
but in the main page, in the most recent thumb it doesn't show the resolution...and also in the result page (http://gallery.stargatefun.co.il/thumbnails.php?album=4)

idotal


onthepike