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
After #7139cover image in frontmatter will have all props of an imported image, including absolute src path, not allowing to combine it with astro:assets<Image> component.
This makes this part that covers how to use frontmatter images with <Image> incorrect.
`Image`'s and `getImage`'s `src` parameter must be an imported image
or an URL, it cannot be a filepath. Received
`/@fs/project/sandbox/src/assets/cat.jpg?origWidth=640&origHeight=427&origFormat=jpg`.
What version of
astro
are you using?2.5.6
Are you using an SSR adapter? If so, which one?
Vercel
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
After #7139
cover
image in frontmatter will have all props of an imported image, including absolutesrc
path, not allowing to combine it withastro:assets
<Image>
component.This makes this part that covers how to use
frontmatter
images with<Image>
incorrect.Link to Minimal Reproducible Example
https://codesandbox.io/p/sandbox/cranky-violet-86he43?file=%2Fsrc%2Fpages%2Findex.astro%3A13%2C1
Participation
The text was updated successfully, but these errors were encountered: