I've looked for ages for an answer to this, hopefully someone can help me out.

I need to upload a jpg and place two versions of the file into a directory
(1st reduced in size, 2nd reduced further in size (i.e. thumbnail))

The problem I have is that I can reduce and copy the first version using move_uploaded_file(), however, I can't access the image again as it's been uploaded, is it possible to save a copy of the image for a second resize and upload ?

Any help appreciated.