So I've always liked the idea of being able to post photos taken with the camera on my mobile phone to my site. I've hacked together some ways to do this in the past using email. Recently, Apple launched a new gallery service on .mac that pretty much works the same way, but very cleanly. They also integrated upload access to the galleries into the iPhone, making it extremely easy to send photos to your .mac galleries from the phone. Email is the transport mechanism, but the process of uploading is very simple.

Another nice feature of the new galleries is "Photocasting" this basically means that each gallery exports an XML feed describing the photos in the gallery. The feed includes URLs to thumbnails, medium sized versions, and full size versions of each photo. This makes it very easy to integrate your .mac galleries into your own site.

I set up a gallery dedicated to iPhone images to be posted in the sidebar on my site (look right under recently seen). You can click a thumbnail, and a full version of the photo will pop up in a lightbox. You can shuttle back and forth within the lightbox, and the caption is displayed with each photo. I wrote up a quick tutorial for the 1% of iPhone owners that also have .mac accounts and PHP driven websites that use Smarty.