hi i have 4 markdown which looks like
`---
title: Project Title
tags:
- Tag1
- Tag2
- Tag3
- Tag4
- Tag5
image: dog
alt: dog
aria: arianame
url: https://github.com/
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Hic nihil
aliquid dignissimos dicta a quod sapiente ipsum eligendi aut quo. Cum
aliquid expedita illo maxime temporibus? Nihil blanditiis quis sit!`
i'm looping through it to create a component for each of them
this way :
`const allProjects = await Astro.glob("../content/projects/*.md");
import { Image } from "astro:assets";
import dog from "../assets/dog.jpg";
{
allProjects.map((project) => (
<Image
class="rounded border-2 border-slate-200/10 transition group-hover:border-slate-200/30 sm:order-1 sm:col-span-2 sm:translate-y-1"
src={project.frontmatter.image}
alt={project.frontmatter.alt}
width="200"
height="48"
/> ) }`
but image doesn't show off, how could i manage this ? i tried by changing the image line in markdown file like this image: "../assets/dog.jpg" but then <Image/> doesnt convert the image as webp,
Any idea ?