Skip to content
Discussion options

You must be logged in to vote

You can pass these options directly to the Image component (reference here: https://docs.astro.build/en/reference/modules/astro-assets/#image-). For example:

---
const data = [/*...*/]
---
{data.map(e => <Image src={e.image} alt="" quality="low" />)}

Does that answer your question?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vadimkantorov
Comment options

@delucis
Comment options

Answer selected by vadimkantorov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants