Updated to support photo uploads.