Código PHP :
if(isset($_FILES["thumbnail"])) { $name_file = imagecreatefromjpeg(file_get_contents($_FILES['thumbnail']['name'])); $width_file=imagesx($name_file); $height_file=imagesx($name_file); $width_resize=220; $height_file=$width_resize; $width_file=$width_resize*imagesx($name_file)/imagesx($name_file); $img_destiny=imagecreatetruecolor($w,$h); imagecopyresampled($img_destiny,$name_file,0,0,$width_file,$height_file,$w,$h,$w,$h); imagecopyresized($img_destiny,$name_file,0,0,0,0,$width_file,$height_file,imagesx($name_file),imagesy($name_file)); imagejpeg($img_destiny,"content/img/pelicula/1/t.jpg",100); }
Pero no logro hacer que se guarde en dicha ruta