Image in sitemap.xml

Permalink
Hello,
I there any way to have images in sitemap.xml ?

 
triplei replied on at Permalink Reply
triplei
There isn't any built in functionality to do that, however if you are comfortable writing a bit of php you could override the job which creates the sitemap.

If you have a page attribute with the image you want to display this would be pretty straight forward, otherwise you may need loop through the areas on a page and look at each block instance to see if it's a slideshow/image and add it to the sitemap.xml file.

That's a great idea though. It's always nice to be able to feed search engines as much information about your as possible.
Philnext replied on at Permalink Reply
Sorry I am not a PHP developper !