gatsby-plugin-advanced-sitemap
gatsby-plugin-advanced-sitemap copied to clipboard
Images: 0 for every page
Issue Summary
gatsby-plugin-advanced-sitemap didn't see any images on my page
Should I use any special tags to correctly detect it?
Example image in my code:
<picture>
<source type="image/webp" srcSet={logo_webp}/>
<source type="image/jpg" srcSet={logo}/>
<img src={mafia_logo} alt="Logo"/>
</picture>
Technical details:
- Gatsby Version: 2.27.3
- Node Version: 15.3.0
- OS: Linux (node:latest docker)
- gatsby-config.js: (without any options)
You must provide an image source in your GraphQL query.
It could be either cover_image || profile_image || feature_image.
e.g.
allGhostPost {
edges {
node {
id
slug
updated_at
feature_image
}
}
}
@yogeshkotadiya I hate to dig up an old issue...
This was valuable information (that should be in some sort of README). However, it is counter-productive to include the images count if the count is 0. Is there a way to not allow the images column to be generated?
Thanks much 😄