Re: Serving images from databases

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16952
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 coneverts 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. > >HTML doesn't work that way, and certainly WebCatalog does not store binary >image data in its fields. You should use , and if >speed is what you want, then using an image caching server like FireSite or >RushHour will help the most.I have realized the fact WebCat doesn't store binary data very well ;-) But that's not what I'm trying to do (even if I for sure had loved if WebCat could do it).I am returning a [return raw] context and want to include the gif file in the respons (inside the [return raw] context). Shouldn't WebCat serve an [INCLUDE] file without changing it? ************************************************************* 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 coneverts 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. > >HTML doesn't work that way, and certainly WebCatalog does not store binary >image data in its fields. You should use , and if >speed is what you want, then using an image caching server like FireSite or >RushHour will help the most.I have realized the fact WebCat doesn't store binary data very well ;-) But that's not what I'm trying to do (even if I for sure had loved if WebCat could do it).I am returning a [return raw] context and want to include the gif file in the respons (inside the [return raw] context). Shouldn't WebCat serve an [include] file without changing it? ************************************************************* 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:

[WebDNA] [announce] WebDNA Site and Store (2008) Mac Vs WindowsNT (1997) calculating tax rates, mail order solutions and version 2 (1997) WebCAT has the devil in it! (2003) Size limit for tmpl editor ? (1997) [WebDNA] Comparisons in "if" and "case" statements (2010) [Writefile] path (2005) Ariba XML support help needed (2004) [cart] how is it generated (2002) [OT] iChat (2003) user/password validation (1998) Stumpted Again (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Inventory lookup & display... (2003) Aaron kant add (or whatever it was) (2000) Hosting Services (1999) Make sure I understand this??? (1997) PROBLEM (1997) WC2/Mac -- Forms not submitting correctly with Mac browsers (1997) Nav. 4 probs with cart (1997)