Leave That Thing Alone Blog

Image resize, thumbnail creation, and Exif retrieval added to CFCPhotoBlog

By uploading an original digital JPG CFCPhotoBlog can now: retrieve the Exif information, resize the image, and create a thumbnail automatically. All of these features are optional, if you would like to retrieve the Exif, but upload a pre-sized photo and/or thumbnail you can still do that.

Like I said all of these new image features are optional. You might want the ease of uploading a single image and have it resized and a thumbnail created. But you also might want to upload a pre-sized image that you have optimized using more sophisticated image manipulation program (like PhotoShop). I wanted to add some nice features, but didn't want to take away any options.

Thanks to Drew Noakes who created the metadata extraction in java, this allows CFCPhotoBlog to automatically retrieve EXIF details from JPEG files.

I would also like to thank Mark Mandel who created the JavaLoader.cfc. The JavaLoader.cfc allows the java based Exif extraction library to be used by ColdFusion in a shared hosting environment.

To make all the upload features possible the upload photo screen had to be changed quite a bit, it now has a lot more options. Hopefully I made everything clear, please give me feedback/suggestions if not.

Download CFCPhotoBlog

Comments