Well, you're halfway there...
You just have to separate the image-script from the rest like this:
image_spewing_script.php:
?php
$x = 130;
$y = 100;
$quality = 75;
$thumbnail = imagecreate($x, $y);
$originalimage = imagecreatefromjpeg('test.jpg');
Thanks for your reply. Its a bit further forward but still not working. I
have split the files and the output now shows the text part of 'img
alt=text src=...' ie it won't recognise the image. Anything else you can
think of?
This e-mail is
09, 2002 12:30 PM
To: [EMAIL PROTECTED]
Cc: Php (E-mail)
Subject: RE: [PHP] PHP Image Functions
Thanks for your reply. Its a bit further forward but still
not working. I
have split the files and the output now shows the text part of 'img
alt=text src=...' ie it won't recognise the image
That's the winner!! Everything working good now. Thanks again.
This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no
4 matches
Mail list logo