Fixed the upload photo portion.