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
Describe the bug
Blurhash isn't being generated for local images in Astro.
To Reproduce
---
import { Image } from "@unpic/astro";
import localImage from "@assets/img/my-local-image.jpeg";
This works and generates a blurhash
<Image
src=''https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&h=256&q=80"
alt="Remote image"
width={256}
height={256}
placeholder="blurhash"
/>
This doesn't generate a blur has:
<Image
src={localImage}
alt="Local image"
width={256}
height={256}
placeholder="blurhash"
/>
---
Describe the bug
Blurhash isn't being generated for local images in Astro.
To Reproduce
This is my astro config:
Screenshots
Remote image:
Local image
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: