#Images woes
15 messages · Page 1 of 1 (latest)
It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.
You can use images from /src, check out https://docs.astro.build/en/guides/images/#images-in-content-collections https://docs.astro.build/en/guides/images/#images-in-markdown-files
Thank you. I have read the docs several times and in general know how images work. Unfortunately the docs do not discuss programatically using the <Image> feature for collections or json.
The first link is about images in collection
It's basically just using the image() schema for all the fields that are images
wow. I stand corrected. I have searched and searched and never saw the specific docs for images in collections. How the heck was that so hidden. Thanks again!
There is the schema setup
but I am getting an empty object when I oonsole. Hmmm. Any ideas out there?
It says I need to import image and can't use a string. If I include the <Image> the app crashes.
ooooof!
You're passing a title as the src