I try to display a jpeg image with the following command :
But it raises the following error (sorry it's in french) :
L'image « http://localhost/redim2.php?image=3
» ne peut être affichée, car elle contient des erreurs.
If I comment the instruction header(), the image is displayed with a lot of strange characters but it's displayed.
So what i have to change to make it works ?