Su che server hai il dominio?
Windows o Linux?

io ti consiglio di vedere quest'esempio:
Codice PHP:
   $dest_hires "../images/artistsphotos/".$imageName."h.jpg";
        
$dest_lowres "../images/artistsphotos/".$imageName."l.jpg";
        
$dest_thumbnail "../images/artistsphotos/".$imageName."i.jpg";

        
/*upload full size image to site - if it is hi res we do not want to manipulate it
        want to leave all qualit in tact.*/
        
move_uploaded_file($_FILES["fileartimg"]["tmp_name"],"$dest_hires");

        
$ims getimagesize($dest_hires); //now we have dimensions of original image...
   
        /******creating lower res image******/
        
$newwidth=ceil($ims[0]/2);//half the width of original file - use ceil() to avoid decimals.
        
$newheight=ceil($ims[1]/2);//half the height
   
        
$img imagecreatetruecolor($newwidth,$newheight); //low res img - always use truecolor to prevent any 'wierd' colour effects.
        
$org_img imagecreatefromjpeg($dest_hires); //load in hi res
   
        
imagecopyresized($img$org_img0000$newwidth$newheight$ims[0], $ims[1]);
        
imagejpeg($img,$dest_lowres,80);//save to file low res img.
        
imagedestroy($img);