mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-02-19 23:03:50 +08:00
Merge pull request #424 from linuxserver/add-heic
Added imagemagick-heic and updated readme
This commit is contained in:
commit
5e54e9ed78
@ -18,6 +18,7 @@ RUN \
|
||||
ffmpeg \
|
||||
gnu-libiconv \
|
||||
imagemagick \
|
||||
imagemagick-heic \
|
||||
imagemagick-svg \
|
||||
libxml2 \
|
||||
php83-apcu \
|
||||
|
||||
@ -18,6 +18,7 @@ RUN \
|
||||
ffmpeg \
|
||||
gnu-libiconv \
|
||||
imagemagick \
|
||||
imagemagick-heic \
|
||||
imagemagick-svg \
|
||||
libxml2 \
|
||||
php83-apcu \
|
||||
|
||||
@ -68,6 +68,34 @@ app_setup_block: |
|
||||
|
||||
If (auto) installed, those built-in packages may cause instability and should be removed.
|
||||
|
||||
### HEIC Image Previews
|
||||
|
||||
In order to enable HEIC image preview generation you will need to add the following to your `config.php` file in your `config/www/nextcloud/config' directory;
|
||||
|
||||
```
|
||||
'enable_previews' => true,
|
||||
'enabledPreviewProviders' =>
|
||||
array (
|
||||
'OC\Preview\PNG',
|
||||
'OC\Preview\JPEG',
|
||||
'OC\Preview\GIF',
|
||||
'OC\Preview\BMP',
|
||||
'OC\Preview\XBitmap',
|
||||
'OC\Preview\MP3',
|
||||
'OC\Preview\TXT',
|
||||
'OC\Preview\MarkDown',
|
||||
'OC\Preview\OpenDocument',
|
||||
'OC\Preview\Krita',
|
||||
'OC\Preview\HEIC',
|
||||
),
|
||||
```
|
||||
|
||||
You may need to log out and back in for the changes to come in to effect.
|
||||
|
||||
This fix was sourced from [Nextcloud Documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#enabledpreviewproviders)
|
||||
|
||||
Nextcloud state that HEIC preview is disabled by default due to performance or privacy concerns, so enable this at your own risk.
|
||||
|
||||
### Custom App Directories
|
||||
|
||||
If you are [using custom app directories](https://docs.nextcloud.com/server/latest/admin_manual/apps_management.html#using-custom-app-directories) you will need to make the custom folder(s) you are using available to the web server. The recommended way to do this with our container is to add a volume. Ex:
|
||||
@ -81,6 +109,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "05.04.24:", desc: "Added imagemagick-heic. Manual update to `config.php` required - see above."}
|
||||
- { date: "02.04.24:", desc: "Existing users should update: site-confs/default.conf - Add support for the Client Push (notify_push) plugin and the [new mod](https://github.com/linuxserver/docker-mods/tree/nextcloud-notify-push)."}
|
||||
- { date: "22.03.24:", desc: "Add imagemagick-svg module."}
|
||||
- { date: "06.03.24:", desc: "Rebase to Alpine 3.19 with php 8.3."}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user