DEV Community

Discussion on: How to handle Images and make use of gatsby-image - Guide to Gatsby WordPress Starter Advanced with Previews, i18n and more

Collapse
 
henrikwirth profile image
Henrik Wirth

Yup that is WordPress specific. Some mediaItems would have the Url in the mediaItemSourceUrl rather that the sourceUrl. But depending on your API, I would just log source and see what you got. Then you can figure out what field you need to source from.