write photos uploader/display