S
Semjon Katatschkow
Flightless Bird
I haven't installed IE8 yet, so I'd like to know if the notorious image display bug all previous IE versions are affected by has
been finally fixed. The bug occurs when loading websites that contain many images, often IE will fail to display some of them. The
images are online, it's just an IE bug.
I kind of solved this issue by writing an jscript that I insert in all webpages I visit by means of Proxomitron (that's an
web-filtering proxy). The script checks all images on the page after IE finishes loading the page and if the image size <0 (means
not loaded) it attempts to re-load them into IE. Of course, it would be much better if Microsoft finally did their job and fixed the
goddamn bug after 10 or 15 years! Just hope it's finally fixed in IE8.
In case anybody's interested, here's the script that I use:
--------------
function IE_IMG_Bug()
{
var theImages_length = document.images.length
if (theImages_length > 0)
{
var theImages = document.body.getElementsByTagName("IMG");
for (var theImagesCount = 0; theImagesCount < theImages_length; theImagesCount++)
{
if (theImages[theImagesCount].fileSize < 0)
{
oSrc=theImages[theImagesCount].src
theImages[theImagesCount].setAttribute("src", "");
theImages[theImagesCount].setAttribute("src", oSrc);
//theImages[theImagesCount].swapNode(theImages[theImagesCount]) //alternative, but it fails most of the time
}
}
}
}
document.onreadystatechange=fnStartInit;
function fnStartInit()
{
if (document.readyState=="complete")
{
IE_IMG_Bug()
}
}
------------------
been finally fixed. The bug occurs when loading websites that contain many images, often IE will fail to display some of them. The
images are online, it's just an IE bug.
I kind of solved this issue by writing an jscript that I insert in all webpages I visit by means of Proxomitron (that's an
web-filtering proxy). The script checks all images on the page after IE finishes loading the page and if the image size <0 (means
not loaded) it attempts to re-load them into IE. Of course, it would be much better if Microsoft finally did their job and fixed the
goddamn bug after 10 or 15 years! Just hope it's finally fixed in IE8.
In case anybody's interested, here's the script that I use:
--------------
function IE_IMG_Bug()
{
var theImages_length = document.images.length
if (theImages_length > 0)
{
var theImages = document.body.getElementsByTagName("IMG");
for (var theImagesCount = 0; theImagesCount < theImages_length; theImagesCount++)
{
if (theImages[theImagesCount].fileSize < 0)
{
oSrc=theImages[theImagesCount].src
theImages[theImagesCount].setAttribute("src", "");
theImages[theImagesCount].setAttribute("src", oSrc);
//theImages[theImagesCount].swapNode(theImages[theImagesCount]) //alternative, but it fails most of the time
}
}
}
}
document.onreadystatechange=fnStartInit;
function fnStartInit()
{
if (document.readyState=="complete")
{
IE_IMG_Bug()
}
}
------------------