Posted by SteadyEddie on 11/26/05 00:41
i tested this code at the very top of the page and got the pitcture to out
put correctly.
<?php
header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("bcmodels/gallery/AhrimanFront2.jpg");
imagejpeg($im, "", 75);
imagedestroy($im);
?>
So my problem now is how do i get an output to a specific part of the page
without having it change to a jumble of letters?
do i need to write a "select image" script? if so how would i set it up?
"SteadyEddie" <edd_edwards@yahoo.com> wrote in message
news:EiMhf.5647$0o2.439@newsfe3-gui.ntli.net...
>
>
> I set the content type at the top of the php document as i had "headers
> already sent errors" from putting it next to where i want the image
> outputted (if thats a word).
>
>
> "Stefan Rybacki" <stefan.rybacki@gmx.net> wrote in message
> news:3uoeo9F12dsa5U1@individual.net...
> > Where did you set the content type and how?
>
>
>
>
[Back to original message]
|