What is image SEO ?
When people deal with images Search Engine Optimization (SEO) they only pick the low hanging-fruits aka loading-time optimization and alternative texts. Image SEO is discipline and goes way beyond that.
Image SEO impacts the way your images are ranked in Google images but not only. It also affects your organic research potential as a whole: optimizing your images for Search engines will positively impact your page ranking.
This guide will provide you all the tips and information you need to know to perfectly optimize your images for SEO.
User experience should be at the core of your image SEO Strategy
On the one hand, if you fill image HTML attributes properly you strengthen your page semantic and help Search Engines understand your content.
On the other hand, image optimization can improve your loading-time and your user experience: there is no good article without any good images.
In this guide I will make a wide sweep of what you need to know to make the most of your images for search engines, but also for your users. Google SEO starter guide is very clear on that!
All the tips and hacks I will mention in the guide are somehow aimed at improving SEO AND User experience.
Why is optimizing images for Search Engines so important ?
Image SEO matters
Facts don’t lie: the marketing and SEO power of images is insane. SO insane!
Before creating our plugin WordPress for Image SEO, I combed through each relevant SEO and Marketing studies about the impact of images on Search Engines and customer behaviors. Here is a summary of what I discovered:
Impact of Image optimization for Search Engines
- Image search represents about 30 % of all queries generated across the top 10 US web search properties (Source Moz);
- More than 1/3 of all search keywords now contain Google Images and one out of two, when images are in the 10 first results, they are actually ranking in the top 3 positions (source SeoClarity);
- Every day more than one 1 billion of queries are made in Google Images (Source Google);
- There are more than 600 million searches on Pinterest every single month (source Pinterest);
- Images are returned by Google for 34% of search results (source Econsultancy);
- Tweets with images receive 150 percent more retweets (source crazy eggs);
Increase your conversion with optimized images
- Content with optimized images increases user engagement by 90% (source Buffer);
- Tweets with images receive 150 percent more retweets (source crazy eggs);
- On average, people forget about 90% of information 72 hours after being expo to it. Adding a nice picture can improve recall up to 65% (source MGAdvertising);
- About 70% of customers say that the quality of images on product sheet is a determining point in selecting and purchasing the product;
- When using images, Pinterest ads have an amazing 8.5% conversion rate (source Heap Analytics);
- etc, etc, etc.
This means that optimizing your images will increase both your organic traffic (SEO optimization) and sales (UX Optimization).
Image SEO optimizing HTML Attributes for Search Engines
In this chapter I’ll go through all the HTML attributes that matter for image SEO aka:
1. Image name
2. Alt Text attribute
3. Title text attribute
Ok it’s not my car, but anyway!
I will use the same photo to tackle each image HTML attribute and help you understanding the differences between them.
I’m sure you have already asked yourself what was the difference between alt tag and title tag, haven’t you ?
Pay attention to your image names
How to name Images for SEO?
Let’s start with the most obvious and the easiest: the image name. SEO is all about helping search engine robots and crawlers understanding your content and how your users interact with it. Your image name should reflect that.
“ Image names and alt texts are best when they’re short, but descriptive. ”
This quote comes from Matt Cutts who has been working for Google since January 2000. Image names should therefore be a combination of a few relevant keywords.
SEO Tip: best length for image names
Your image name has to be short but descriptive. According to the data we have processed since the creation of our tool, images that are performing the most have a length of about 12 characters.
We advise you to keep your image length between 8 and 16 characters. No more, no less. This length corresponds to 2 or 3 keywords. It’s enough to help Google understanding your photos and it will prevent you from doing keywords stuffing.
Avoiding keyword stuffing in image SEO
Ever since Google has been dominating the Search engines market, keywords stuffing has become irrelevant or worse: Google is now penalizing more and more websites using keyword stuffing and black hat SEO skills.
Don’t try to trick Google!
We strongly advise you to apply our guidelines and best practices when it comes to filling out image HTML attributes for SEO.
You can use tricks such as filling your alternative texts or names with what’s in your page title, but at your own risk.
How to write optimized alternative texts for SEO?
People often struggle to understand how to write optimized alternative texts because they don’t understand what is an alternative text and what are they used for.
What is an alternative text?
Let’s first clear the air about the terminology: Alternative text, ALT text, ALT Tag, ALT attribute, ALT are exactly the same thing. Period.
Although the most correct term is “alternative text attribute” they all refer to the same thing: a textual alternative to the image. ALT Texts should describe what’s on an image (= the content) and the function of this image on the page.
Each time that an image has a purpose on your page, it should have an alternative text.
What are alternative texts used for?
Alt texts serve three functions.
- Accessibility : visually impaired or blind users using screen readers will be read the content of the alt text, allowing the image to be accessible to those with visual disabilities.
- Back-up : ALT tags are displayed in place of the image in browsers when the file cannot be not loaded.
- SEO : It helps search engines to determine the content of the image and improve the semantic meaning of your page. That’s why image SEO is important to rank well in Google Image but will also have a positive impact in your whole search engines optimization.
How to write a perfectly optimized alt text?
Alt texts should be built on two pillars : Content and Function. Your alts must describe your images (= content) and explain why you use them for (= function).
The context of your page should be the logical link between the content and the function of your image.
What is the best alt text for this picture?
- “Car on a parking”
- “black Tesla carrying with electricity on a parking”
- “picture of a black Tesla parked”
The best alternative to the image in this situation is “black Tesla carrying with electricity on a parking”.
Why ? Because it gives just the right amount of information to someone with visual disabilities to understand what this picture is about.
Alternative texts can (and should) be longer than your alternative texts. There are not rules about it: Try to write the fewest keywords possible to describe the picture to someone that cannot see it.
The 3 commands of the alt text
- Be short but descriptive (remember?)
- Be innovative and avoid keyword stuffing and don’t provide the same information as text within the context of the image.
- Don’t use terms such as “image of ” or “picture of …” to describe the image.
What about decorative images?
You don’t need to add an alternative text on decorative images. You can let them blank of add a null alt tag: <img alt=””>.
The truth about Title text
We saw several WordPress plugins offering automatic title tags generation for SEO: TITLE TAG DOESN’T MATTER FOR SEO. They are not indexed by Search Engines. Period. This being said, title texts are not totally useless.
What is a title text and what are they used for?
Title texts are displayed when user mouseover a picture or a photo. It can be nice for user experience. We recommend you not to spend much time on title text optimization. They are not important for SEO.
The SEO power of figure and figcaption
Figure and figcaption are probably the most underestimated SEO and marketing weapons. Users focus 60% more on figcaption texts than on the paragraphs that surround the pictures. That’s insane.
Figure and figcaption: definition and structure
The figure element represents a unit of content, optionally with a caption, that is self-contained, that is typically referenced as a single unit from the main flow of the document, and that can be moved away from the main flow of the document without affecting the document’s meaning.Source W3C : HTML: The Markup Language (an HTML language reference)
Figcaption texts have to be written within a figure element.
The figcaption element represents a caption or legend for a figure.Source W3C
Why are figure and figcaption SO important for SEO ?
What I will say for figcaption is also true for the paragraphs surrounding your pictures and photographies.
For Search Engines, the content that surround your images is more likely to be in connection with it. It’s therefore important to use the keywords you are targeting in the figcaption or just before or just after the images.
Figcaption is the cherry on the cake
As I said before, people clearly pay more attention to the caption. You have to use this opportunity to emphasize your keywords, your call to action or your best selling arguments. It can also be humor.
The results of the tests I did are crystal clear : images with figcaption rank better when they are surrounded by an optimized legend.
How to make the most of figcaption
Image names have to be short; alternative texts (alt) have to be descriptive, title texts can be left blank but figcaptions have to be catchy.
Use, in one sentence, your best punchline, if possible using optimized keywords for SEO, but think about UX first.
In this exemple I optimized UX first with a (poor) joke, but I also optimized SEO using keywords such “car”, “electricity”, “refill” and Tesla.
How to optimize your HTML attributes on WordPress
Without plugins, Image SEO optimization on WordPress is a pain in the ass. For instance, you can’t rename your images after you uploaded them. Hopefully, we’ve developed a SEO plugin using artificial intelligence to help people to deal with this issue.
Image SEO Plugin WordPress
Image SEO Plugin uses AI to automatically fill out alt texts and rewrite image names. You can optimize your images on upload or bulk your entire Library.
Image SEO plugin is an amazing time saver.
There is a freemium version of it for occasional bloggers (10 image optimizations every month). Otherwise, you can subscribe a monthly plan starting from 4,99€ or purchase pack of images.
Image SEO optimization : think about your users !
Images are the best asset for user experience because they make your page useful and attractive. However, Images might also be your worst nightmare because they increase your page loading-time. They can also break your web design or carry out the wrong message.
It means that you should not over use images. It also means that you have to be really picky when it comes to image or photography selection.
In this section of the guide I will use the advices of professional photographers to help you choose your images.
How to chose your images ?
Customers like original and new content. There are more likely to close a web page carrying out an information or a product that they have already seen somewhere else. Yet, what is the first thing users eyes get when they lend on a page? Its primary picture. Maybe the title.
It means that the first image of your page has to be catchy and original. This is essential and can significantly decrease your page bounce rate.
Let’s imagine that your page is a Tinder profile: you have to use YOUR best picture first if you want girls or guys to keep scrolling your profile. It should be just the same for a web page: use YOUR best image first if you want people to keep scrolling down.
I really insist on this point: to be optimized, the first picture of your page should be unique. People don’t like fake or duplicate content, neither does Google.
Unique images are indeed more likely to rank higher in the search results and that’s where you want your images to be right?
Adapt your image format for SEO
PNG or JPEG for SEO ?
I spent a lot of time on Reddit and Quorum before writing this guide to understand what people were asking about images SEO optimization. ” It is better to use png or jpeg for SEO ? ” was a top 5 question.
Sadly, there is no good answer to that question: the format should always be adapted to the picture.
Best Practices for JPEG or JPG SEO
JPEG (Joint Photographic Experts Group) is the most common image format on the internet. You should use for images where the quality matters (photography, product sheet, etc).
JPEG files can be compressed tremendously, which lead in quality images with relatively small file sizes. When you use a JPEG, you should aways compress it.
Spoiler: WebP are better than JPEG for SEO.
Best Practices for PNG SEO
PNG (Portable Network Graphics) was created to replace GIF. PNG pictures have a better quality and size than GIF. PNG files supports transparency making them really useful for graphics or icons.
You should not use PNG for pictures or photography because the ration quality / size is much better with JPEG.
Best Practices for GIF SEO
In 2020, the only reason justifying the use of GIF on the internet is simple art and animations.
Best Practices for SVG SEO
SVG (Scalable Vector Graphics) is a kick-ass format for SEO for two reasons : it’s light and it’s responsive. They are also awesome on retina screen.
SVG images and their behaviors are defined in XML text files which means that they can be created and edited with any text editor. You should try to use SVG images as often as possible to for your SEO optimization.
How to create an SVG ?
Not every image can be converted in SVG. To get your SVG file you need to download Adobe Illustrator or use an image online converter. Be careful with the SVG file or code that you find on internet. They might open carry a security breach for your website.
Best Practices for WebP SEO
Like JPEG or PNG, WebP is a method of lossy compression that can be used for photographies or images. A comparative study made by Google recently demonstrated that WebP files achieve an average of 30 % more compression than JPEG without loss of image quality.
You should thus prioritize the use of WebP over JPEG or JPEG. It will positively impact your loading time. Also, note that WebP format has been developed by Google and it’s no secret that Google tends to favor its own products.
How to covert a photo in WebP?
All information is available on Google website. Note that you will need to be comfortable with writing command in the terminal of your exploitation system. It’s not rocket science but if you experience trouble, shoot me a message at email@example.com and I’ll write an article about it. You can use also use an image online converter (see above) or a plugin like Imagify.
Recap about image optimization format for SEO
|Image Format||SEO Recommendations|
|JPG / JPEG||Prioritize the use of WebP.|
|PNG||Only use PNG when you need the transparency or for really small images.|
|GIF||Only use GIF when you need to animate an image.|
|SVG||Use SVG as often as possible but don’t download SVG from websites you don’t trust.|
|WebP||You should always try to use WebP over other formats when you are not restricted by transparency or animation.|
WebP format is a relevant endeavor for image SEO.
EXIF metadata impacts image SEO
EXIF metadata is used by cameras to store information in photographie, during image compression. They embed data such as date, time, camera model and settings, geolocation, etc. They are sometimes used by the police to find out where a picture was taken. They are useful for Google algorithms because they carry out specific data about your picture.
” It is something that Google is able to parse out and I think we do reserve the right to use it in ranking ! “
EXIF data optimization shouldn’t be your priority when you are optimizing your image SEO. You need to focus first on image names, alternative texts and compression.
This being said, it’s really worth to spend time optimizing the EXIF Data of a few pictures. It might be the ranking factor that will allow you to overtake your competitors.
To edit and optimize your EXIF data for SEO you only need GIMP, but you can also do it with Adobe Photoshop or Adobe Lightroom.
The path is : Image > Metadata > Edit Metadata.
Then, select the empty fields you want to update and click on “Write Metadata”.
Only add relevant data such as 2 or 3 keywords (no more), author and location, especially if your image concerns a local business.
IPTC / EXIF data might be extremely relevant for local business SEO.
Don’t forget to tick the three boxes Exif data, XMP data & IPTC data when you export your image.
Where to find good pictures for SEO ?
When I don’t take the pictures myself (remember what I said about the importance of the originality criteria for image SEO optimization) I get them on two sites dedicated to free sharing stock photography: UnSplash and Pixabay. They have a lot of amazing pictures free of rights.
Optimize your images and pages loading time for SEO
Website speed is an important ranking factor
If you have read this far in the guide you know that page loading-time can dramatically impact your ranking position in the SERPs. If you don’t optimize them, images can consequently have a negative impact on your SEO because of their size.
Google said that site speed is one of the most important factor used by its algorithm to rank websites. Pages with long loading time are also bad for user experience. This might have substantial consequences: lowering your bounce rate, leading to negative reviews, reducing your conversion, etc.
Use responsive images
One of the most common mistakes about image SEO is when you upload a large image, then display it really small. In this situation the large image is always uploaded. It’s therefor important for you to take the time to resize images the way you want to it displayed.
Note that WordPress automatically provides images in multiple sizes and responsive images after upload. If you are not using WordPress, you have to do it yourself with GIMP, Sketch, Photoshop or Illustrator.
Set up srcset attribute on your images
Once you have created your image in several sizes, you need to add a srcset attribute on it. This will allow browsers to select the appropriate file source for every device.
You can define the size by the image width (w) or by the image density (x). Don’t mix both like in our example. I only did it to show you the structure.
There is no evidence that you should use one over the other but since I’m a control freak, I’d recommend you to use width over density. Width is less likely to break your design or anything.
SEO trick : Lazy load your images
Lazy loading your images won’t prevent them from being indexed by Google robots. It’s a quick win for SEO and UX. However, be careful: you should not lazy load all your images. Only the one that are not critical.
If you are using WordPress, there is an excellent speed optimization plugin named WP-Rocket can implement Lazy-Loading on images for you.
Image compression : Reduce your files’ size
Image compression is the low hanging fruit of image SEO optimization: you have to grab it. It will boost your page performance and improve your user experience.
You should never be afraid of compressing your images: most of the time the user cannot see the quality lost.
Image compression how it works ?
Lossless or lossy compression?
There are two main techniques for image compression: Lossless compression and lossy compression.
- Lossless image compression: the image quality remains largely the same;
- Lossy image compression: some loss of quality occur, even tough, it’s almost never perceptible for the human eyes.
I mentioned before the importance of EXIT and metadata for SEO. The lossless image compression method is almost only about getting rid of these metadata. That’s why I said that you should only optimize EXIF data for your most important images.
In the lossy image compression method does not decompress digital data back to 100% of the original. It means that when you use lossy compression, your image will lose some pixels and therefore some quality.
At this point, you are probably asking yourself: should I use a lossy or a lossless image compression for my images? Most of the SEO Guides and Blogs speaking about images optimization say that it’s all about finding a good compromise between file size and image quality. This is true, but not completely.
SEO is all about finding a good compromises but when it comes to images compression we can trick the human eyes and that’s why you should prioritize compression over quality. To some extent of course.
Image compression tools and plugins
You can compress your images with many softwares (GIMP, Photoshop, Illustrator, etc) or online compression services such as Image Optim.
If you are using WordPress, I recommend you to use Imagify because:
- it offers the possibility to remove (or not) EXIF data;
- Setting options are cool;
- It can convert your JPEG in WebP;
- The image compression results are totally satisfying.
If you don’t like Imagify, Smush is an excellent alternative for images compression and optimization on WordPress.
Help Google index your content with images sitemaps
In order for your site’s images to be included in the SERP, they need to be included in the Google index. The indexing of your images by Google is determined by algorithms, but you can influence the process and help Search Engines by creating an images sitemaps.
What is an image sitemap ?
A sitemap is a XML file where you provide information about the pages, videos, and images on your site, and the relationships between them. It helps Search Engines crawl your website.
If your internal linking is optimized and your site small, you shouldn’t need sitemaps. However, as soon as your sites become large, crawlers can overlook your content and skip some part of it. That’s why sitemaps and images sitemaps are important for SEO: they can guarantee that all your content is indexed by Google.
How to write an image sitemap ?
You can use a separate sitemap to list images, or you can add image information to an existing sitemap. This example shows a sitemap entry for the page http://imagesitemap.com/page.html, which contains three images.
When your images sitemaps are ready, don’t forget to send them to Google using the Search Console Sitemaps Tool. For all the other Search Engines, add the following line of code in your robots.txt file:
What are the best plugin for image sitemap ?
All the major SEO Plugins available on WordPress have an images sitemaps creation function. I recommend to use SEOPress over Yoast and RankMath.
Why ? Because I have been working with people from SEOPress in the past and their support is really reactive.
Thoughts and conclusion on Image SEO optimization
I have been working daily on Images SEO over the last 10 months and if I had just one additional comment to make it would be: the future of the web is visual. You should really pay attention to image SEO because the return on investment on image SEO actions is crazy good.
We are coming to the end of this guide on image SEO optimization. If you have a question or a comment, feel free to shoot me a message on Twitter !