Feature: A responsive image partial to share
Description
This extension ships its first Fluid partial,
Resources/Private/Partials/Academic/Image.html. It renders an image of
a record as a
<picture>
with WebP sources per breakpoint, applies a
named crop variant, shows a placeholder when there is no image, passes SVG
files through unprocessed and adds the caption and the copyright on request.
It accepts Extbase and core file references alike.
The breakpoints and widths come from four presets - card, detail, logo
and teaser - each a section of the partial. A project that overrides the one
file therefore changes the image markup of every plugin that renders it.
The partial, its arguments and its presets are public API, described in The responsive image partial.
EXT: renders the profile image of its cards and of the
public profile through it, and so does EXT:, which
renders the same cards.
Impact
An extension or a project template renders an image responsively with one
<f: and the path
EXT: in its partial root
paths. Nothing changes for a view that does not register that path.