Repository navigation
feat: add an imagor module for heic, heif and avif previews - #407
Merged
Merged
Conversation
dschmidt
marked this pull request as ready for review
October 26, 2026 14:05
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
force-pushed
the
feat/imagor-previews
branch
from
October 27, 2026 14:43
dae2571 to
694b6ef
Compare
micbar
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 imagefor 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_URLandOC_THUMBNAILS_ADDITIONAL_SOURCE_TYPESare 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 configoc:has-preview1, and their previews answer200asimage/jpegat 64, 384 and 1024