Plugin Author
Udinra
(@udinra)
The alt attribute is attribute of img html tag.Google sitemap protocol supports tags like loc,caption and title.The caption includes alt text.You can verify the same by uploading an image with alt text and then see the sitemap.
Thread Starter
Pete
(@perthmetro)
As you can see there is no alt tag in the image sitemap… all my images have alt text though.
<image:image>
<image:loc>http://www.outdoorinnovators.com.au/wp-content/uploads/perth-patio-15.jpg</image:loc>
<image:caption>Perth Gable Patios</image:caption>
<image:title>Perth Gable Patios</image:title>
</image:image>
Plugin Author
Udinra
(@udinra)
OK.I got your question.When you upload image using wordpress upload you can specify
1.Title
2.alternate text
3.caption
4.description
WordPress does not store alternate text in table.Rest of the attributes are stored in table.
Now while creating the sitemap Caption and Title are used (google sitemap protocol also does not have alternate text).For details please see
Google Image Sitemap protocol
Hope this helps.Please ignore my earlier comment as I misunderstood your point.
Thread Starter
Pete
(@perthmetro)
Thanks for that, understood
WordPress stores the title tag and the alt tag, and the caption is proprietary, being <p class="wp-caption-text">