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:

    
  1. Re: Serving images from databases (Grant Hulbert 1998)
  2. Re: Serving images from databases ( 1998)
  3. Re: Serving images from databases (Christer Olsson 1998)
  4. Re: Serving images from databases (Grant Hulbert 1998)
  5. Re: Serving images from databases (Thomas Wedderburn-Bisshop 1998)
  6. Re: Serving images from databases (Dave MacLeay 1998)
  7. Re: Serving images from databases (Christer Olsson 1998)
  8. Re: Serving images from databases (Kenneth Grome 1998)
  9. Re: Serving images from databases (Grant Hulbert 1998)
  10. Re: Serving images from databases (Thomas Wedderburn-Bisshop 1998)
  11. Re: Serving images from databases (Bob Minor 1998)
  12. Re: Serving images from databases (Kenneth Grome 1998)
  13. Re: Serving images from databases (Christer Olsson 1998)
  14. Re: Serving images from databases (PCS Technical Support 1998)
  15. Re: Serving images from databases (Christer Olsson 1998)
  16. Re: Serving images from databases (Kenneth Grome 1998)
  17. Re: Serving images from databases (Sven U. Grenander 1998)
  18. Re: Serving images from databases (PCS Technical Support 1998)
  19. Re: Serving images from databases (Christer Olsson 1998)
  20. Re: Serving images from databases (Kenneth Grome 1998)
  21. Serving images from databases (Christer Olsson 1998)
>>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)