Rank Math PRO Launch Offer is expiring! Buy Now!

  1. Home
  2. Knowledge Base
  3. Image SEO in Rank Math

Image SEO in Rank Math

In this article, we are going to talk about Image SEO in Rank Math.

Optimizing your images has many benefits. With the right information, Google can interpret your images better and show them in the right places in the search results. Image search is also a huge deal, and it is obvious that properly optimized images will tend to rank better in search as well.

With so many benefits, image optimization is still underutilized. That is because many SEO tools do a less-than-ideal job when it comes to image optimization. But, not Rank Math. Rank Math offers some of the best image optimization features and options currently available for WordPress. And, in this article, we are going to talk all about them.

Rank Math vs. Rank Math Pro

Rank Math is free to use, now and forever. For professionals and people who want to make serious SEO progress on their website, we introduced Rank Math Pro. Some of the features we are going to talk about will be available in the free version of Rank Math, while some are reserved for Rank Math Pro. We will highlight those features prominently while we’re discussing them.

Finding Image SEO Settings

To find the Image optimization settings in Rank Math, head over to General Settings > Images from the Rank Math menu.

Finding Image Seo Settings In Rank Math

Inside, you’ll find all the settings you can optimize for images. Here is the complete list of features that you will find there.

All Image Seo Options In Rank Math

As you can see, there are a lot of settings to talk about. Let us discuss them one by one and what you can do with them.

Understanding Variables

In the options/settings that follow, you will see a lot of use of variables, which will typically look like %this%. These are merely containers that can fetch information from a particular page, post, and in this case, images. Variables are a core of how Rank Math makes SEO optimizations quick, easy, and efficient, and even when working with images, it makes optimizing lots of images blazing fast.

There are several variables available, and you don’t have to memorize their names. A handy list is available inside Rank Math, and the role of each variable is explained well even when it is self-explanatory. When you refer to variables in this article, most of the time, it should be clear what the variable would do. If it is not, then you can easily look that variable up from Rank Math.

Add Missing ALT Attributes

ALT Text is one of the key things how search engines determine the content of an image. Originally created to help the differently-abled navigate the web, search engines quickly realized that it could be used to understand images. If you have an image of Henry Cavill as Superman, then, of course, the ALT text would say “Henry Cavill”, “Henry Cavill Superman”, “Henry Cavill Superman suit”, or something similar.

The Add Missing ALT Attributes feature automatically adds ALT text to all the images that don’t have it. All you have to do is enable the option, which will open another field below it.

Alt Attribute Format Appears When Add Alt Attributes Is Enabled

ALT Attribute Format

This is where you set the format that will be used to populate the ALT text. The default value is %filename%, which means the name of the filename will be used as the ALT text, but you can use other variables and static text to create the ALT attributes. Here is an example.

Alt Attribute Format Options In Rank Math

Important Note: The addition of ALT texts to images is done dynamically, and the actual ALT texts of the images do not change. That means that if you change these settings and go inside the WordPress gallery, the images will still not have any ALT text. But if you check the ALT text on an actual post, you will find it, as Rank Math applies the ALT text at runtime.

The advantage of this approach is that you can change these settings any time for any number of images, and your server will spend negligible resources in making the change.

Add Missing Title Attributes

Image Titles aren’t as important as ALT text or captions, but they are still widely used by search engines to understand the content of images. Similar to ALT text, adding them to images that already don’t have them is a manual, time-consuming task. Rank Math comes to the rescue with the Add Missing Titles feature.

Enabling this feature will add Titles to all the images that don’t already have titles. What will the actual titles be? You control that with the setting that appears when you enable these options.

Title Attribute Format Appears When Add Missing Title Option Is Enabled

As you can see, what titles will be used for the images is controlled by the values in the Title Attribute Field. The default value has variables, but as we’ve mentioned before, you can use a combination of static text and variables as well.

Important Note: The addition of titles is done dynamically, and the actual titles of the images do not change. That means that if you change these settings and check the images in the WordPress gallery, the images will still not have any ALT text. But if you check the titles on an actual post, you will find it, as Rank Math applies at runtime.

The simplest advantage is conserving server resources. If you have tons of images, then your server will have to change the titles of each image, which takes time and resources. And if you change this setting in the future, the same resources will have to be spent again. The dynamic approach eliminates this problem altogether.

Add Missing Image Captions (Pro)

It is no secret that images attract a higher click-through rate than text. But what is less known is that image captions have an even higher CTR than images!

The actual reason is unknown, but you can think of image captions of the ”PS” of images. Even if people don’t see the actual content, the “PS” part always draws attention.

Using Rank Math, you can add captions to any image that does not already have captions. All you have to do is enable this option and configure the next couple of settings.

Add Missing Image Caption Option In Rank Math

Caption Format (Pro)

This setting is only valuable to configure if you enable the Add Missing Image Captions setting above. Because this setting lets you configure what the actual captions will be. Here are the default settings.

Caption Format Options In Rank Math

As you can see, the default settings are a mix of variables, but you can customize them using static text as well.

Important Note: The added captions to the images are added dynamically. That means Rank Math adds the caption to the images while the page loads, not before that. In other words, if you check your images from the WordPress media gallery, you will not find the captions added there, but you will find them on posts, pages, etc.

This approach has many advantages, and the most important ones are resource usage and speed. If the captions are applied to the actual images, your server will have to spend time and resources in added it to them. If you make any changes to this setting in the future, all the operations will have to be performed again. Applying the captions dynamically solves all these problems.

Change Caption Casing (Pro)

This option changes the case of the image captions. As captions are visible to the users, it is important to have a consistent, professional look to them, and this option helps you achieve that. The following options are available.

Change Caption Casing Options In Rank Math

Here are examples of each case type.

  • No change: The case remains as you enter it
  • Title Casing: The First Alphabets Of All Words In A Sentence Are Capitalized
  • Sentence Casing: The first word is capitalized. Only the first.
  • All Lowercase: none of the words are capitalized
  • All Uppercase: EVERYTHING IS CAPITALIZED! ARRGGHH!!!

Add Missing Image Description (Pro)

Image descriptions are another important image optimization factor that is largely ignored. When optimized well, they can add that extra edge to your image SEO efforts and can help you beat the competition.

When you enable this option, Rank Math will automatically add descriptions to images that don’t already have them. To configure the descriptions that will be added, you have to configure the setting just below it.

Add Missing Image Descriptions Option In Rank Math

Description Format (Pro)

This setting lets you configure the descriptions that will be added to the images by Rank Math. Configuring this is useful only if the Add Missing Image Description is enabled.

As you can see in the image below, the default description uses variables. But, you can use a combination of variables and text to create the perfect description of all your images.

Description Format Configuration Option In Rank Math

Important Note: When you enable the Add Missing Description Option and check your images in the WordPress gallery, you will see that none of the images have descriptions added to them. However, if you check the images on the post or page, you will see the descriptions there. That is because Rank Math adds the description to the post dynamically when the page loads.

This approach saves significant server resources. Also, you can make any changes to these settings anytime, and they will be instantly applied throughout your website, even if you have thousands of images on your website.

Add ALT Attributes for Avatars (Pro)

If you enable this option, Rank Math will apply the username as the ALT text of the avatar that is used on your website for each user, respectively.

Add Alt Attributes For Avatars

Change Title Casing (Pro)

This option changes the case of the image titles. Titles are not visible to the user, but they are read by search engines and used for understanding the images. Having the proper case for the title won’t affect the user a lot, but there are certain scenarios where it is best to have them look professional. And since Rank Math can take care of it automatically, you can simply set it up once and forget it.

Change Title Casing Options In Rank Math

Here are examples of each case type.

  • No change: The case remains as you enter it
  • Title Casing: The First Alphabets Of All Words In A Sentence Are Capitalized
  • Sentence Casing: The first word is capitalized. Only the first.
  • All Lowercase: none of the words are capitalized
  • All Uppercase: EVERYTHING IS CAPITALIZED! ARRGGHH!!!

Change ALT Attribute Casing (Pro)

