J'aimerais redimesionner des images par php mais j'ai qq petits problemes. Voici mon code :
$image = $_FILES['fichier']['tmp_name'];
$image_name = $_FILES['fichier']['name'];
$image_name = strtr($image_name, "ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ", "aaaaaaaaaaaaooooooooooooeeeeeeeecciiiiiiiiuuuuuuuuynn" );
$image_name=str_replace(" ","_",$image_name);
imagecopyresampled('$image',"photos/$image_name",0,0,0,0,350,262,imagesx($image),imagesy($image);
Merci d'avance !! ;-)