I am trying to get image from one IP camera, which has url like http://publicip:1234/mypicture.jpeg
But how do i attache that image to this as background?
$im = imagecreatefromjpeg('http://publicip/video/meandmyCPU.jpeg');
//$black = imagecolorallocate($im,255,0,0);
// s x y
Imagestring($im,19,70,70,'MY NAME IS!',$black);
header('Content-type: image/png');
imagejpeg($im);
imagedestroy($im);
But it does not show my texts.