anyone know why my code just outputs one of the error displaying jpg picture(the red x in the box)
$im = imagecreatefromjpeg("./images/coupon.jpg");
$black = ImageColorAllocate ($im, 0, 0, 0);
$white = ImageColorAllocate ($im, 255, 255, 255);
ImageTTFText ($im, 20, 0, 10, 20, $white, "./GARA.TTF", "Testing...");
imagejpeg($im);
ImageDestroy ($im);
its a pain in the ass, thanks for any help