• Resolved manuelbwk

    (@manuelbwk)


    Hi,

    I need an XML image sitemap with all the pictures embedded in the Envira Galleries. Yoast and all the other image sitemap are not able to get the images out of the Envira gallery. How do I achieve this?
    The Deeplink addon etc. is not what I am looking for. It should look something like this with the page url included and a list of each image on this page including all images from the envira gallery.

    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="https://monikakessler.com/generator/pages/mods/sitemap_nb.xsl"?>
    <urlset
          xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"
          xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
          xmlns:xhtml="https://www.w3.org/1999/xhtml"
          xmlns:image="https://www.google.com/schemas/sitemap-image/1.1"
          xsi:schemaLocation="
                https://www.sitemaps.org/schemas/sitemap/0.9
                https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
    
      <url>
           <loc>https://www.mysite.com/</loc>
           <lastmod>2019-09-07T07:08:17+00:00</lastmod>
           <changefreq>monthly</changefreq>
           <priority>1.0000</priority>
           <image:image>
             <image:loc>https://www.mysite.com/images/image-1.png</image:loc>
             <image:caption>Image 1</image:caption>
           </image:image>
           <image:image>
             <image:loc>https://www.mysite.com/images/image-2.png</image:loc>
             <image:caption>Image 2</image:caption>
           </image:image>
      </url>
      <url>
           <loc>https://www.mysite.com/another-site</loc>
           <lastmod>2019-09-07T07:08:17+00:00</lastmod>
           <changefreq>monthly</changefreq>
           <priority>0.8000</priority>
           <image:image>
             <image:loc>https://www.mysite.com/images/sub/image-3.png</image:loc>
             <image:caption>Image 3</image:caption>
           </image:image>
           <image:image>
             <image:loc>https://www.mysite.com/images/sub/image-4.png</image:loc>
             <image:caption>Image 4</image:caption>
           </image:image>
      </url>
    </urlset>

    thx

    • This topic was modified 3 years, 8 months ago by manuelbwk.
Viewing 1 replies (of 1 total)
  • Hi @manuelbwk

    Thanks for contacting us!

    Yoast will actually create XML files specific for Envira Galleries and Albums. With Yoast enabled on your site, you should able able to visit yoururlhere.com/envira-sitemap.xml , and view the page source. After doing so, can you tell me if you see the files you’re looking for?

    Thank you!

    • This reply was modified 3 years, 7 months ago by bmilligan15.
Viewing 1 replies (of 1 total)
  • The topic ‘XML Image Sitemap’ is closed to new replies.