WordPress.org

Ready to get started?Download WordPress

Forums

Udinra All Image Sitemap
[resolved] ALT attributes not included? (6 posts)

  1. Pete
    Member
    Posted 2 years ago #

    This is the best image sitemap plugin I've tested as you include the following elements

    </image:loc>
    <image:caption/>
    <image:title>

    Is there an element to include the ALT image tag?

    http://wordpress.org/extend/plugins/udinra-all-image-sitemap/

  2. Udinra
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. Pete
    Member
    Posted 2 years ago #

    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>
  4. Udinra
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. Pete
    Member
    Posted 2 years ago #

    Thanks for that, understood

  6. sadhaka
    Member
    Posted 1 year ago #

    WordPress stores the title tag and the alt tag, and the caption is proprietary, being <p class="wp-caption-text">

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic