Loading...

SEO Tips for Image Optimization and Increasing Ranking in Google Image Search

Manuel C. Published on 24 July, 2012

I've setup a small case study to try and understand how Google ranks images in its Image Search.

Yes, many say that this has already been done before me, but I wanted to put my spare time to good use. And yes, well established SEO image optimization tips are still working and the basics should be always covered in order to get traffic via Google Image Search.

In my small test I searched for : flowers, computers. pc games, dresses, cars, insurance, fast food, bread, books, travel, ice cream, bycicles.

I looked at the usage of the keywords in : domain name, image filename, alt attribute, URL, title tag, heading, content. Before searching for English keywords I started this test with only a couple of Romanian keywords and took the time to search for page and domain authority (via Open Site Explorer) and for citation and trust flow (Majestic SEO), before I got bored to death. But it was still fun.

What I found out is that page and domain authority do not count so much when ranking images in Google Image Search, but more important was the use of keywords and type of search query.

See the image below for the search query "computers":
Images seo optimization tips - Search for Computers in Google Image Search - images have keyword in the filename

What I observed here and in the other searches was that the keyword in filename matters a LOT. If you ever thought of using filenames like img001.jpg you should start doing some searches on Google Images. And that was just a quick thought.

The theory about SEO image optimization

Image optimization for search means that you need to take care of several things before hitting publish or putting those products out there:


  • use image files accepted by Google: gif, png, jpeg, swg, webp, svg, bmp. Details here.

  • use keywords in the filenames

  • use keywords in alt attribute of the images

  • prepare the context: use keywords in page URL, title tag, h1 heading, in the anchor text of links that point to the image, and content

Why should you care about optimizing your images and preparing the context? When customers look for products they might look in Google Images to see how your product looks like. If you show up in the first line or first page in there then you receive some very well deserved visits and those customers might buy from you.

In ecommerce anything that can be optimized HAS to be optimized, so extra care is never too much.

Sometimes those images will be shown in the WebSearch like in the case of "dresses":
SEO image optimization tips - dresses showing in Google Web Search

Some real world observations and a word about type of queries

Shari Thurow speaks about type of queries in her book When Search Meets Web Usability and why it is so important to make distinctions in the way people search on the web.

She mentions three types of queries that will output different search results depending on how Google interprets them:


  • navigational - the searcher wants to go to a certain website

  • informational - the searcher wants to find out more about a product, event

  • transactional - the searcher wants to buy something/ to subscribe to a website/ to fill in a form

Why are these important? Because even in Google Image Search you will be presented with slightly different results than you would expect. Searching for "computers" I got a first result from Wikipedia meaning that Google determined that I want to know more about this subject (an informational query).

Searching for "dresses" brought me to an ecommerce website. In this case Google determined that I want to buy a dress (informational + transactional query), which normally would be the case if someone would type in that query.

I wanted to mention these facts because if you obey the basic image optimization rules you would expect certain websites to be in the first row in Google Image Search. If this is not the case then you know why.

What I found out "playing" around with these search queries is this that if you rule out the type of search queries, Google's use of synonims/related results (searching for computer Google will show results for pc or notebooks) and the use of keywords in URL, title tag, h1 heading, and content you cam summarize image ranking to these few sentences:


  1. exact match keyword domain + keyword in filename + keyword in alt attribute = ranks best

  2. exact match keyword domain + keyword in the filename (but no alt) = still ranks best

  3. keyword in domain + keyword in filename + keyword in alt attribute = ranks good

  4. keyword in domain + alt attribute (but no keyword in filename) = ranks good

  5. random domain + keyword in filename + keyword alt attribute = ranks good

  6. random domain + keyword in filename = somewhat good

  7. random domain + keyword in alt attribute = somewhat good


At this point I need to point out that these conclusions are based on a small batch of searches, but I expect this to be the same for singular vs plural searches and for single work keywords vs multiple words keywords (long tail).

Conclusions regarding image optimization

While there are MANY factors that will lead to an image to be ranked well in Google Image Search you need to look at these SEO tips:


  • if you sell pictures/images/paintings/drawings make sure you take a domain name with the main keyword in it. Example: Billyspaintings.com

  • whatever you sell use images in the pages and make sure to use keywords in filenames and in alt attribute

  • do not forget about context: use keywords in title tag, h1 heading and content. Less important in URL, but that would be okay too. Also, use keywords in the meta description. This last one is not for ranking, but to increase CTR- click through rate- makes people click on the link.

  • if you somehow forget (or are too lazy) about alt attribute, make sure the image filename is descriptive, not somethimg like DSC0001.jpg

  • although Google can find a given keyword in filenames like "blahblahkeyword.jpg" or "blah_blah_keyword.jpg" make its job easier by using hyphens (dashes): blah-blah-keyword.jpg

And yes, we haven't talked about image size, quality, type (photo, drawing and so on). Let's keep it simple and make sure we cover the basics from this post. I hope you like my little experiment and that these SEO tips for image optimization have shed some light on how Google ranks images in Image Search.

Manuel C. Published on 24 July, 2012