Unpic disables Astro conversion to webp #641
Unanswered
Pavel-Sushko
asked this question in
Q&A
Replies: 1 comment
-
did you solve this? I only managed to do this by using cdn type sharp. But it is actually not supported, I wonder why it does work? import { Image } from "@unpic/astro";
<Image cdn="sharp" src={featureImage.getDirectusUrl} alt={featureImage.getAlt(lang)}/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I'm not sure if this is quite an issue yet, maybe I'm simply doing something wrong, but the moment I enable unpic, my images stop being converted to webp. Is there any way around this?
For context, I am hosting the images myself and importing them through an import statement. Here is my image config:
Beta Was this translation helpful? Give feedback.
All reactions