lee
|
Posted: 10/21/2003, 1:46 AM |
|
Hi everyone,
I am using persists jpeg in conjuntion with persists uploader..I would like to know if its possible to pull images direct from the database as blob fields.
can any one help.
|
|
|
ryan
|
Posted: 10/21/2003, 4:19 AM |
|
Yes it is possible using
RAW if it is Oracle
BINARY if it is SQL Server
OLE Object if Access 2000
Pulling out from database you use Response.BinaryWrite
(http://www.freevbcode.com/ShowCode.Asp?ID=893)
or other trick (http://www.serverwatch.com/tutorials/article.php/1493391)
I would prefer linking the image filename and save the image onto a special directory(folder) and reference that using {filename}.gif because blob consumes database space but it's your shot man :)
|
|
|
|