Re: Serving images from databases
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16932
interpreted = N
texte = >>I am experimenting with serving images directly from databases and I am>>facing some strange problems.>>>>If I [INCLUDE] a .gif file in a template WebCat converts all ASCII 0 to>>ASCII 32 and most but not all ASCII 13 to ASCII 10, and of course the>>result is a broken image.>>>>I serving this with a [returnraw] context including correct Content-type,>>content-length headers and so on.>>>Cool idea!>>Try using [include file=some.gif&raw=T] instead of a normal [include>some.gif] tag, maybe that will keep those ASCII characters from being>changed ... :)I have tried that, too, with no luck. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Associated Messages, from the most recent to the oldest:
>>I am experimenting with serving images directly from databases and I am>>facing some strange problems.>>>>If I
[include] a .gif file in a template WebCat converts all ASCII 0 to>>ASCII 32 and most but not all ASCII 13 to ASCII 10, and of course the>>result is a broken image.>>>>I serving this with a
[returnraw] context including correct Content-type,>>content-length headers and so on.>>>Cool idea!>>Try using [include file=some.gif&raw=T] instead of a normal [include>some.gif] tag, maybe that will keep those ASCII characters from being>changed ... :)I have tried that, too, with no luck. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Christer Olsson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
External Images (1998)
Can [writefile] files be served thru webcat? (2000)
TCP Connect (2000)
Grep and removing text (2002)
Database Connectivity (1999)
TRAINING videos - Prove IT. (1998)
Updated ClipText for Edit Plus 2 (2003)
mass mailing (1998)
Comments in db? (1997)
Hiding Contexts (2000)
[WebDNA] HTML [sendmail] revisited (2009)
Running _every_ page through WebCat ? (1997)
Lost and Recovered. (1998)
database freeze (1997)
Re:WebCatalog f2 Installation (1997)
[WebDNA] WebDNA7 site randomly dropping tags (2011)
Database not found in Include (2002)
Adding order weight (1999)
Follow-Up to: Removing [showif] makes a big difference in speed (1997)
GuestBook example (1997)