[PHP] Re: php and images

2004-07-23 Thread Torsten Roehr
Roman Duriancik [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I have problem with jpg pictures in php pages. Path and picture is
 correct but when i want  see picture in php script  picture don't show.
 I use PHP4.3.4 on apache server 2.0.44 on Windopws 2000 Server.

 Thanks for help.

Check if your JPEGs are in CMYK color mode - must be RGB. Does your browser
display the image when you open it with File / Open...?

Regards, Torsten Roehr

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



[PHP] Re: PHP, DB, images, ODBC

2002-03-27 Thread Cirstoiu Aurel Sorin

You will have to build another page that receive a parameter(let's say the
index of the pic from the database) and return the image.
In this page you'll have to set the Content-Type first using:
header(Content-Type: image/jpeg) or
header(Content-Type: image/gif) or
header(Content-Type: image/png)
depends of what you need.
After that you will find the pic in the database and return it with echo.



--
-
Cirstoiu Aurel Sorin
Interakt Online Support
http://www.interakt.ro/

David Juras [EMAIL PROTECTED] wrote in message
003101c1d4be$d4e77d60$4d01a8c0@Yxendis">news:003101c1d4be$d4e77d60$4d01a8c0@Yxendis...
Hi,
I'm working with PHP and ODBC to get images stored in a database (Blob
fields). But I experiment little problems to display these pics. Has anyone
any information about PHP/ODBC/images ?

Thanks,

Bilbo





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