Open maru3l opened 3 years ago
I did a little research and found that the image with the crop isn't saved. I've logged all the download request made by the plugin and it's downloading every crop and sizes but only the full resolution is saved in the .cache
folder. Could it be a naming conflict when it's saving the different image size and cropping?
I think the issue #41 is related
I found, the issue is when saving the picture with createRemoteFileNode
, the URL params is removed with querystring.unescape(url).replace(/\?.*$/g, '')
. I've found that it was added with the PR https://github.com/birkir/gatsby-source-prismic-graphql/pull/187.
On my side, I've removed the filter on the URL and everything is working as expected and the download time is faster.
Hi, I'm trying to use the crop filter with the Gatsby image but the focus I've made in Prismic is not the one given by the graphql request in Gatsby.
If I'm getting the picture with the Prismic URL
https://images.prismic.io/hotel-griffintown/286cbbc2-6536-451b-9e5c-f45c3cf1d51f_GriffintownHotel-Confort-8.jpg?auto=compress,format&rect=0,1212,5000,1152&w=2560&h=590
the focus point and the crop is perfect, but the picture generated on the render get the center.This is the exemple of the graphql query:
the result is :
this is my config: