Hi there
I´m new to this and I can´t make my image work.
The code is following. And as you will discover it´s only output is [Broken link]. Can you pls help my to figure this out!!!!
<?php
// header
Header("Content-Type: image/jpg");
// set up image and colours
$im = ImageCreateFromJPEG("header2.jpg");
if ($im){
$black = ImageColorAllocate($im, 0, 0, 0);
$white = ImageColorAllocate($im, 255, 255, 255);
$text = "[innn]";
// write string
ImageString($im, 5, 5, 3, $text, $black);
// output to browser
ImageJPEG($im);
}
else
{$tala = "[Broken link]";echo $tala;}
?>