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:
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)