Is your feature request related to a problem? Please describe.
Images which are present in RichText fields are not thoroughly optimized, except for the default imgix optimizations. Large images uploaded to prismic are served for ex. in insane resolutions.
Describe the solution you'd like
It would be great to add image optimization arguments during data fetching with gatsby-image or to support easy-to-use optimization of images with imgix after data fetching prismic.
Idea: Add image field support to PrismicStructuredText GraphQL Type. Currently it only returns an AST. It would be great, if we could directly add image optimization arguments to the graphql query or query the referenced images seperately.
Thank you very much for all your effort and support. Right now Prismic + Gatsby seems like the only good option because the source plugin is well maintained. I'm looking forward to tackle great projects with this stack.
Is your feature request related to a problem? Please describe.
Images which are present in RichText fields are not thoroughly optimized, except for the default imgix optimizations. Large images uploaded to prismic are served for ex. in insane resolutions.
Describe the solution you'd like
It would be great to add image optimization arguments during data fetching with
gatsby-image
or to support easy-to-use optimization of images withimgix
after data fetching prismic.Idea: Add image field support to
PrismicStructuredText
GraphQL Type. Currently it only returns an AST. It would be great, if we could directly add image optimization arguments to the graphql query or query the referenced images seperately.Ex.
or
or
Describe alternatives you've considered
gatsby-remark-images
to optimize images in rich text during build timeAdditional context
Thank you very much for all your effort and support. Right now Prismic + Gatsby seems like the only good option because the source plugin is well maintained. I'm looking forward to tackle great projects with this stack.