Skip to content

feat: add an imagor module for heic, heif and avif previews - #407

Merged
micbar merged 1 commit into
mainfrom
feat/imagor-previews
Oct 27, 2026
Merged

micbar merged 1 commit into
mainfrom
feat/imagor-previews

Conversation

@dschmidt

@dschmidt dschmidt commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds thumbnails/imagor.yml. It starts imagor on an internal network, points the webdav service at it as the preview generator and announces heic, heif, avif and their sequence types, so previews show up for them in the file list and the preview app.

The OpenCloud image ships no libheif on purpose, so its own generator answers 406 unreadable image for a heic, heif or avif. imagor's image reads them.

Documented in README and .env.example, image tag tracked by renovate, pinned to imagor 1.9.14.

Needs OpenCloud 9.0.0 or newer: WEBDAV_THUMBNAILS_GENERATOR_URL and OC_THUMBNAILS_ADDITIONAL_SOURCE_TYPES are in that release. Related: opencloud-eu/web#4009, which makes the web client open the three formats.

How Has This Been Tested?

  • docker compose -f docker-compose.yml -f thumbnails/imagor.yml config
  • imagor started from the module alone: healthy, a heic renders to jpeg from the internal network, no route to the outside
  • end to end on a dev stack with this module's imagor and the announced types: a heic, an avif and a webp uploaded over webdav report oc:has-preview 1, and their previews answer 200 as image/jpeg at 64, 384 and 1024

@dschmidt dschmidt self-assigned this Oct 26, 2026
@dschmidt dschmidt changed the title Add an imagor module for heic, heif and avif previews feat: add an imagor module for heic, heif and avif previews Oct 26, 2026
@dschmidt
dschmidt marked this pull request as ready for review October 26, 2026 14:05
@dschmidt
dschmidt requested review from butonic and micbar October 26, 2026 14:18
imagor runs on an internal network, the webdav service points at it as the
preview generator, and the three formats plus their sequence types are
announced, so previews show up in the file list and the preview app. The
OpenCloud image ships no libheif on purpose, so its own generator refuses
them. Documented in README and .env.example, image tag pinned and tracked by
renovate. Needs OpenCloud 9.0.0 or newer.
@dschmidt
dschmidt force-pushed the feat/imagor-previews branch from dae2571 to 694b6ef Compare October 27, 2026 14:43
@micbar
micbar merged commit c5c3fbd into main Oct 27, 2026
@micbar
micbar deleted the feat/imagor-previews branch October 27, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants