![]() |
|
printAlbumZip acts strange - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printAlbumZip acts strange (/thread-9181.html) |
printAlbumZip acts strange - mrproxy - 2011-10-21 Hi all! I have added printAlbumZip to template so that viewer can download all images in one zip file! Everything works great but for some albums I got a zip file that is broken and size is only few kB! Does any body else have noticed this?! Maybe any ideas how to solve the problem!? Thanks! Janis printAlbumZip acts strange - acrylian - 2011-10-21 Depending on the file size of all images within an album and therefore the overall album size your server might not be able to create the zip file. You need to have the server RAM to do so (not the disk space). printAlbumZip acts strange - Phase2 - 2011-10-21 I had a similar problem so I created a plugin that is able to stream zip-files and doesn't need build them before sending. I have to do some more testing though before I'll make it available to the public. But chances are good I'll release it later this weekend. There are some limitations but I'll explain them on release. But as you say there maybe only albums affected that are uploaded via ftp. It could be that php has no write access to these folders, which it needs if i remember correctly, as a temporary .zip file is created inside the related album folder. But maybe acrylian can confirm this as I'm not sure if those files were created anyways or only with caching enabled. printAlbumZip acts strange - acrylian - 2011-10-21 @Phase2: Yes, if the persistent archives option is checked the zip archive is save within the album's folder. Otherwise it is created everytime (less efficient obviously). @mrproxy: Maybe there are also other invisible files uploaded via ftp that may cause problems. Maybe take a look. |