Displaying Pictures Problems
- From: "SteadyEddie" <edd_edwards@xxxxxxxxx>
- Date: Fri, 25 Nov 2005 10:54:18 GMT
I am ahving trouble trying to get PHP to display a Jpeg Image. I ahve set
the contect type to image/jpeg at the top of the page. i have the gd2
modulde installed.
when the im is displayed it shows as a random jumble of letters and
characters instead of the image.
this is the code im using:
<?php
$im = imagecreatefromjpeg("folder/pictures/picture1.jpg");
imagejpeg($im,"", 75);
imagedestroy($im);
?>
.
- Follow-Ups:
- Re: Displaying Pictures Problems
- From: Stefan Rybacki
- Re: Displaying Pictures Problems
- Prev by Date: Re: getting stuck up with setcookie
- Next by Date: Re: Displaying Pictures Problems
- Previous by thread: QuickForm Help Please
- Next by thread: Re: Displaying Pictures Problems
- Index(es):
Relevant Pages
|