As of HAniS version 4.23, HAniS can now extract your images from a single ZIP file, instead of reading every image, individually from the server. This is possible using an external library, JSZip.
You may download a copy of the JSZip library file jszip.min.js
on this link, and doing a "Save link as".
(More information about JSZip is available at: http://stuartk.com/jszip)
zip_filename = yourzipfile.zip
which incidates the name of the ZIP file on your server. Note that if you have specified an image_base location, that will prefix this filename.
Normally, the filenames within the ZIP file should not contain any "directory" information (that is, the images should be at the top-level in the file).
zip_only = false
Normally, once you specify a zip_filename it is expected that all base and overlay images will be in the ZIP file. Any image not present, will be treated as "missing". However, by specifying a value of "false" (as shown), then if any image is not in the ZIP file, HAniS will attempt to fetch that image from the server in the usual manner.
zip_static = false
By default, it is assumed that your ZIP file is "static", so no "anti-caching" information will be added when the file is read from the server. However, if the contents of your ZIP file changes, use this parameter with a value of "false" to help insure the file is re-read from the server when an update is done.
(Thanks to Rick Kohrs of SSEC for these images!)
Return to main HAniS page
The JSZip library is Copyright© 2009-2016 Stuart Knightley
<stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/master/LICENSE