Welcome to WebmasterWorld Guest from

Message Too Old, No Replies

How does Google Images index size of a browser resized image?



12:51 pm on Dec 23, 2009 (gmt 0)

5+ Year Member

I have a small blog that hosts a large number of my own photographs and screenshots.

Right now, because these images are often of significant sizes (in both width and height), I have been using resizing them in the <img> tag so that they will fit into my blog template (the {} are just variable names):

<img src="{my_image_url}" width="{resized_width}" height="{resized_height}"

instead of:

<img src="{my_image_url}" width="{true_width}" height="{true_height}"

My question is:

If I allow Google Images to index these images (right now, the Google bot is blocked from indexing them), what dimension/pixel sizes will Google be indexing? Will Google index the images to be the original sizes or the resized sizes?

I ask because Google prioritizes images by size, so that the "larger" size images are prioritized over "smaller" size images. Obviously, I am at a disadvantage if my images are indexed with the smaller "resized" width and height instead of the larger "original" width and height.

Anyone have the same experience with this dilemma? What about Bing and Yahoo searches? Do they handle indexing the same as Google with respect to the sizes of images?

[edited by: tedster at 3:05 pm (utc) on Dec. 23, 2009]


8:52 pm on Dec 23, 2009 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Google takes the pixel size directly from the image file itself, not from the HTML code. I've seen numerous examples of this. And since the file itself hold the pixel size data anyway, that seems to be the most direct way of creating an image search function to me, anyway.


11:09 pm on Dec 23, 2009 (gmt 0)

5+ Year Member

Thanks, Tedster. That was very helpful.

Featured Threads

Hot Threads This Week

Hot Threads This Month