Getting an error of 'aspectRatio' must be provided for remote images
when using a local image even when importing in frontmatter when using the @astrojs/image integration. The imported image is in /src/images
As far as I can see this is exactly the same as the example provided in the @astrojs/image docs. I have also even tried the inline import method, but it still hasn't worked.
---
import { Picture } from "@astrojs/image/components";
import florence from "../images/florence-3.jpg";
---
<section class="showcase">
<div class="showcase-bg">
<Picture
src={florence}
widths={[200, 400, 800]}
sizes="(max-width: 800px) 100vw, 800px"
alt="Florence Smith Project Manager Picture"
/>
</div>
</section>
Thanks for any help!