An open API service indexing awesome lists of open source software.

https://github.com/lekoarts-demos/gatsby-absolute-image-paths

Explanation of using absolute image paths in Gatsby in other data sources like JSON
https://github.com/lekoarts-demos/gatsby-absolute-image-paths

Last synced: about 2 months ago
JSON representation

Explanation of using absolute image paths in Gatsby in other data sources like JSON

Awesome Lists containing this project

README

        

# Using absolute image paths in Gatsby

This is an answer to the question in this discussion: https://github.com/gatsbyjs/gatsby/discussions/31382

"How can I use absolute paths to images in e.g. JSON files and have childImageSharp appear?"

---

This solution here is the shortest implementation of https://www.byderek.com/post/a-stackoverflow-question--a-use-case-for-gatsbys-field-extension & their plugin: https://github.com/d4rekanguok/gatsby-schema-field-absolute-path