Static image widget

Image

Upload a PNG, JPEG, GIF, BMP, WEBP, TIFF, or PDF (first page only) -- it's decoded once on upload and shown as-is until you upload something else.

{% if static_cfg and static_cfg.original_filename %} Currently showing: {{ static_cfg.original_filename }} {% else %} No image uploaded yet. {% endif %}

Settings

How the image's aspect ratio is reconciled with this widget's box: Crop to fill trims the excess; Stretch to fill fills the box exactly without cropping (an image with a different aspect ratio looks stretched); Shrink to fit shows the whole image, letterboxed if needed.

Preview

How this widget currently renders.

Static image preview