Version: 3.5.2 (using KDE 3.5.3, Debian Package 4:3.5.3-1 (testing/unstable)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-1-k7 Hello, when you want to read the dimensions of an image using script, those dimensions are not immediately readeable, but you must wait like one second or so after the image has finished loading. <img src="animage.jpg" onload="alert(this.width+' '+this.height);" /> This will display an alert with "0 0" instead of the true dimensions of the image.
Created attachment 16651 [details] A simple testcase As you see, both the onload of the image and the onload of the body display wrong dimensions, but if you later click on the image or on the link, it will show the right ones (160*120).
*** Bug 130845 has been marked as a duplicate of this bug. ***
I think I just figured out a fix for this based on a different report
http://lists.kde.org/?l=kde-commits&m=121985626719894&w=2