fix(nextcloud): enable the concrete image preview providers
OC\Preview\Image is only the base class, so since 2899cd5 no JPEG or
PNG preview could be generated ("No provider successfully handled the
preview generation").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
This commit is contained in:
parent
70c7175f35
commit
f1fc79269d
1 changed files with 7 additions and 2 deletions
|
|
@ -158,10 +158,15 @@ def config(metadata):
|
|||
'127.0.0.1',
|
||||
metadata.get('nextcloud/hostname'),
|
||||
],
|
||||
# concrete provider classes; OC\Preview\Image is only their base class
|
||||
'enabledPreviewProviders': [
|
||||
'OC\\Preview\\Image',
|
||||
'OC\\Preview\\Movie',
|
||||
'OC\\Preview\\BMP',
|
||||
'OC\\Preview\\GIF',
|
||||
'OC\\Preview\\HEIC',
|
||||
'OC\\Preview\\JPEG',
|
||||
'OC\\Preview\\Movie',
|
||||
'OC\\Preview\\PNG',
|
||||
'OC\\Preview\\WebP',
|
||||
],
|
||||
'preview_max_x': 1920,
|
||||
'preview_max_y': 1920,
|
||||
|
|
|
|||
Loading…
Reference in a new issue