getImage and Image return Failed to parse URL from when inferSize is set to true #11821
Closed
1 task
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
feat: errors
Related to error handling / messages (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
getImage and Image return
Failed to parse URL from ...
wheninferSize
is set totrue
this happen when both when image is loaded from
public/
or fromsrc/
.An typeError also happend when pass the image from collection to <Image src={post.data.cover}
What's the expected result?
Image is loaded without an error
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-cxn7kx
Participation
The text was updated successfully, but these errors were encountered: