Photo upload added

Added support for uploading JPEG (.jpg) image files.