Posted by J.O. Aho on 11/26/05 00:51
SteadyEddie wrote:
>
> 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);
> ?>
lets call this script for image.php
> 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?
put a
<img src="image.php">
where you want the picture to appear.
//Aho
Navigation:
[Reply to this message]
|