Create Album Zip

I am trying to put a link so that users can download a zip file of an entire album. I placed printAlbumZip() in my theme, but it fails. Upon investigation it seems that it requires the function createAlbumZip() (i.e. index.php) but it does not seem to exist anywhere in the code.

Am I using printAlbumZip() incorrectly, or am I right to think that createAlbumZip() is missing?

Comments

  • Update: I have found the createAlbumZip function, which is related to the zipfile plugin. This still leaves me wondering why it doesn't work. The site is http://jeff.gostick.ca/photos and the zip link can be found at the bottom of any album page.
  • This is because I think there is an error in printAlbumZip, the link should be "&zipfile" at the end, instead of "?zipfile".

    Still, it produces corrupted zip files for me. Is the feature broken ?
  • cyril42e:

    You are correct about the link error. In addition, this capability has "hard coded" in the albums folder name, which is not nice.

    Finally, it does not seem to handle subalbums and gets memory exceeded errors on other albums.

    So, I think the feature does not work. I have created a ticket in Trak.
Sign In or Register to comment.