HI,
Im trying to use the GD functions to eventually create thumbnails of images that users have uploaded.
But at the moment i am having problems with geting it to just output an image.
Heres the code i have
<?php
Header("Content-Type: :mage/jpeg");
$img_name = "test.jpg";
$src_img = ImageCreateFromJPEG($img_name);
ImageJPEG($src_img);
ImageDestroy($src_img);
?>
When running this code I get no output (image is not created as far as i can see)
I have checked the status of GD and php and they are both installed properly (with jpeg support).
As for this problem i am stumped, any ideas
Thanks
Matt