← All plugin changes

sm-journal-plugin 0.5.0

v0.5.01 min readPlugins

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 journal virtual 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 plain width and height HTML attributes.
  • Batched srcset enrichment: Public Journal post responses enrich inline /media/... <img> tags in a single batched album lookup, adding WebP srcset, sizes, and intrinsic dimensions while preserving explicit resized width and height attributes.

Changed

  • Unified media storage: Journal cover, author avatar, and inline image uploads now store in modules/album (requiring SummerCMS v0.6.10).
  • Documentation: Clarified the site cache purge token environment variable (NUXT_CACHE_PURGE_TOKEN).
Subscribe via RSS