$_FILES['file']['tmp_name'] + Cropping from the tmp Image
<p>I'm currently allowing users to upload an img and then I save the image as folows:</p>

<pre><code>        $tmp = imagecreatetruecolor($configWidth, $configHeight);
        imagecopyresampled($tmp, $src, 0,0,0,0,$configWidth,$configHeight,$origWidth,$origHeight);
        imagejpeg($tmp, $_SERVER['DOCUMENT_ROOT'].$folder.$newFileName,90);
</code></pre>

<p>I then show the image to the user so they can crop the image.</p>

<p>I wanted to ask if I could display the image for cropping without saving it - eg: could I show the image to the user for cropping from the tmp_name - the tmp php image?</p>

<p>I'm not sure if this is possible but it would avoid having to save an image that is then later deleted post cropping...</p>

<p>thx</p>
