Hello! Our public app fetches the webp version of product images via GraphQL transformedSrc, However, couple of weeks ago we noticed that a lot of images returned from the produced url are still in their original format, based on their content-type, eg: images/jpg
When i investigate the docs I found out the transformedSrc is being deprecated, as per this page:
https://shopify.dev/api/admin-graphql/2021-10/objects/image#fields-Image-OBJECT
"The location of the transformed image as a URL.
All transformation arguments are considered “best-effort”. If they can be applied to an image, they will be. Otherwise any transformations which an image type does not support will be ignored. Use url(transform:) instead"
Is this the reason for the transformation not working?
When i tried to use url, I got error message that Image does not implement url field.
Can any of you help me solve this? How to avoid the deprecation?
Thank you
Is this the reason for our failure?
Link for
