Render an image element with optional link wrapper and alignment container.
Processing steps:
ctx.resolveImageSource()
<img>
<a>
<div class="image-container ...">
Dangerous URLs are replaced with #invalid-url. Local paths blocked by settings cause the entire image to be silently dropped.
#invalid-url
The current render context.
Image element data with source, attributes, optional link, and alignment.
Render an image element with optional link wrapper and alignment container.
Processing steps:
ctx.resolveImageSource().<img>tag with safe attributes.<a>tag if a link target is specified.<div class="image-container ...">for alignment.Dangerous URLs are replaced with
#invalid-url. Local paths blocked by settings cause the entire image to be silently dropped.