Hi Warren, Thanks for your reply.
I imported the blobs into mysql database. They were in jpeg format. Phil. "Warren Vail" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You didn't say how the images were placed in the db but you did indicate they were jpeg format. > > I'd try; > > fetching the db column in to a string variable; > > then; > > $im = imagecreatefromstring($imagestring); > header ("Content-type: image/jpeg"); > imagejpeg($im); > imagedestroy($im); > > good luck, > > Warren Vail > > -----Original Message----- > From: Phil King [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2003 11:54 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Displaying Blobs by a newbie > > > Hi All, > > I have some images in a mysql database. I wish to display all these images > on a PHP Page. > > I have created a query to retrieve all the images from the database but all > that is displayed is characters. > I have the Content-Type as image/jpeg in the header of the page to display > the images. > > Can anyone advise me or point me in the right direction to rectify this. > > Thanks very much. > > Phil. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php