First photo uploading functionality