-
Notifications
You must be signed in to change notification settings - Fork 57
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
**Which Nextcloud Version are you currently using: 29
Is your feature request related to a problem? Please describe.
I use nextcloud to store my photos. There is gazillion of them and because of that, I've stored them to S3 storage account. The problem comes when accessing the directories containing the images. My nextcloud instance starts generating the previews. The generation causes responsiveness issues because: a) I'm running a VM with low end CPU b) the latency between my VM and the S3 storage and C) lots of images in the directory (they are grouped by month).
Now, this sounds exactly like a probmlem which preview generator has been made to solve.
EXCEPT:
It creates a lot of unnecessary files that I could just fine live without. Those files eat all my available (local) file space. I just want to have the minimum previews pre-generated, that is 64x64 and 256x256.
I've configured the system with:
occ config:app:set --value="64 256" previewgenerator squareSizes
occ config:app:set --value="" previewgenerator squareUncroppedSizes
occ config:app:set --value="" previewgenerator widthSizes
occ config:app:set --value="" previewgenerator heightSizes
Yet there appears to be files such as 2048-1536-max.jpg, 480-640-max.jpg, (basically anything XXXX-YYYY-max.jpg)
Describe the solution you'd like
I would like to have an option to disable the pre-generation of the *-max.jpg (or .png etc) files, thus saving a lot of space (and resources). Having (small) thumbnails available when browsing ancient directories will make the browsing experience better and if needed (ie. clicked on), then the nextcloud instance can create the requested image to generated at higher resolution.