auto save image thumbnails when uploading image
remove unused file