Change the way the images are uploaded