Finn Rudolph

20
Oct
2008
ImageFlow 1.0.1 online - IE bug smashed

ImageFlow, JavaScript von Finn Rudolph

There is a new ImageFlow version! And with it comes good and bad news. The good news first: It is now fully compatible with the Microsoft Internet Explorer (there were some odd image scaling problems with the IE 6). The bad news is, that you now have to add the width and height attributes to the image tags. If you don't do it all browser fall back nicely to the previous method (grabbing the image dimensions via JavaScript)... and the IE will still fail. I tried a whole lot of other things to avoid this, but (as far as I know) the Internet Explorer has a massive problem getting the correct image size directly via JavaScript.

When I implemented these changes I came up with the idea, that one can even skip the image preloading, for the JavaScript can already grab the image dimensions before the images are actually loaded. This is now an option called preloadImages and should be nice for really large amounts of images.