An improved image upload system would only accept the raw uploaded file and save it to the disk (maybe try to make a small thumbnail to ensure that the upload was successful). Later versions of the image could be created as needed when the individual (smaller) image sizes are requested.