forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: idotal on April 17, 2010, 02:02:51 pm
-
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...??
-
Please post a link to your site as per the board rules - http://forum.coppermine-gallery.net/index.php/topic,55415.0.html
-
gallery.stargatefun.co.il
-
- Link would be http://gallery.stargatefun.co.il/ and not just gallery.stargatefun.co.il
- You have cpg1.4.25 there, while the most recent stable currently is cpg1.4.26, so you need to upgrade.
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.
-
i edit it but it still doesn't show the file resolution....
please check my site and tell me whats wrong...
-
I've just looked at the thumbs in the filmstrip and the resolution is there for me.
-
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
-
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.
-
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)
-
can u tell me what version is this gallery - http://kepek.csillagkapu.hu/index.php
-
can u tell me what version is this gallery - http://kepek.csillagkapu.hu/index.php
<!--Coppermine Photo Gallery 1.4.20 (stable)-->