-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SanityImage component doesn't apply hotspot / crop #714
Comments
managed to solve it with "@sanity/image-url" but will leave open for discussion |
I'm in the same boat. I'm using |
@philefstat @davidstackio The SanityImage component hasn't been working with the hotspot for a while unfortunately.. I've been using Nuxt3 with My
You want to install
And my custom
This example allows for a fully responsive image across almost all screen-sizes with a predefined srcset. It also allows the user to easily select how the aspect ratio of the image is displayed within its own container. Additionally, crops and hotspots are also supported. *Note that I am using tailwind/unocss with this example @danielroe Maybe we can add this example above to the docs since Nuxt-Image has an official Sanity provider? |
@rylanharper Thanks for sharing! I'm using Nuxt 3 as well, but will wait for |
Heya, my understanding is that SanityImage should apply hotspot / crop automatically but it doesn't appear to be working.
I'm using version 1.6.0 of the module and 3.1.1 of nuxt
The text was updated successfully, but these errors were encountered: