Document Creator 0.9.8: Landscape thumbnails shown whole
Document Creator 0.9.8 fixes thumbnails of landscape documents and templates. In the documents and templates grid and in the create-document window, they were cropped to their middle strip by the portrait frame.
They are now fitted whole and centred in the frame. The module reads the orientation from the saved thumbnail image itself, so it stays right when the page updates live.
Full release notes: Document Creator 0.9.8
0.9.8 · 22 September 2026
Fixed
- Landscape documents and templates (
documentStyle.flipPageOrientation) are no longer cropped to their middle strip in the fixed portrait thumbnail frames of the documents / templates grid and the create-document modal. They are fitted whole and centred. The orientation is read server-side from the cached thumbnail’s image header (PNG, GIF, WebP, JPEG) by the newPhoenixKitDocumentCreator.Thumbnail, so it survives LiveView re-renders and needs no inline script.
Changed
- Upgraded locked
phoenix_kit2.37.0 → 2.37.3. The:phoenix_kitrequirement is unchanged (~> 2.21 and >= 2.21.3).
Document Creator 0.9.8. Install or update: {:phoenix_kit_document_creator, "~> 0.9"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.