A Guide to Everything Image SEO: The Basics, Best Practices, and Strategies

All You Need to Know About Image SEO

Images are one of the most important aspects of any page. Aside from contributing to the overall aesthetic of the page, it also allows users to have a visual representation of the content they’re reading. Aside from that, images are also used in pages with minimal content like a website’s homepage. Suffice it to say, it is one of the most integral parts of a page – especially a well-designed one. So, this necessitates that search engines give a certain degree of importance for images which is why it’s important for SEOs and webmasters to optimize their images to take advantage of every opportunity.

From ranking in Google image search to your image being used in featured snippets, having optimized images allows us to tap into opportunities that can help us skyrocket our search performance. Here’s everything you need to know about image SEO:

What is Image SEO?

Image SEO is the act of optimizing your images to make them rank better in image search engines and to improve the quality of the image for the benefit of your audience. This act involves using the correct image title attribute, alternative text, and even the quality (size, resolution, etc). 

As mentioned, images are an integral part of improving any page. It allows visual representation of your content, allows a short respite from text-heavy pages, and even providing more context for product pages. Optimizing images for SEO will not only help you improve the experience that users have inside your pages but will also help you reach new opportunities through ranking highly in image search.

Image Alt Text Optimization

The image alt text is supposed to describe what the image is about so that when you search in the image SERP (Search Engine Results Page) of various search engines. So just put in the perfect description of the image. But you can take the optimization further by incorporating relevant keywords in your image alt text so you can rank well for those keywords in image search.

How Do You Use Image Alt Text?

When you look at the image HTML code, it looks something like this:

<img src =”https://sample-image-url.com” alt=”this is where you put the alt text”/>

It’s not rocket science at all. And I highly recommend putting alt texts in all your images. It might not help much in ranking for the main Web SERP but it will surely help you in ranking for the image SERP.

Image Title Attribute Optimization

When a user mouses over an image that they perhaps do not understand, an image title will help the person know what you are trying to say with that image by adding an image title. An image title allows a tool-tip-text to pop out whenever a mouse-over is done to the image.

An image title is not meant for you to stuff up keywords inside your image. Instead, it is meant for you to help people understand why you put the image there, what’s it for and what it says. The way it affects search engines should not be made a focus even if it affects your image rankings a bit.

How Do You Use An Image Title Attribute?

When you look at the image HTML code, it looks something like this:

<img src=”https://sample-url-here.com” alt =”sample alt text here” title=”sample title text here”/>

Is the Image Filename Important?

This is a question that has bothered a lot of SEO specialists. Does the filename of the image itself affect the rankings of the image in the SERP?

I could only say my personal opinion and observation. And thus far, I am driven to say yes.

An image filename does affect the ranking of the image in the SERP. That is why all the images I use here in SEO Hacker does not come from an external source – because even if I can edit the alternate text and title when it comes from an external source, I cannot edit the image file name unless I download and save it with my desired image file name.

I would advise that before you upload any image, change the filename first into the best description possible for that certain, specific image that you have. We want to rank. And we want to make every possible factor count in order for us to get to the top.

Image SEO Best Practices

When Image SEO is mentioned, most would think about alt text and that’s it. Well, I hate to break it to you, but there is more to image SEO than just alt texts. 

Take note that SEO is not just the 10 regular links you see in the search results. There are also videos, news, shopping, and of course, images. By not optimizing images on your website, you are wasting so many opportunities that could bring your website more traffic, backlinks, and give users a better experience.

In this post, I will break down all the best practices that you must follow for image SEO.

1. Use Original Images

If you’re using a stock photo on your article guess what, a lot of people are probably using it too! That’s the reason why I put this so high on the list because if you’re using stock photos most of the time, you’ll only be wasting time doing the rest of the best practices for images on this list.

If you’re optimizing for image SEO, you would want your image to appear at the top of the Google image results. If you’re using a stock photo, you can’t expect to outrank the website that hosts the stock photo that you used.

Invest some time to take original photos of your products or service in action. Not only will this give you more assets for image SEO but also would provide your users with a good experience.  

2. Choosing the Image Format

There are so many image types to choose from but the most common ones used for websites are JPG and PNG – both of them have their own pros and cons.

A JPG image has a lower file size but the quality is compromised. When you convert an image to JPG, some of the information in the photo is permanently deleted allowing for lower file size. On the other hand, PNG images have higher quality but the file size is much bigger as well.

If you compare them side by side, you really can’t tell the difference between a PNG and a JPG image. So which of the two should you choose?

There’s actually no right answer here. It all depends on your needs. JPG is most commonly used for photos that have large file sizes such as photos from professional cameras. PNG is commonly used for graphics and screenshots.

Personally, I prefer using JPG most of the time because I choose to prioritize loading speeds.

Now if you really want to put in the extra work, you might as well use next-gen image formats: JPEG 2000, JPEG XR, and WebP. These new image formats have much higher quality and better compression. However, not all browsers support these new formats. For example, the latest versions of Chrome and Firefox support WebP but are not able to support JPEG 2000 and JPEG XR. Currently, WebP is the format that is supported by the latest versions of most popular browsers. You can convert images to WebP by going to WebP Converter. Now is really a good time to test these new formats and see how well they perform on your website so you can be prepared for the future.

3. Optimize Image File Name

