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.
If you enjoyed this post, make sure you subscribe to my RSS feed!
3 Responses
Poonam
November 21st, 2004 at 7:18 am
1Very cool. Photos are great. Lots of photos behind the wheel.
I guess you wouldn’t want to know what the gas price here is?
$1.72 at WalMart’s gas station. 
Puneet
November 21st, 2004 at 9:45 am
2Cool indigenously made photo blog script good going
earlier I found a script for moblog easymoblog but then it was separate software which I had installed but now I am think should I install the one which I found for movable type which can be incorporated in the blog which already
Gaurav
November 21st, 2004 at 1:03 pm
3Poonam u makin me jealous :|. I think they r cheapest in Texas? BTW I never knew that Walmart’s have gas stations too.
Puneet, I found a couple of plugins for WP but they were not fully solving my purpose. Moreover I didn’t wanna add description for every pic so I named the pic as its description and parse it to show it on the page. I never used MT so dunno much about it. Is it better than WP?
RSS feed for comments on this post · TrackBack URI
Leave a reply
Categories
Archives
Links
Meta
Calendar