Some clean up of image upload. Made dev use file location in upload.