Files gallery 0.6.0 includes browser-based zip downloads and a new self-hosted assets option.
See demoBrowser-based zip downloads
Previously, Files gallery depended on the server PHP to zip files before serving to the visitor. This can be slow, and requires storing cached zip files on server, effectively doubling up on storage. Now, Files gallery will download and zip files directly in the browser, entirely bypassing the server PHP.
- No delays caused by server PHP processing the zip file.
- Does not store excessive
_files.zip
cache files in each directory on server. - Does not require refreshing cached zip files on server when folder content is updated.
- Performance benefit from downloading files that are already cached in browser or on CDN.
- Allows downloading "filtered items", and future "selected items" and multiple dirs.
Config option download_dir has now been assigned to new default
browser
.Self-hosted assets
By default, all Javascript and CSS assets are loaded from the JsDelivr CDN. This ensures that assets load fast regardless of the visitor's geographic location, and that Files gallery remains portable in a single file. In some cases however, it may be beneficial to self-host the assets on your own server.
- Allow Files gallery to work without internet connection.
- If JsDelivr CDN is slow or unreliable, for instance inside China.
- For other privacy reasons.
Fixes and improvements
- Added support for URL files, which allows you to display links [demo] [forum]
- Added Javascript config option
popup.video_autoplay
option [forum] - Added Javascript config option
popup.video_autoplay_clicked
. - Added fix to force video preview on iOS devices by using media fragments.
- Video in popup now has download button on mobile [forum]
- Fixed and improved Javascript config custom contextmenu buttons [forum]
?check=1
now tests for PHP mbstring, required to read multibyte chars in image IPTC [forum]- Fixed bug with
undefined
returned for preview images [forum] - Fixed login issue when server reports multiple IP's [forum]