I could understand that, but the same page loads much faster without the image size checking. So it has to be something in the function, or in the way I've implemented it. However, most of the code is copied from vB itself, if my memory chips are still running. The funniest thing is that that particular page with the 26 images, which goes from 1.8 seconds to 30+, contains only correct-size images, so it doesn't do any resizing etc. I am getting frustrated about this, since I have no idea what is wrong with this.
|