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
Image's and getImage's src parameter must be an imported image or an URL, it cannot be a string filepath. Received /@fs/Users/…/frm-7-landingpage/src/content/homepageQuotes/foo/image.jpg?origWidth=2597&origHeight=3056&origFormat=jpg. https://docs.astro.build/en/guides/images/#src-required
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goal
I am trying to pass the image that was optimized by Astro to a React component as props.
This is my collection definition
Error
However, I am getting this error
Docs
In https://docs.astro.build/en/guides/images/#images-in-content-collections it clearly states …
?
Any idea what is going on?
Beta Was this translation helpful? Give feedback.
All reactions