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

Chani’s picture

You can see this at work here: http://www.cemagraphics.com/gallery/graphic-design

It works fine in Firefox, but IE is not liking it...

Chani’s picture

After 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!

Chani’s picture

Is 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.

Chani’s picture

I 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. :)

stella’s picture

Clearing your both your Drupal cache and your browser cache should work.

stella’s picture

Hmm you might need to regenerate the preset either - not all presets get regenerated each time.

Chani’s picture

Thank 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!

Chani’s picture

Hmmm...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?

stella’s picture

No, 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.

stella’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.