Closed ostasevych closed 6 months ago
I use OnlyOffice in docker.
The previews are coming form OnlyOffice. I believe OO has an independent option to disable preview generation for document formats it is handling - i.e.
I use OnlyOffice in docker.
The previews are coming form OnlyOffice. I believe OO has an independent option to disable preview generation for document formats it is handling - i.e.
This is not related to OO.
This is not related to OO.
Can you elaborate?
This is OnlyOffice's Preview provider: https://github.com/ONLYOFFICE/onlyoffice-nextcloud/blob/master/lib/Preview.php
It registers itself to provide preview generation capabilities for the following formats:
These can only be disabled by toggling off previews in the OO Nextcloud app.
Hi! I have a need to create the thumbnails only for image files (png/jpeg/gif/bmp/tiff) in a specific folder. I have installed Imaginary in docker to make the preview generation easier (localhost @ port 9000). I use OnlyOffice in docker.
My config.php file includes the following preview generation settings:
When I try to apply the initial generation
./occ preview:generate-all
it creates thumbnails for office and pdf files, what I do NOT want the thumbnails are created. How to forbid explicitly generation of previews/thumbnails for office files?When opening a folder nextcloud through Imaginary generates the thumbnails, what I do not want to have, but only for image files.
There's no documented way to generate and pre-generate settings to create thumbnails/previews ONLY for specific folders, but not the rest. The other method of placing .nomedia file where they are not needed is useless, as I have to place it everywhere in fact.
Please, suggest what to do to achieve my goals. Thanks!