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
This must be a bug? Is there any other way to get the image url and an image constrained within the given width and height without cropping or distorting the image?
The text was updated successfully, but these errors were encountered:
Why does the imageUrlBuilder add the faulty
rect
parameter to the url?Example
url
outputs https://cdn.sanity.io/images/XXXXXXXX/XXX/filename.png?rect=0,75,1200,200&w=300&h=50&fit=clip. I expected it to be https://cdn.sanity.io/images/XXXXXXXX/XXX/filename.png?w=300&h=50&fit=clip.This must be a bug? Is there any other way to get the image url and an image constrained within the given width and height without cropping or distorting the image?
The text was updated successfully, but these errors were encountered: