Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gatsby-image for API-fetched images #5519

Closed
decimoseptimo opened this issue May 22, 2018 · 1 comment
Closed

Gatsby-image for API-fetched images #5519

decimoseptimo opened this issue May 22, 2018 · 1 comment

Comments

@decimoseptimo
Copy link

decimoseptimo commented May 22, 2018

I followed the tutorials:
https://www.gatsbyjs.org/blog/2018-1-18-strapi-and-gatsby/
https://medium.com/@kyle.robert.gill/ridiculously-easy-image-optimization-with-gatsby-js-59d48e15db6e

So for a site, I'm doing image optimization for local images, and fetching content from an API. While also converting mardown to html in blog posts. But how to gatsby-image for files fetched from an API like strapi?

I suppose that somehow the files have to be fetched from the API and then transformed to the local filesystem.

@KyleAMathews
Copy link
Contributor

This should be built into gatsby-source-strapi — perhaps raise an issue there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants