How the Image Sitemap Works in OSMap

How the Image Sitemap Works in OSMap

Image sitemaps help Google crawlers to better find images in your Joomla site. Google then indexes them and includes them in its "Google Images" search.

If you would like to help Google find and index images on your Joomla site, OSMap is your best tool. In this blog post, I will show you how the image sitemap works in OSMap.

OSMap does index all the content in your media library. That would be the wrong approach, because it might reveal private files. Instead OSMap looks for any images that are attached to your content.

Creating an Image Sitemap

Once you installed OSMap on your Joomla site, the extension creates a "Default Sitemap" for you.

This default sitemap includes several versions, including the "Images" version. This version of the sitemap is accepted by Google and is very useful to get your images indexed by Google.

This screenshot shows how to find your images sitemap. You go to Components > OSMap.

images sitemap

Click on "Images". You will be taken to the "Images" XML sitemap. This screenshot shows how your sitemap will appear. I'll break down the features of this sitemap:

  1. This is the URL of your "Images" sitemap. This is what you will submit to search engines.
  2. This is the URL of a Joomla content item with images found by OSMap.
  3. This is the number of the images OSMap found in this given content item.
  4. These are the URLs of the images OSMap found in this given content item.

the images version from frontend


Important things to know about OSMap and Images

OSMap won't find all the images on your site. For example, it won't list your site's logo or your site's background images. It also won't index every file in your Media library. OSMap focuses on indexing images that are inside articles.

Here is where OSMap will look for images:

  1. Inside the text of your Joomla articles.
  2. Inside the "Images and Links" tab of a Joomla article:

images in the images and links tab

On the screenshot above you can see the "Images and Links" tab of one of our blog posts. You can see that the image URL is images/blog/joomlashack/shack-article-sharing/article-sharing.jpg.

You can also find out on the screenshot that we included this image as both the "Intro Image" and the "Full Article Image".

Here are the URLs of these two images and the URL of containing them blog post in our "Images" sitemap:

urls of the two images from the images and links tab


What's Next?

Save $1,000's when you sign up to Joomlashack's Everything Club.

You will get access to all our 32 extensions, and legendary support!

  Click here to join the Everything Club