![]() |
|
Feature-request: Download complete set as zip - 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: Feature-request: Download complete set as zip (/thread-1220.html) |
Feature-request: Download complete set as zip - weed - 2007-02-28 Hi zenformuns i have to admit, i am very sorry for my bad english I think it would be nice, to be able to download a whole Gallery as a zipfile. Gallery2 has such a feauture and it is used very often for our photo galleries. Maybe it is not very difficult to add; a zip on the fly for a complete folder would be enough. A Download basket is - imho - oversized, a simple click to get a whole folder would be a cool hack :-) My PHP skills are as bad as my english, otherwise i would do such a hack myself ;-) Feature-request: Download complete set as zip - trisweb - 2007-02-28 Excellent idea! Submit it as an enhancement in the bugtracker :-) Feature-request: Download complete set as zip - demosthenes705 - 2007-03-05 I got some code, if you would like to try it. It does use a created zip class that someone made, I am not sure how you feel about using other peoples work in your own work. Feature-request: Download complete set as zip - weed - 2007-03-05 sound cool - where to find it? Feature-request: Download complete set as zip - trisweb - 2007-03-05 Is the Zip class licensed under the GPL? Then it's ok! Feature-request: Download complete set as zip - demosthenes705 - 2007-03-05 http://www.devco.net/code/zipfile.inc.txt there is the code. Here is what I did `function getAlbumListForZip(){ $albumList = mysql_query("SELECT echo ''; echo '[hr]'; echo 'Album to create ZIP File From: '; while ($albums = mysql_fetch_array($albumList)){
} echo ''; echo "r echo "r echo ''; }` then I did this `}else if ($page == "createzip"){
if (isset($_POST['all'])){
";
} if (isset($_POST['submit'])){ //print_r($_POST);
}` If you need help, i can explain Feature-request: Download complete set as zip - demosthenes705 - 2007-03-06 sorry for the double post, i added a table in the albums table called zipFile, its varchar 50. there is probably a better way to do that but.... then in album.php (under theme) ` Feature-request: Download complete set as zip - mannkind - 2007-04-15 I was interested in this feature as well, so I decided to give it a try. The code given above didn't appeal to me, so I did something a little different. I'm not caching the zipfile nor am I making any trips to the database. Changes:
You can see the example at: http://mu.thenullpointer.net Steps:
Feature-request: Download complete set as zip - lordcoffee - 2007-04-17 @ mannkind: Your changes sounds very easy to do. Is it possible to get your changes? Feature-request: Download complete set as zip - mannkind - 2007-04-19 Well, I would be willing to provide the changes I made. It would be provided as-is without warranty. Feature-request: Download complete set as zip - lordcoffee - 2007-04-19 I need no warranty ;-) Thanks for sharing! Feature-request: Download complete set as zip - lordcoffee - 2007-04-23 @mannkind: Did you upload some files anywhere? It would be very nice to have this feature. Feature-request: Download complete set as zip - mannkind - 2007-04-24 @lordcoffee I apologize for not responding sooner. The patch is at http://www.zenphoto.org/trac/wiki/ZenphotoHacks#AlbumZip Hopefully that'll work for you. Works for me haha Feature-request: Download complete set as zip - lordcoffee - 2007-04-24 @mannkind: Thanks one more time! I have a little problem with that "patch-thing". I've saved the code in a "zp108_zip.diff"-file. I can upload it via ftp into my zen folder. But how do "run patch -p1 < zp108_zip.diff"??? Sorry for noob-questions :-) Feature-request: Download complete set as zip - dwn - 2007-04-24 @lordcoffe: that command will make patch to your zenphoto installation according to zp108_zip.diff file. What you need is to have some kind of SSH or TELNET access to your server and run that command in shell. If you can't do this, than let me know and i will upload modified files (for latest SVN) somewhere for you. @mannkind: i am using latest SVN code and patching failed on it. so i did it manually, i can give you output of it, if you want. but i don't have it right now with me. so let me know. everything else works fine - thanks for sharing the code Feature-request: Download complete set as zip - mannkind - 2007-04-25 @lordcoffee, @dwn Well there I go, assuming things. You'd think I'd know better.
sigh I apologize lordcoffee and dwn. Feature-request: Download complete set as zip - xemino - 2009-08-07 is there a plugin for this? couldn't find anything. i would like to integrate this download function. Feature-request: Download complete set as zip - Guest - 2009-08-08 i am using latest SVN code and patching failed on it. so i did it manually, i can give you output of it, if you want. but i don't have it right now with me. so let me know. Feature-request: Download complete set as zip - acrylian - 2009-08-08 @xemino: You will have to add the function |