Hi,
My main problem is that when I use the function ImageCreateFromJPEG it works with files smaller than 40,000 bytes or something but with files bigger than that, I get an error message that the picture I gave "is not a valid JPEG file". To make sure it's a matter of size, and not a corrupted file problem, I tried different pictures and always the same thing, over 40,000 bytes or something, it doesn't work.
So, is there any configuration I should do to allow php use bigger size files? Where should I make these changes?
Thank you,
Vincent
here is a portion of the code that I use:
$urlimage= "http://www.address.to.my.pictures";
$im = ImageCreateFromJPEG($urlimage);
$white = ImageColorAllocate($im, 0, 0, 0);
ImageString($im, 5, 0, 0, "blablabla", $white);
ImageJPEG($im);
ImageDestroy($im);