Archives » August 4th, 2005

August 4, 2005

Photo Uploading Now Available

For the last couple of weeks I’ve been working on Photos From Around Carson, the online photo database at AroundCarson.com. I’ve added pictures from all over the area, but up until now, I’ve been the only one adding pictures to it. Kind of one-sided and boring, especially for me, since I’ve seen all these pictures before.


Cascade Lake

But, starting today, you (well, anyone who has ties to Carson City, NV…I’m trying to keep things local) can go to the Submit a Photo page and enter your own pictures into the database. All the photos will show up on the main photo page, newest ones at the top.

I wrote all this in PHP. It’s built on a database on the backend that stores info about the photographer, title, and description of the photo. Then it takes the uploaded photo, extracts the filename, stores the filename in the database, then creates three jpgs from the one original file. A 800px full version, a 400px small version, and a 155px thumbnail. It drops those three files in the photos directory, then uses the filename stored in the database to build <img> tags. A pretty slick system, and it seems to be working well. Doubtless there are still bugs in it, though, and I’m sure they’ll start popping up once the public gets a hold of it.

If you live near Carson, or you used to and you have pictures you want to show to the folks back home, go give it a try. Bug reports to my e-mail address.

Nope. Didn’t Do It

Remember last week when I said I wasn’t going to go out and get a cracked copy of Windows Vista to play around with? Well, I didn’t do it.

Totally didn’t.