fixed the image upload - moving on to renaming and resizing