Skip to content

@iles/images dynamic image transform and sources #115

Answered by ElMassimo
spiderpug asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Robert!

See this answer for a general overview of ways to reference images.

The resolveImage programmatic API in vite-plugin-image-presets can apply presets to a dynamic path, and you can use it in extendFrontmatter.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@spiderpug
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants