First of all, thank you for your reply. The problem was the file properties changed when it was uploading to the server. But now, I've got a new problem.....
I want to save the images that the user creates and I can't rename the file and copy to other directory...
I've got the final image:
imagejpeg($resize, "", 100);
and later i try to rename it and copy (using rename and copy) and It doesn't work.... do you know how could I save the $resize image on "postcards" folder rename it previously to "image"+$counter+".jpg";
Please help me!
Thanks