Re: storing images in database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could be lots of things, improper/missing headers is most likely, although 
it's not clear from your statement if you're displaying the binary data 
directly in the page or are you calling an image output script in an image 
tag. (as you should)

Show some code and the answer will be clear. 

-Micah 

On Tuesday 25 January 2005 09:11 am, Chip Wiegand wrote:
> I have stored a .jpg image in a database, then when I make a sql statement
> to display that image on a web page all I get is the cryptic code in place
> of the image. I am storing it in a row configured as a blob, mime type
> image/jpeg and binary (using phpMyAdmin). What am I doing wrong?
> Regards,
> Chip

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux