Using the Image SEO Features in All in One SEO

Check out our video on how to use the Image SEO addon here.

Are you looking to automatically set the image Alternative text and title attribute for all images in the content of your posts and pages?

If you’ve got a lot of images in your content, then this article will help you set these important tags.

To get started, click on Search Appearance in the All in One SEO menu and then click on the Image SEO tab.

Image SEO tab under Search Appearance

Scroll down to the Image SEO section. Click on the Activate Image SEO button to activate this feature.

Activate Image SEO button on the Media tab of the Search Appearance settings

You should now see the Image SEO settings.

Image SEO settings in All in One SEO

The first setting you’ll see is Title Attribute Format. The title attribute appears when you mouse over an image. This helps your visitors understand what your image is about, and therefore it helps search engines too.

To set the title attribute format that will be used to automatically generate titles for images in the content of your posts, pages, and other content, click on one of our smart tags shown above the Title Attribute Format field.

You can also type the hash character ( # ) in the field to display a list of available tags you can choose from.

Typing the hash symbol displays a list of available tags to choose from

You can also enter text in the Title Attribute Format field or combine text with the smart tags.

The next setting is the Strip Punctuation for Title Attributes toggle. Enable this if you want any punctuation characters to be removed from your image title attributes.

Strip Punctuation for Title Attributes toggle

Next, you’ll see the Alt Tag Attribute Format setting. The Alternate text is used by screen readers and to tell visually impaired visitors what the image is about. The Alternate text should therefore describe the image. This can also be helpful to search engines.

Just as you did with the Title Attribute Format field, to set the Alternate text format that will be used to automatically generate Alt text for images in the content of your posts, pages, and other content, click on one of our smart tags shown above the field or type the hash character ( # ) in the field to display a list of available tags you can choose from.

Finally, the last setting is the Strip Punctuation for Alt Attributes toggle. This works just like the Strip Punctuation for Title Attributes toggle.

That’s all! Now All in One SEO will set the image titles and Alt text for images in your content.

Here’s a video on how to use the Image SEO addon to optimize your images:

Available to customers on the Business License and above

Image SEO module in All in One SEO ProThe Image SEO module is a premium feature that enables you to globally control the Title Attribute and Alt Text for attachment pages and images that are embedded in your content.  These can be set based on a specified format, similar to the Title Format settings in the General Settings menu.

Below are the options in the Image SEO module:

Title Attribute Format

This field enables you to set how your image Title Attributes will be generated by All in One SEO.

For example, you may want all your Image Title Attributes to include your Post Title followed by your Site Title.  In this case, you can use the appropriate macros from the list below in the Title Attribute Format field.

Here is the list of supported macros you can use:

  • %image_title%
         The title of your image as shown in the Media Library
  • %site_title%
         Your site title as shown under Settings > General > Site Title
  • %site_description%
         Your site description as shown under Settings > General > Tagline
  • %image_seo_title%
         The SEO title set for your image in the Media Library
  • %image_seo_description%
         The SEO description set for your image in the Media Library
  • %post_seo_title%
         The SEO title set for your post or page
  • %post_seo_description%
         The SEO description set for your post or page
  • %alt_tag%
         The Alt Text for your image as shown in the Media Library
  • %post_title%
         The title of the post or page
  • %category_title%
         The name/title of your category
  • %post_date%
         The date when the image was published (localized)
  • %post_year%
         The year when the image was published (localized)
  • %post_month%
         The month when the image was published (localized)
  • %tax_product_cat%
         The title of your WooCommerce Product Category
  • %tax_product_tag%
         The title of your WooCommerce Product Tag

Any of the macros above can be used in combination with each other or with your own text.

Strip Punctuation For Title Attributes

This option will strip all punctuation marks such as commas, periods, semicolons, etc. from the Title Attributes that All in One SEO generates for your images. This also applies to non-Latin languages such as Chinese, Japanese, Hindi, etc.

Alt Tag Attribute Format

This field works the same way as the Title Attribute Format field above.  It enables you to set how your image Alt Text will be created by All in One SEO.  The same macros (see above) can be used in this field.

Strip Punctuation For Alt Tag Attributes

This option will strip all punctuation marks such as commas, periods, semicolons, etc. from the Alt Text that All in One SEO generates for your images. This also applies to non-Latin languages such as Chinese, Japanese, Hindi, etc.

Image Sitemap

The XML Sitemap module in All in One SEO includes an Image Sitemap by default.  Images in your content are automatically included in the XML Sitemap and are submitted to Google, Bing and other search engines.  If you wish to disable this feature, you can do so by enabling the Exclude Images setting.

Further Reading

For more information about how Image Alt Text and Title Attributes can improve your on-site SEO, please read this WP Beginner article on Image Alt Text vs Image Title.