![]() The feature that solves our problem is the ability to read the original capture date of a photo and apply it to both the last modified attribute and the filename. ![]() This powerful command-line application allows you to read and manipulate the EXIF data of a photo. That’s where the wonderful exiftool comes in. To be sure that all photos in Nextcloud display in chronological order, we need to get creative. This is great until you get to photo albums, where the EXIF metadata of the photo is more relevant to sorting than the filename or modified date. Nextcloud is first and foremost a file sharing application, so it views files just as your file system would. UPDATE : Added methods to run the script on both client and server systems. NOTE: If you have a specific version of PHP installed beyond your distro’s default, you’ll want to specify that version of the binary above (e.g. */10 * * * * /usr/bin/php -f /var/www/nextcloud/occ preview:pre-generate Set the default thumbnail sizes by using the following occ commands: You can tweak them depending on your needs. Note: I’ve found that the below settings provide a good balance of resolution, performance, and storage usage for my environment. SSH into your Nextcloud server and follow the instructions below. Fortunately, Preview Generator is highly configurable. Once you add a lot of photos, you’ll notice that these previews eat into your storage significantly (sometimes more than the photos themselves). While the default settings work well from a performance standpoint, they cause Nextcloud to generate a huge number of previews and thumbnails for each photo. Click Download and enable.Ĭonfigure preview and thumbnail settings. From a Nextcloud account with admin permissions, navigate to the Apps section and locate Preview Generator under the Multimedia category.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |