Highlights
sm-journal-plugin 0.5.0 unifies Journal media uploads onto the core SummerCMS Media Library (modules/album), adds batched srcset enrichment for inline post images, wires the Media Library picker into the rich-text editor, and adds corner drag-resize handles for inline and captioned images.
Added
- Media Library picker in the blog editor: Insert existing or newly uploaded images directly from the SummerCMS Media Library (defaulting to the
journalvirtual folder) with clean/media/<short-id>/<slug>.<ext>URLs, alt text, captions, and intrinsic dimensions. - Interactive image resizing: Inline images and captioned
<figure>images in the blog editor now support aspect-ratio-locked corner drag handles (top-left,top-right,bottom-left,bottom-right), saving plainwidthandheightHTML attributes. - Batched
srcsetenrichment: Public Journal post responses enrich inline/media/...<img>tags in a single batchedalbumlookup, adding WebPsrcset,sizes, and intrinsic dimensions while preserving explicit resizedwidthandheightattributes.
Changed
- Unified media storage: Journal cover, author avatar, and inline image uploads now store in
modules/album(requiring SummerCMSv0.6.10). - Documentation: Clarified the site cache purge token environment variable (
NUXT_CACHE_PURGE_TOKEN).