in this way we will keep original images. Not always good idea, maybe client do not need them, then you do not need to create thumb, you can resize original one.