Safari problems – loads 1st time, and not the second..

HomeForums(E)2 Photo Gallery (The Open Source One)Sample of (E)2 Photo GallerySafari problems – loads 1st time, and not the second..

This topic has 7 voices, contains 10 replies, and was last updated by   650 days ago.

Viewing 11 posts - 1 through 11 (of 11 total)
Author Posts
Author Posts
March 3, 2008 at 3:34 am #1257

Hi there, Thank you for all your help previously. The site is working well except in Safari on a Mac, which is unfortunately what the client uses to view the site. The gallery loads up the first time and works perfectly, but if you navigate away and then return to the page the first large image doesn’t load, and the arrows on the thumbnail bar disappear meaning the other images can’t be accessed. It’s very odd.
The link to the site is http://www.grizelda.net/gallery/index.php , there are three galleries on the site, and the same problem happens with them all.
Thank you kindly,
Sue

March 4, 2008 at 3:18 am #1258

Hi Sue,

Try to use a more recent e2photo.js file. You can download it I think from the sticky thread at the top of this forum.

Gonzo

March 6, 2008 at 1:33 pm #1259

No,

I thought I had it solved, but nope. I have the same problem.

See: sylviaterwisschavanscheltinga.nl

cheers,
Gonzo

March 26, 2008 at 8:15 am #1260

Hi there, I sent this post sometime ago, and hadn’t checked in to see if there was a response, but there doesn’t seem to be from E2. Could you help me with this? Thank you. Sue

Thank you for all your help previously. The site is working well except in Safari on a Mac, which is unfortunately what the client uses to view the site. The gallery loads up the first time and works perfectly, but if you navigate away and then return to the page the first large image doesn’t load, and the arrows on the thumbnail bar disappear meaning the other images can’t be accessed.
The link to the site is http://www.grizelda.net/gallery/index.php , there are three galleries on the site, and the same problem happens with them all.
Thank you kindly,
Sue

March 27, 2008 at 7:09 am #1261

E2

I’ve seen the error but haven’t had time to figure out what is going on with the specific issue with safari. That is my main browser too. With all the minor bug updates and fixes for different requests from other users, this issue some how has pop-up and it’s a weird bug.

I am working on the next version of the photogallery which makes it hard to go back and try and fix errors on the old version, as I am re-writing the new gallery from the ground up. So my mind is on the new code and makes it difficult to debug the old code, I don’t know when I will get the chance to debug this but hopefully soon.

July 15, 2008 at 7:52 am #1262

Hi there, Thank you for your reply about the bug in Safari. I wonder if you were able to find a fix for the old software or perhaps you’ve finished working on the new version? It is a great piece of software and lots of people have commented how well it works, but there’s a bit of confusion from those safari users. I’m just about to do another site and to be honest your gallery software seems to be one of the best out there to enable the strip of thumbnails under the main image. You’d make me a very happy woman if you could find a fix for the bug in Safari or if it doesn’t exist in the new version.
All the best,
Sue

August 17, 2008 at 3:07 pm #1263

There’s a problem with the ‘domready’ event in e2photo2.js : it seems that this event is not well handled by all browsers…

As a solution you can drop these lines from e2photo2.js :

window.addEvent(‘domready’, function() {
initGallery( tempgallery, tempgallery.length, tempgallery[0][8], tempgallery[0][1], tempgallery[0][2], 0 );
});

and add an “onload” parameter in your gallery body tag :

<body onload=”initGallery( tempgallery, tempgallery.length, tempgallery[0][8], tempgallery[0][1], tempgallery[0][2], 0 );”>

February 20, 2010 at 5:23 am #1264

I tried this and it doesn’t work in Firefox. Has anyone fixed this problem in the free version? Also, it loads the remaining pics very slowly when you click on them. Any suggestions on that one too?

February 24, 2010 at 3:33 pm #1265

E2

It’s a bug in the free version that’s been fixed in the Pro version

June 26, 2010 at 11:01 am #1266

I solved it as follows:
1. Be a function:

<?php
function get_user_browser()
{
$u_agent = $_SERVER['HTTP_USER_AGENT'];
$ub = ”;
if(preg_match(‘/MSIE/i’,$u_agent))
{ $ub = “ie”; }
elseif(preg_match(‘/Firefox/i’,$u_agent))
{ $ub = “firefox”; }
elseif(preg_match(‘/Chrome/i’,$u_agent))
{ $ub = “chrome”; }
elseif(preg_match(‘/Safari/i’,$u_agent))
{ $ub = “safari”; }
elseif(preg_match(‘/Flock/i’,$u_agent))
{ $ub = “flock”; }
elseif(preg_match(‘/Opera/i’,$u_agent))
{ $ub = “opera”; }
return $ub;
}
?>

2. The getfirstimage () function after the following line of code:

<?php
getfirstimage($gallerypathuj, “tempgallery”,$autoheight, $image_height);
$aktual_browser = get_user_browser();
if ( ($aktual_browser === ‘chrome’) || ($aktual_browser === ‘safari’) )
{
echo ‘<script type=”text/javascript”>initGallery( tempgallery, tempgallery.length, tempgallery[0][8],’.
‘ tempgallery[0][1], tempgallery[0][2], 0 );</script>’;
}
?>

Good luck to the test
szabofe (Buzsák. Hungary)

August 11, 2010 at 4:20 am #1267

Hi Can you please explain the fix a bit more clearly. Where is the code supposed to go/

Thanks

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.