Member
Member
jayteegee   2007-12-03, 19:51
#1

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?

Member
Member
jayteegee   2007-12-03, 20:48
#2

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.

Junior Member
Junior Member
cyril42e   2007-12-22, 01:24
#3

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 ?

Member
Member
sbillard   2007-12-22, 02:21
#4

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.