{# Library tab pane: the built-in attachment grid. Included by `attachments_picker.html` for both the tabbed layout (when plugins contribute picker tabs) and the single-pane fallback (when no plugins contribute). The `_` prefix signals this is a partial-only template, not a standalone page. #} {% if not rows %}

No images yet on this site. Upload one.

{% else %}
{% for r in rows %} {# Per-size rendition keys land as data-rendition-{small,medium,full} so the editor can swap the in-editor `` when the operator clicks a size button on the bubble menu. The keys are storage_key path strings (`//webp`); the editor JS prepends the admin attachment prefix to build the full URL. Empty string when no done WebP exists yet — the editor falls back to the original. #} {% endfor %}
{% endif %}