Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.9
Component:
Javascript
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 21:18 UTC
Updated:
30 Apr 2009 at 16:00 UTC
Using the Lightbox model, some of the images in IE6 and IE7 are not showing the "Preview" image size properly.
In the Image module, I have the Preview set at 480x480, but used to have them as 640x640. Now that I've changed it to the smaller size, some (but not all) images are showing the 480 size image, but stretched to 640. Again, it's just some of them.
I've cleared all caches (on Drupal AND my computer) and it's still not showing properly.
Any ideas?
Thanks!
Comments
Comment #1
Chani commentedYou can see this at work here: http://www.cemagraphics.com/gallery/graphic-design
It works fine in Firefox, but IE is not liking it...
Comment #2
Chani commentedAfter some research on Google, I'm guessing it has to do with IE caching the iFrames for lightbox.
Any way to get this so IE doesn't cache it or at least refreshes it every time in the js?
Thanks!
Comment #3
Chani commentedIs there a way in the js to refresh the iFrame every time it's loaded?
I don't know js at all, so any help will be very much appreciated.
Comment #4
Chani commentedI don't mean to be a pain, but is there any way to refresh the contents of the iframe? I appreciate that people create these mods for free for us to use. I really do. But I'm very new to Drupal, and I've never programmed javascript, so I have no idea how to make this work (refresh).
Thanks for any help at all. :)
Comment #5
stella commentedClearing your both your Drupal cache and your browser cache should work.
Comment #6
stella commentedHmm you might need to regenerate the preset either - not all presets get regenerated each time.
Comment #7
Chani commentedThank you for replying.
Yup, I've tried clearing all caches (browser and Drupal), and that didn't work. :-(
I'll give regenerating the preset.
Thanks again!
Comment #8
Chani commentedHmmm...that didn't work, either.
It has got to be something to do with IE because Firefox isn't doing this to me. :(
There's no way to refresh the contents of an iFrame every time it's loaded?
Comment #9
stella commentedNo, you can't. If this is only affecting IE, then it has to be a caching issue. Sometimes I find it helps to navigate directly to the image, do a shift+reload to refresh the image in the cache.
An iframe is just like a browser tab / window. It just loads a webpage in it, no differently than a normal browser window. Again, try navigating directly to the url rather than opening it in an iframe, do a shift+reload and see if that fixes the problem. If the image is still appearing incorrectly when viewing the iframe webpage in a normal window, then it's something to do with your content more than likely.
Comment #10
stella commented