Most of the users here might have seen the images loading in thumbnail format and on clicking the image, the full sized image loads.
I am using a thumbnail generator script which generates the image with the size specified in the query string.
All these days I allowed the full size image to load when the image is clicked.
Recently I noticed that a larger image which cannot fit on the screen shows as jagged images
(This is a feature of the pop-up image script). Hence I specified the width and height parameters to the full size images too.
Then I found a bug in my thumbnail script
. The problem was that I was not checking if the actual image size is less than the one specified in the parameters, and hence when the image size is specified for the small images in the query parameter the image loading script would enlarge the small image to large image.
Now it's fixed.
If any user finds images not loading or not having proper aspect ratio, please inform me through the contact page and thanks in advance too.