Put images in static/ and reference them from Markdown.
Markdown images automatically receive loading="lazy" when lazy_async_image = true is set in config.toml.

When writing HTML directly, include dimensions to avoid layout shift.
<img src="/sample.svg" width="320" height="120" alt="sample image" loading="lazy">