Let's say I uploaded an image. I can get its temp directory, then save it with move_uploaded_file()
but what if I wanted to also create a thumb and save both in some folder?
I know how to save the uploaded image, but I don't know how to start manipulating an image and save it after creating a thumb.