PhoenixKit 1.7.168: Sharper thumbnails on media cards
PhoenixKit 1.7.168 makes the pictures on media browser cards sharp on high-resolution screens. Grid and stack cards used the 150 px thumbnail, which looked blurry there.
Cards now prefer the 400 px thumbnail baked by the annotation tools or the 300 px small size. When a file has neither, for example an older upload or one whose sizes are turned off, the card falls back to the 150 px thumbnail rather than the full-size original, so a grid of large photos stays light to load.
Full release notes: PhoenixKit 1.7.168
1.7.168 · 27 June 2026
Changed
- Sharper non-full-res thumbnails for grid/stack media cards. Added a
:cardsize mode toMediaThumbnailand switched the grid card, stack card, and stacks-view grid card to it. Cards now prefer the 400px baked Etcher thumbnail / 300pxsmallvariant instead of the blurry 150pxthumbnail, so media piles render crisply at 2× DPI. (#609)
Fixed
:cardthumbnails no longer load a full-resoriginalwhen intermediate variants are missing. A file with athumbnailbut nosmall/medium(partial variant generation, legacy upload, or admin-disabled dimensions) now falls back to the light 150pxthumbnailbefore the multi-megabyteoriginal— keeping the card payload light as intended. Reconciled theMediaThumbnailmoduledoc andattrdocs with the actual:cardpriority chain. (#609 follow-up)- Added pure-function unit tests for
MediaThumbnail.resolve_url/2covering every size mode and the:cardfallback chain.
PhoenixKit 1.7.168. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.