PDA

View Full Version : images not loading?


specialagentdale
May-27-2009, 10:53 AM
not sure if this is a bug with smugmug or with my customization... it happens intermittently in both Safari and Firefox on Mac 10.5.

When I view one of my galleries using the smugmug view style, the larger preview image does not always update when I click the smaller thumbnails. In other words, the larger image is 'stuck' and does not change, no matter which thumbnail I click on. The url does change correctly like you would expect, but nothing updates within the web page itself.

As I said, this problem happens intermittently. I can always 'fix' it by refreshing the page. The problem always seems to go away after a refresh.

-Dale

bryson.smugmug.com

docwalker
May-28-2009, 05:26 AM
This is usually related to the browser cache. I very rarely see it as well when I am having other issues with my ISP. The cache gets out of whack and has to be cleared. Once the ISP is running normally, the problem goes away. You might want to check your connection and clear the cache to see if it helps.

specialagentdale
May-29-2009, 12:39 AM
thanks for the tip. I tried that, with no improvement. I have also checked my site from two other locations which showed the same behavior. This would seem to rule out ISP/cache issues. Would you mind visiting my site and let me know if you see the same problem?

http://bryson.smugmug.com

thanks for your help. this problem is really starting to annoy.

Andy
May-29-2009, 06:11 AM
thanks for the tip. I tried that, with no improvement. I have also checked my site from two other locations which showed the same behavior. This would seem to rule out ISP/cache issues. Would you mind visiting my site and let me know if you see the same problem?

http://bryson.smugmug.com

thanks for your help. this problem is really starting to annoy.


Browser & Version?
Are you behind a firewall or other security?

specialagentdale
May-29-2009, 11:43 AM
Firefox 3.0.10 on Mac 10.5.6
Safari 3.2.1 on Mac 10.5.6

I have confirmed that problem exists on 3 different computers in 3 different locations. The more I test it, the more it seems like a possible problem with my site customization. Links always work correctly when I command-click to open in new browser tab, but they rarely work within the webpage itself, unless I refresh the page at least once (sometimes it takes 3, 4, or 5 refreshes to get a page to work.) wierd.

Have you guys tested any of my galleries to see if you see the same problem?

Andy
May-29-2009, 11:48 AM
Have you guys tested any of my galleries to see if you see the same problem?

Yup, FF & Safari on Mac and IE on XP (http://img.skitch.com/20090529-b7rh2wc6whrhy8wem5qu1xiyea.jpg)

What addons or other security have you got going on?

specialagentdale
May-29-2009, 12:38 PM
Nothing special, just fairly common site customizations (modded the black arts theme to taste for some basic design elements, added a slideshow on the home page, modded the breadcrumb to include a 'gallery categories' link (which is really the '2nd home page'.))

I think this problem may have started when I selected the 'stretchy' option for my galleries, although I am not positive. I guess i could turn 'stretchy' off and see if the problem persists? any thoughts?

Andy
May-29-2009, 01:40 PM
I meant addons on your computer, browser, security etc...

specialagentdale
May-29-2009, 01:45 PM
oh, sorry. no nothing special. ...and I have tried this on three different computers, and you verified the same behavior on your computer in three different browsers. This would indicate the problem is not specific to a certain combination of software.

Andy
May-29-2009, 01:48 PM
oh, sorry. no nothing special. ...and I have tried this on three different computers, and you verified the same behavior on your computer in three different browsers. This would indicate the problem is not specific to a certain combination of software.
No. We have no problem viewing your gallery, and I expect others stopping here in this thread will not also. I gave you a link to show you I see your site fine in all supported browsers & platforms.

Stay tuned.

specialagentdale
May-29-2009, 01:54 PM
to clarify, the galleries LOOK fine, the problem is that links don't work. For example, if you click on a thumbnail image, the larger image does not update. The url updates, but there is no visual change to the page. This problem goes away after refreshing the page anywhere from 1- 5 times. I think I described the problem pretty well in my first post.

Andy
May-29-2009, 01:59 PM
to clarify, the galleries LOOK fine, the problem is that links don't work. For example, if you click on a thumbnail image, the larger image does not update. The url updates, but there is no visual change to the page. This problem goes away after refreshing the page anywhere from 1- 5 times. I think I described the problem pretty well in my first post.
ack! My bad for misreading :D

going in to look again.

Andy
May-29-2009, 02:12 PM
If I use this gallery

http://bryson.smugmug.com/gallery/1698032_z4Fod#84227734_2iQ7i

and change the url to

http://www.smugmug.com/gallery/1698032_z4Fod#84227734_2iQ7i thus removing all your customizing- all is fine. So, what in your code has changed lately? :ear

Andy
May-29-2009, 02:19 PM
I'm calling in the cavalry!

richW
May-29-2009, 02:27 PM
to clarify, the galleries LOOK fine, the problem is that links don't work. For example, if you click on a thumbnail image, the larger image does not update. The url updates, but there is no visual change to the page. This problem goes away after refreshing the page anywhere from 1- 5 times. I think I described the problem pretty well in my first post.
It's looking to do with this script:

YE.onContentReady('breadcrumb', function () {
bcEl = document.getElementById('breadcrumb');
myHTML = bcEl.innerHTML;
myHTML = myHTML.replace(/>bryson.smugmug.com</, '>bryson.smugmug.com</a> &gt; <a href="/galleries" class="nav">Gallery Categories<');
bcEl.innerHTML = myHTML;
});



Could you remove and confirm?

specialagentdale
May-29-2009, 02:35 PM
Rich, you nailed it. Removing that script solved the problem. ...which is great except now I am missing the 'gallery categories' breadcrumb, (which should link to http://bryson.smugmug.com/galleries )

Any ideas how to improve the script or otherwise add a breadcrumb that doesn't otherwise break my page? Thanks for all the help guys.

richW
May-29-2009, 02:59 PM
Rich, you nailed it. Removing that script solved the problem. ...which is great except now I am missing the 'gallery categories' breadcrumb, (which should link to http://bryson.smugmug.com/galleries )

Any ideas how to improve the script or otherwise add a breadcrumb that doesn't otherwise break my page? Thanks for all the help guys.
Give jFriend's script a try to see if it will do the change for you:
http://www.dgrin.com/showpost.php?p=1066333&postcount=1

specialagentdale
May-29-2009, 03:23 PM
I tried the new script - works good enough for me, and no more 'dead' links. Thanks guys! problem solved.

richW
May-29-2009, 05:20 PM
I tried the new script - works good enough for me, and no more 'dead' links. Thanks guys! problem solved.You're Welcome....:thumb

You can thank jFriend too, for the cool script :D