You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand there was a previous issue where gatsby image processing was not occurring when using images in Dynamic Zone. This bug was fixed in this PR gatsby-uc/gatsby-source-strapi#266.
However, I believe I have found a separate instance where gatsby sharp image processing breaks. I have a collection type called PageTemplate. This collection has a dynamic zone called "sections" which contains a few relations to other collection types. For example, the statsModule (labeled Stats in the Dynamic Zone) is a relation field that contains some images. However, when I query the PageTemplate, I cannot access the localFile field for the images within the Stats section.
PageTemplate setup in strapi
PageTemplate query (localFile not found)
I am running on gatsby-source-strapi v 2.0.0 and strapi 4.1.0
The text was updated successfully, but these errors were encountered:
moonmeister
changed the title
Image processing for gatsby image breaks when using relation field in Dynamic Zone
bug(gatsby-source-strapi): Image processing breaks when using relation field in Dynamic Zone
Dec 27, 2022
Hello,
I understand there was a previous issue where gatsby image processing was not occurring when using images in Dynamic Zone. This bug was fixed in this PR gatsby-uc/gatsby-source-strapi#266.
However, I believe I have found a separate instance where gatsby sharp image processing breaks. I have a collection type called PageTemplate. This collection has a dynamic zone called "sections" which contains a few relations to other collection types. For example, the statsModule (labeled Stats in the Dynamic Zone) is a relation field that contains some images. However, when I query the PageTemplate, I cannot access the localFile field for the images within the Stats section.
PageTemplate setup in strapi
PageTemplate query (localFile not found)
I am running on gatsby-source-strapi v 2.0.0 and strapi 4.1.0
The text was updated successfully, but these errors were encountered: