Hey I'm following https://docs.astro.build/en/recipes/dynamically-importing-images/
- My import glob is
"/src/assets/**/*.{jpeg,jpg,png,gif}" - It works when I pass in the correct path as a prop
<Image src={images[href]()} />whenhrefis/src/assets/my-image.jpg - It fails when I pass
hrefasmy-image.jpg
BUT I wrap my path as so:
<Image src={images[`/src/assets/${href}`]()} />` // the images cannot be found although the paths are correct
Any tips :hmm: