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 ;-) Butthat's not what I'm trying to do (even if I for sure had loved if WebCatcould do it).I am returning a [return raw] context and want to include the gif file inthe 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:
>>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 ;-) Butthat's not what I'm trying to do (even if I for sure had loved if WebCatcould do it).I am returning a [return raw] context and want to include the gif file inthe 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)