note 25002 rejected from ref.image by betz
| From: | betz@php.net | Date: | Sat, 07 Sep 2002 16:12:51 +0000 |
| Subject: | note 25002 rejected from ref.image by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36301@lists.php.net to get a copy of this message | ||
Greetings.
I'm trying to output an image to the browser:
<?PHP
$im = imagecreatefromjpeg ("test.jpg");
$w=imagesx($im)
$h=imagesy($im)
print "Width:".$w."<br>";
print "Height:".$h."<br>";
(SendImgtoBrowserVariousCodeTried)
--------
Output in browser:
Width:400
Height:400
(Here comes either Raw Data or a broken img link or nothing at all, depending on what I've
tried.)
------------
Now trying the varoius examples given it here it still only likes to output raw data, or simply tell
me i got a broken image link.
What have I missed...or do I need to pay closer attention to what I'm reading.
Originaly the setting is me wanting to store an img to a database and then output it so I need to
understand how-to output it into the browser at various places etc...
Am I being somewhat clear at what the problem is?
Help me please? :-)