I have a small problem on my intermediate picture page when using firefox 3.5.
Hovering over the intermediate picture should show a text item that informs the website visitor that clicking on the picture will show the NEXT picture in the album. (installed mod to prefenct full size image pop-up)
This all works fin using IE but when using my preferred browser firefox no text is shown when hovering over the intermediate picture.
I know the code below, and especially the "view_fs" part is used to show the text pop-up.
if ($mime_content['content']=='image') {
if (isset($image_size['reduced'])) {
$winsizeX = $CURRENT_PIC_DATA['pwidth']+5; //the +'s are the mysterious FF and IE paddings
$winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
$pic_html = "<a href='?album=$album$cat_link&pos=$nextimg'>";
$pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
$pic_html .= "</a>\n";
} else {
So the question is: why the text pop-up does not work in firefox?
Is there a special setting in firefox that can be changed to deal with this kind of problems? (I have observed more differences between FF and IE)
I hope someone can answer my questions.
Harald
www.haraldlabout.nl/fotografie
Unfortunately, you are running behind on upgrading your site and are at risk.
Currently you are running <!--Coppermine Photo Gallery 1.4.19 (stable)-->, you should upgrade immediately. The latest stable release is 1.4.25.
Thanx for the reply, will update soon.
Will it fix my problem?
Harald
If you want the image to have a title you need to set that.
$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" title=\"{$lang_display_image_php['view_fs']}\" /><br />";
Thanks Nibbler.
Superb advice, added the extra information to the code, working fine now.
Harald