PhoenixKit 2.36.0: Annotations drawn into thumbnails and cards
PhoenixKit 2.36.0 shows annotations in the media lists and grids. When an editing session ends, the picture is saved once more with its drawing in it, so the thumbnails show what people marked up.
Annotations in thumbnails
Turning the annotation editor off, or closing the viewer, now draws the shapes onto the picture in the browser and stores that copy. List rows use it as their thumbnail. Grid cards show a larger copy, fitted inside 800 pixels, instead of the plain small size.
The copy is made in the browser because the browser already has the drawing on screen. The stored picture is then exactly what the person was looking at: the same fonts, the same label plates and the same marker strokes. Files that nobody has open are still drawn on the server, as before.
What stays untouched
The editor itself still opens on the picture as uploaded, in its small, medium, large and original sizes, and draws the live shapes on top. Those sizes are never replaced by the drawn copy, so the shapes are not painted twice the next time someone opens the editor. The annotations themselves are not changed by saving the copy.
Who may save it
The server treats the uploaded copy as a picture and nothing more: it re-encodes it before storing and never serves it back as sent. It refuses a copy made from an older version of the picture, for example after an image edit. Saving is allowed to the file’s owner, an Owner or Admin in their active role, and holders of the media permission: the same people who can edit the picture. If an editing session ends twice while the first upload is still going, the second one keeps the drawing as it was on screen.
Fixes
Annotated thumbnails made on the server now include each shape’s label, so a named text or callout shape is no longer an empty box.
Upgrading
No migration and no configuration. Pictures annotated before the update get their new copy the next time someone ends an editing session on them.
Full release notes: PhoenixKit 2.36.0
2.36.0 · 21 September 2026
Added
- Annotations are burned into the picture when an editing session ends.
Turning Etcher off, or closing the viewer, composes the live overlay in
the browser and stores that rendering. List rows read it from
thumbnail; grid cards preferburned(fit inside 800px) over the plainsmall. The editor’s own ladder —small,medium,large,original— stays the picture as uploaded, so the live shapes are not drawn a second time on the next open.POST /api/files/:file_uuid/burnre-encodes the upload throughImageProcessor.sanitize/3and refuses a rendering whosesource_versionis no longer the file’s original.
Fixed
- A baked annotated thumbnail draws the shape’s label. The words live
in the
titlecolumn;Etcher.Rasterreadsmetadata.title. The bake now projects the column the same way the live viewer does, so a named text or callout shape is no longer an empty box. - The burn is limited to the file’s owner, an Owner/Admin (honouring the active role), or a holder of the media permission — the same people who can edit the picture. A second session-end while an upload is in flight keeps the composition taken while the overlay is still on screen.
PhoenixKit 2.36.0. Install or update: {:phoenix_kit, "~> 2.36"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.