photo uploader functions and display changed