Search Engine Optimization for Images
Search Engine Optimization or SEO is a phrase that is far overused in my line of work. However there are some simple conventions you can follow to improve who finds your images on which keywords. I will in this post compile a simple list of things about what I've learned on optimizing your images, not only for search engines, but so the humans who use them find content that is valuable to them. So let's see how we can get some search engine optimization on our images.
TLDR;Too long? Don't want to read? SHAME on you!
- include images
- name the file like apple-pie-at-burning-man-2013.jpg
- use dashes instead of underscores in file names
- use alt attributes
Include Images in Your PostsAs you can see, the search engine hits I get for images is quite a portion of my traffic.
To have something to optimize, we need to make sure that we include images in the first place. This is not a guide only for photographers and designers that show off their visual content, but for anyone who can add a picture, even if it's only for giving the reader a faster and better impression of what the post they are about to read is going to be about.
I usually, unless it's a very nerdy topic for people who read code all day, include a picture. Even then I know I should.
We are visual creatures, respect this curse or blessing of our species when planning, creating and publishing your content.
Make Your Images Meaningful to Search EnginesFor the ones of you who have a brief knowledge of HTML, it's not a surprise that you should include an
alt attribute on the pictures you post. I typically set that equal to the file name, because I name every picture I upload so it represents the content of the picture.
Name Your ImagesDon't let your images have their default names when you take them yourself. Names like DSC_0001.JPG are not going to get you found. If you have a picture of a great kissing couple in Paris on the first of August, call your picture something like:
couple-kissing-paris-august-1st-2014.jpg. This way you're much more likely to actually be found with keywords that occur in the filename.
My 5 most Found ImagesAccording to the Google Webmaster Tools the 5 keywords in the image search are the following:
- when was the last time you did something for the first time
- git cheat sheet
If an image occurs multiple times or if the same portion of the filename led to different pages on your site, you will be given an overview of those on a page that looks a like this:
Each of these keywords has lead to one of articles on this blog, listed below, sorted by keyword:
I blogged about setting up a RaspberryPI with Debian/Raspbian and also how to install the OS on the USB-Stick, not only the SD card. The photos show my own RaspberryPI and are taken with my camera, in my class room when I was blogging, when I should have been studying :).file names:
I've been blogging about my favourite git server and web system a lot, so I have a couple of pictures named after it and multiple articles where it's mentioned. The pictures are, apart from the logo, which actually one of the authors sent my by email upon request (they're super nice!), original content mixed with screenshots of the GitLab web interface. By original content I mean that I'm showing how I'm using it.file names:
keyword: when was the last time you did something for the first timeI blogged about a nice campaign website by Eastpak, the picture is simply a screen grab of their website. Of course I made an effort to capture a good moment of an infinitely looped slow motion video. file names:
keyword: git cheat sheet
Git can be hard and I've found a great cheat sheet that explains how the different layers of git work together and again, took a screenshot of the website, so that my readers could get a better impression of it right from the start.file names:
keyword: codeigniterCodeIgniter has for long been my favourite PHP MVC framework. Now it seems that it sadly has been abandoned by EllisLab or at least will no longer be the foundation of Expression Engine. Again, screen file names:
SummaryImages can help us remember, make us understand faster and looking at how much everyone loves info graphics, avatars and the like, I think I don't need to include all kinds of scientific studies supporting that.
I hope you enjoyed this post and the insight on how I get some of my traffic. How do you use images on your sites and how much do you enjoy the use of pictures on other sites?