This option only appears if you enable the Add Missing ALT Attributes feature, and it lets you control the case of the ALT text that is added to the images. Since the ALT text can be displayed to the end-user in some cases, it doesn’t hurt to have it look more professional. And when Rank Math can do it at the click of a button, there is no downside. Here are the various options to choose from.

Change Alt Attribute Casing Options In Rank Math

Here are examples of each case type.

  • No change: The case remains as you enter it
  • Title Casing: The First Alphabets Of All Words In A Sentence Are Capitalized
  • Sentence Casing: The first word is capitalized. Only the first.
  • All Lowercase: none of the words are capitalized
  • All Uppercase: EVERYTHING IS CAPITALIZED! ARRGGHH!!!

Change Description Casing (Pro)

This option lets you choose the case that will be used for the image descriptions that will be added by Rank Math. The image descriptions are not usually displayed to the user, but we are seeing new user interfaces every day (Alexas, Google Home, Smart Displays, etc.), and you never know when the description starts becoming more important than usual. Since setting this up is easy with Rank Math, there is no reason to not do it. Here are the choices you get when choosing the case for the description.

Change Description Casing Options In Rank Math

Here are examples of each case type.

  • No change: The case remains as you enter it
  • Title Casing: The First Alphabets Of All Words In A Sentence Are Capitalized
  • Sentence Casing: The first word is capitalized in every sentence. Only the first word, though.
  • All Lowercase: none of the words are capitalized
  • All Uppercase: EVERYTHING IS CAPITALIZED! ARRGGHH!!!

Replacements (Pro)

Replacements is one of the features that you’d once and then wonder where it was all your life. This magical feature lets you find and replace your image metadata at a single click. This is one of those tasks in WordPress, which doesn’t have any good solutions out there, and it is very important at the same time.

Having the right image alt tags, titles, and captions can massively boost relevancy and get you better search rankings. With Replacement in Rank Math Pro, you’ll be able to optimize your images and improve your workflow at the same time. Let us show you how it works. An image is worth a thousand words, so let us start with that first.

Configuring Replacements In Rank Math

In the Find field, you’ll enter the string that you want to replace.

In the Replace field, you’ll enter the string that you want it to be replaced with.

From the checkboxes, you’ll select all the places where the replacements should be made.

Use the Add another button to add another replacement rule.

It’s pretty simple to follow, and let us demonstrate it once to drive the point home. Here is what we did. We found a couple of images with outdated ALT text. Here is one of those images.

Alt Text And Title Of Image In WordPress

So we used created the following settings in Replacements.

Replacement Settings Configured In Rank Math

Then we hit Save Changes. Then we checked the post to see if any changes were made.

Replacements Applied To Image On The Post

We’ve blurred out the other portions to keep the image simple, but as you can see, the ALT text and the title of the image, both were changed. We demonstrated this change on the post itself for a particular reason.

Replacements work dynamically, which means Rank Math makes the changes to the image ALT text and other metadata when the post loads. This way, your server’s resources are not used to change the information, and you can make more replacements or update old ones without worrying about causing too much load on your server.

That all means that all the replacements that you want to make will have to be created and kept in the settings forever. If you’d like to delete any of the replacements, you can simply click the replacements link on the page.

Removing Replacement Rules In Rank Math

Saving Your Changes

Once you’ve configured all your settings or made the appropriate changes to them, don’t forget to save your changes by clicking the Save Changes button on the bottom right. If you don’t do it and navigate away from the page or refresh it, all your changes will be lost, and you will have to configure the settings again. To avoid this inconvenience, just save your settings.

Click Button To Save Your Changes

Once you save your changes, the page will refresh, and you should see the following notice on the top of the page.

Notice Of Settings Saved Successfully

Conclusion

Image SEO has been a cornerstone of good on-page SEO ever since on-page SEO became popular. However, most websites were crippled when it comes to image optimization due to the lack of appropriate tools. With Rank Math, that problem goes away. Now you have the tools to not only optimize your images in every way, but you can do them at scale.

If you have any trouble using any of these features, or you want to know more about Rank Math or Rank Math Pro, our doors are always open. Join the Facebook Group to get regular updates, or just to say hi. To talk to our support guys, create a ticket on the Rank Math Forum.

Was this article helpful?

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket