I completed the gallery on which I was working a few days ago. I was looking for some automatic mechanism which would make some directories password protected but it didn’t seem practical because of the way how I wanna file my pics.
So now I created two galleries one for family, which is pwd protected and has almost all the pics and the second is for everybody’s viewing and doesn’t contain any personal/family pic. Basically the first one is a superset of the second. The URI is here and it is also provided in the list of links on ur right.
What does the gallery code do?
– It presents the pictures saved in different directories named as that day’s date (it can be something else too).
– It creates the thumbnails in a seperate dir when the directory is viewed for the first time.
– I had high resolution pics from my digi cam ranging from 400k to 1 mb which would kill a dial up user. keeping them as it would take up lot of space as well as bandwidth and changing each pic’s resolution/size isn’t practical. So I wrote a script which would recreate the image as a low resolution/size image and overwrite the original image automatically when one views the image for the first time. It would save me lot of space, b/w and time.
– Added the descriptions which come from the filename.
I am not releasing the code as it is too much customized for myself and is not that userfriendly. I have to change various permissions (CHMOD), for the scripts to work automatically, whenever I upload images. If all the steps are not followed then, the site shows a bunch of error messages. But if someone needs the code for his/her own use or to incorporate parts of it in someother project then either drop a comment here or contact me.