Pregenerate thumbnails before uploading file
Tom Raganowicz
At the moment in order to generate thumbnails we download the file (decrypt if required), create a thumbnail, write to local cache and the upload it back to
.thumb
location.The issue is that this also happen for newly uploaded files, so the user uploads file, only for S3Drive to download (and decrypt if required) it back in order to generate a thumbnail.
Downloading file back in order to generate thumbnail wouldn't be required if we've had generated thumbnail locally before uploading file.
In a first iteration, we'll generate local thumbnail for files/folder upload and media backup functionality.
In a later stage we'll modify our integration with Rclone, so we can also generate thumbnails for Sync / Mount.
For generating thumbnails at all, please see existing item: https://s3drive.canny.io/feature-requests/p/generate-thumbnails which as of 17th Jan 2024 is a work in progress and expected to be released end of January.