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:

Grep Help (2007) AppleScript: Tell application:app location? (1998) Duplicate Items in the Cart (1998) webdna server not running (2005) FlushDatabase Suggestion (1998) WC2b15 File Corruption (1997) possible, WebCat2.0 and checkboxes-restated (1997) Closing Databases (1998) [OT] friday pics :-) (2005) Web Developer Product Awards (1997) $Replace with [founditems] (1997) using showpage and showcart commands (1996) Browser Problem?!? POST forms and NN 4.0+ browsers (1997) WCS Newbie question (1997) free shipping (2000) shownext problems (1998) Setting up shop (1997) webcat license???? (1997) cart token (2000) [append] vs. [appendfile] delta + question? (1997)