Skip to content

PhoenixKit 2.46.0: Annotated thumbnails per library, clearer storage screens

PhoenixKit 2.46.0 lets each media library choose whether its grid thumbnails show annotations, and makes the storage screens say plainly what each bucket and setting is.

Annotated thumbnails per library

Each library now has an Annotated thumbnails select: the site setting, on or off. Baking annotation shapes into the grid thumbnail follows the file’s library, and falls back to the site setting until a library chooses, so nothing changes on upgrade. Changing it does not remake existing thumbnails: a file picks up the change the next time its annotations change.

Storage screens that read clearly

Object Storage connections in the Integrations lists now show their service, such as Tigris, Cloudflare R2 or Backblaze B2, instead of all reading “Object Storage (S3-compatible)”. The Media Buckets list has a Type column, Local or Cloud with the service as a badge, and writes the location in words under each name.

On the Storage profiles tab, “Pool” is now Upload order, and the statuses read Active, Read-only (no new files) and Draining (moving files out). The copy counts are renamed, such as Copies of each original and Copies needed to accept an upload, and a line under them explains what they mean for the profile’s current buckets, including that two buckets at one copy spread files rather than mirror them.

Media Configuration loses three leftover settings for redundancy, sizes and tiles that edited only the Default profile and set; it now links to the real editors. Nothing stored changes.

Fix

The Default profile’s “Used by” count left out libraries that use it without naming it. It now counts them.

No migration.

Full release notes: PhoenixKit 2.46.0

2.46.0 · 2 October 2026

Added

  • A library can choose annotated thumbnails for itself. Libraries → each library has an “Annotated thumbnails” select: site setting, on or off. Baking the annotation shapes into the grid thumbnail, regenerating it when annotations change, and showing it in the grid all follow the file’s library, falling back to the site setting (Media Configuration) when the library has made no choice, so nothing changes until one does. Turning it on or off for a library does not bake or drop existing thumbnails: a file picks the change up the next time its annotations change, as with the site setting. It lives in the library’s JSON settings, so there is no migration: Libraries.setting/2, setting_among/2 and put_setting/3 read and write a per-library setting (the keys are listed in Libraries and refused otherwise, a value of the wrong type is refused, and only the key changes), and AnnotationThumbnail.enabled_for?/1, enabled_for_file?/1 and enabled_among/1 apply the rule; AnnotationThumbnail.enabled?/0 is still the site default.

Changed

  • The Integrations lists say which service an Object Storage connection is. Every Object Storage connection read “Object Storage (S3-compatible)”, so a Tigris connection could not be told from an Amazon or a Backblaze one. The table (Settings → Integrations and My Integrations) now shows the service — Tigris, Cloudflare R2, Backblaze B2, … — as a badge next to the provider, and as a “Service” row in the card view. A provider with a :setup_module can add its own with an optional label/1 (Providers.setup_label/2).
  • The Media Buckets list shows a Type and reads cleanly. The Provider column is a Type column: Local or Cloud, with the service a cloud bucket is on (the one its integration is for — Tigris, Cloudflare R2, …) as a badge beside it. Under the bucket’s name, the location is in words — fotki-dev-test1 · t3.storage.dev for a cloud bucket, the path for a local one — instead of tigris:fotki-dev-test1https://t3.storage.dev.
  • The Storage profiles tab is clearer and lines up. The bucket rows sit on one grid, so each control is under its own heading and the dropdowns have fixed widths. “Pool” is “Upload order” (empty reads “Any”), with a tooltip on it and on Role and Serve order; the statuses read “Active”, “Read-only (no new files)” and “Draining (moving files out)”. The copy counts are “Copies of each original”, “Copies of each size and tile” and “Copies needed to accept an upload”, and a line under them says what they mean with the buckets the profile has now — two buckets at one copy spread files across them rather than mirror them, and a count above the number of buckets is flagged. The description no longer promises that every change moves files: renaming a profile or changing the copies an upload needs does not.
  • Media Configuration no longer has a second editor for redundancy, sizes and tiles. “Redundancy Copies”, “Auto-Generate Variants” and “Deep Zoom Tile Generation” were leftovers from before profiles and variant sets: they edited the Default storage profile’s copy count and the Default variant set’s flags, which every library on another profile or set ignored, under names and with limits that disagreed with the real editors. Copies are set on the Storage profiles tab, and sizes and tiles on the variant set; the tab now says so, with links, and keeps what is genuinely site-wide: annotated thumbnails, image editing and the upload size limit. Nothing stored changes, and Storage.set_redundancy_copies/1, Storage.set_auto_generate_variants/1 and Storage.set_tile_generation/1 are as they were.

Fixed

  • A profile’s “Used by” count left out the libraries that use it without naming it. The Default said “Used by 0 libraries” while the Media library, which names no profile and so uses the Default, said it was on it. The Default’s count now includes the libraries with no profile of their own.

i18n

  • The strings the Media Buckets list, the Storage profiles tab, the Configuration tab and the per-library annotated thumbnails added (31 in all, one with plural forms) are extracted and translated in de, es, et, fr, it, pl and ru; no entry is fuzzy.

PhoenixKit 2.46.0. Install or update: {:phoenix_kit, "~> 2.46"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.