If you issue a GraphQL query with the code below, you will not get a croping centered on a person's face.
query MyQuery {
allPrismicBlog {
edges {
node {
id
uid
data {
image {
thumbnails {
ThumbList {
gatsbyImageData(
imgixParams: {fit: "crop", crop: "faces", fm: "webp", q: 20, w: 272, h: 153}
)
}
}
}
}
}
}
}
}
The "rect" parameter not specified in the query will be added to the retrieved gatsbyImageData URL.
If you remove this "rect" parameter from the URL, the image will be cropped as intended.
Is there a way to not add this automatically added "rect" parameter?