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
Hey, I'm wondering if there's any way to default to using one of the smaller image sizes for the selected image that's stored on Sanity. Many of the images I select are way too large and it results in a large asset (4+ MB). It would be awesome to select one of the other image size urls provided by the Unsplash API:
I've just realised that a potential solution could be to add a URL parameter on the end of the image URL to request a smaller image from Sanity. See here: https://www.sanity.io/docs/image-urls
So you could append '?h=200' to the end of the URL and Sanity would return the image with a height of 200 pixels.
This seems like a nice solution as it allows you to keep the full resolution images stored in Sanity, however, it would still use up more storage on your Sanity account
Hey, I'm wondering if there's any way to default to using one of the smaller image sizes for the selected image that's stored on Sanity. Many of the images I select are way too large and it results in a large asset (4+ MB). It would be awesome to select one of the other image size urls provided by the Unsplash API:
any guidance in this would be appreciated. Thank you!
The text was updated successfully, but these errors were encountered: