Hi!
Ive used zp for a couple days now and ive noticed some stuff that could be better:
Deleting an album that still has images in it or a hidden folder.Maybe it just was my doing, but i got a couple PHP errors when zp stumbled upon some .hidden folders and some with images in it still. So, recursively travel the dirs hierarchy and on the way up, delete folders
Better pre-cache.Ive got some 5000 pics, pre-cacheing them all at once might be a bad idea, but if you do it albumwise (maybe if amount of pics in album is >=10) it shouldnt be to hard (and stay under my php's 30second script timelimit(?)), and then press "Pre-cache next album/page". Itd require some attention, but so be it.
On another thought, why not checkmark select the albums you want pre-cached?
Also, pre-cache seems slow, but i know filesize and maybe even GD has a say about it, cant wait for a choice of imagemagick too
I rather enjoy zp, it seems to have a light footprint yet robustly scripted and easy to work with. And i can upload albums via FTP
.
BR,
David
Edit: Fixed some spelling.
Comments
2. Regarding pre caching please read here (especially the posts by trisweb):
http://www.zenphoto.org/support/topic.php?id=3418&replies=14#post-20607
Re 2: I dont really want a 3rd party program, i just want to upload and forget
I can think of some options set so that zp checks the total size of the album and if its humongous in ratio to the amount of files, then do a "watched" pre-cache having to press next, or, if its possible, have the last pre-cached thumbnail trigger a function to load the next batch of images.
This is ofc only to alleviate the php script timelimit as the server will still be under a lot of load during pre-cache.
Re 2.2: Another idea is to resize the images first (to a resolution of choice) and then after resize, precache thumbs/smaller-than-original-images-images
Anyway, my suggestions for contemplation! Ive got alot of ideas but lack the know-how
Anywho, it was a request, im obviously voted down
What i requested was a better Pre-cache button in the admin part, as it loads every(?) image in the whole gallery, thus exceeding 30sec of PHP script time, causing PHP to force a stop of the script.
The server is a 2x P3 800Mhz with 768Mb RAM. Its not new, but works well as a webserver, and currently is all i can get a hold of.
I doubt that is worth doing. As Tris has said multiple times, "Let's not be preocupied with pre-caching." It is not normally necessary. Some people like to force all the images to be in the cache. If you are one of those people, you will see the server cost when you do it. If the cost of doing the whole gallery is too great, do just one album (subalbum) at a time. If even this level of pre-caching is too much for your server, change your mindset about needing to do pre-caching.
http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#22