![]() |
|
delete not empty albums and better pre-cache - 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: delete not empty albums and better pre-cache (/thread-3321.html) |
delete not empty albums and better pre-cache - minitoe - 2008-07-18 Hi! Ive used zp for a couple days now and ive noticed some stuff that could be better: [b]Deleting an album that still has images in it or a hidden folder.[/b] [b]Better pre-cache.[/b] 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 delete not empty albums and better pre-cache - acrylian - 2008-07-18
delete not empty albums and better pre-cache - minitoe - 2008-07-18 Re 1: Yeah, ive tried out a lot of galleries on the internet and one made some _thumbs and .thumbs folders with the user/group www-data, so it got hard to delete it (had to google a phpscript) with ftp/bash. Re 2: I dont really want a 3rd party program, i just want to upload and forget Anyway, my suggestions for contemplation! Ive got alot of ideas but lack the know-how delete not empty albums and better pre-cache - sbillard - 2008-07-18 What PHP errors did you get deleting albums? ZP attempts to delete all files in the album. Of course, if it does not have permissions to delete them.... delete not empty albums and better pre-cache - minitoe - 2008-07-18 It most likely was permissions, i didnt check closer and the only stuff i tested just now was problems with permissions. delete not empty albums and better pre-cache - acrylian - 2008-07-19 minitoe: The clue about the precaching is that you actually don't need to precache the complete albums. It is done on the fly while someone visits an image on your gallery the first time. For that one person only it will be a little slower but from that on it is cached forever unless you change the image size. delete not empty albums and better pre-cache - minitoe - 2008-07-19 acrylian: And to resize the images prior to upload. But, as i said in a previous post, id like to upload and forget. I guess i could find a script to resize, but im also using my site to store the originals, which would create duplicates and thats just a waste of space Anywho, it was a request, im obviously voted down delete not empty albums and better pre-cache - trisweb - 2008-07-20 minitoe - have you tried just uploading and forgetting? There's no need to resize as long as it's going fast enough for you and you're not seeing any problems. We recommend that for a web gallery you keep them small, as everything will be faster that way, but it's not necessary as long as your server has the horsepower to process large images. delete not empty albums and better pre-cache - minitoe - 2008-07-20 trisweb: it takes ~27sec to cache and load 18 images from browsing the gallery (1 page of an album). Each of these images are ~3Mb. So yeah, upload&forget works when just browsing the gallery. delete not empty albums and better pre-cache - sbillard - 2008-07-20 Well, you do have the option of using the precache on an album basis. Or, as many have recommended, just let things happen naturally. delete not empty albums and better pre-cache - minitoe - 2008-07-20 wait what? there is something like that?.. uuuhm, well.. lets redefine then: when going through setup, could it be possible to test the server ability to pre-cache, and thus warn against or right out disable pre-caching everything? As pre-cache was just about the first thing i pressed, and i think theres many more that do the same. delete not empty albums and better pre-cache - sbillard - 2008-07-21 I gather that you pressed the button before reading the pop-up hint. 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. delete not empty albums and better pre-cache - sanju121 - 2009-06-01 Just read at www.pathtoolong.com delete not empty albums and better pre-cache - sbillard - 2009-06-01 Sorry. You will really have to work with us if we are to find this problem. So far you are the only one reporting such an issue, so most likely it is something on your site or that you have done with Zenphoto. We are not likely to be able to guess what. delete not empty albums and better pre-cache - acrylian - 2009-06-02 And here is a detailed text why it is actually not necessary to precache: |