The image file name is often omitted by many thinking that alt text is the only thing used by Google to understand what an image is about. But in fact, the file name is crucial too and it is one of the first things Google looks at.

Here’s a photo of me of the time I spoke for Tedx here in Manila. Would it be better to leave the image file name as DCIM202054512.jpg or sean-si-tedx-talk. – the answer is pretty clear, right? 

Sean Si Tedx Talk

Optimizing the image file name is simple and it works similar to how you would optimize an alt text of an image but a shorter one. Just make sure that the file name of the image clearly defines what is in the photo.

4. Optimize Image Alt Text

The alt text (alternative text) of an image is used by browsers to provide context to users of what an image is about if it cannot properly load it. This is also used by search engines to better understand an image and is an important on-page SEO factor.

Optimizing the alt text of an image means providing a clear description of what the image is. You should also add your target keyword here to better optimize it for rankings as long as it fits the context of an image.

For example, here’s a photo of a condominium for sale in Makati City in the Philippines:

condominium for sale in Makati City in the Philippines

A good alt text that clearly describes the photo and is also optimized for SEO would be “proscenium rockwell sakura tower condominium for sale makati city”. It includes the location of the condominium showed in the image as well as the target keyword which is “condominium for sale makati city”.

5. Provide Context around your Images

Though the image file name and its alt text are used by Google to understand what an image is about, those are not the only things Google looks at. In 2018, Google updated Google images to show not only the URL of the image source but also the page title of the image source to give users more context about the image.

golden-retriever-google-images

To get this data, Google gets various information from the webpage such as the title tag and meta tags to help it understand what an image is all about and serve users the most relevant images to their search.

6. Add Dimensions

When inserting an image to a page, it is always a good practice to set the width and height of the image. Without a dimension, a browser will not be able to allot a space for it during page load. As a result, some elements of the page may move around from their original places.

This causes a poor score for Cumulative Layout Shift (CLS) which is one of the three metrics in Core Web Vitals. I would also recommend avoiding the use of CSS to style images into a page and just set the dimensions through HTML. You could also just set the width and the browser will automatically calculate the height.

7. Compress your Images

Images carry a lot of weight during page load. Large image file sizes can result in poor loading speeds. That is why it is recommended that you compress your images that could trim off a good chunk of image file sizes. Yes, quality may be reduced but not to a point that is noticeable for average users.

Check out this photo of our team here at SEO Hacker. The first one is the original photo (552kb) while the second one is the compressed photo (442kb 20% compressed).

SEO Hacker Team

SEO Hacker Team photo compressed

See the difference? That’s right. There is no difference between the images but there is a difference in page loading speeds.

You could use Google’s PageSpeed Insights to compare the loading performance of webpages with compressed and uncompressed images. PageSpeed Insights can also help you identify which images on the webpage are taking too long to load.

There are a lot of free image compressor tools that are available online. You could also take a look at Imagemin which is recommended by Google because it can compress a wide variety of image format. I highly recommend that you compress your images before uploading them to your website. 

But how about images that are existing on your website? Do you have to re-upload all of them? Don’t worry. If you’re using WordPress, you could download plugins that can automatically compress all images on your website. We recommend using WP Smush.

8. Add Structured Data

Marking up your pages with structured data can make your images eligible for rich results and badges that could make your images more visually appealing in the search results and attract more clicks. Currently, only three structured data types for images are accepted by Google. I’ve also included a link to Google’s guidelines that you should follow.

Take note that structured data for images is just like regular search results. It doesn’t affect rankings directly but it could increase your click-through rate. 

9. Use an Image Sitemap

XML sitemaps help Google crawl the pages of your website. They usually include URLs only but you could also add images in your XML sitemap or create a separate image sitemap and submit it to Google.

Google automatically crawls images inside posts and pages but there are situations where Google is unable to find images. Creating a separate image sitemap is optional but Google’s bot is more than happy to use it if it’s available.

You could create an image sitemap on your own if you are knowledgeable in web development but if not, I highly recommend that you use image sitemap generators to skip the hassle.

10. Use an Image CDN

An image CDN is a great investment if you want to really boost the loading speed of your website. In general, a CDN or content delivery network distributes your website content/resources to the nearest possible data center location of a user. The closer a server is to a user, the faster a webpage load.

There are quite a few differences between a regular CDN and an image CDN. Not only does image CDN’s improve the delivery times of images but also define other factors such as image format, file size, aspect ratio, and quality.

Using an image CDN can cost you some money but it is definitely recommended for large websites especially those with an international user base.

Image SEO Key Takeaway

Always remember that images are also valuable to SEO and ignoring them would be a waste of opportunity. Just like any strategy in SEO, image SEO takes a lot of time and really it’s all about the small details that matter. Successfully optimizing your images for image SEO could bring substantial traffic to your website and attract backlinks. You could use this strategy to further improve other facets of your SEO campaign. Got any questions about Image SEO? Ask them in the comments down below and let me help you out!

 

Share on:
Sean Si

About Sean

is a Filipino motivational speaker and a Leadership Speaker in the Philippines. He is the head honcho and editor-in-chief of SEO Hacker. He does SEO Services for companies in the Philippines and Abroad. Connect with him at Facebook, LinkedIn or Twitter. Check out his new project, Aquascape Philippines.