Re: Serving images from databases

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17055
interpreted = N
texte = >WebDNA was never designed to work with binary data -- its purpose is to >generate HTML text. Regardless of whether the NULL comes from a PageMill >file or a GIF file, WebDNA stops processing at that point. Without a total >rewrite+slowdown of the parser, that will remain unchanged.Hmm... a [INCLUDE RAW] as you mention below should work with no need for WebCat to parse that data - shouldn't it?>HOWEVER: Olin posted an excellent technique for allowing WebCatalog to >intercept picture requests and do useful things with them. Search >WebDNA-Talk at http://search.smithmicro.com for creative in the >subject line. The oldest message by Olin (at the bottom) contains a handy >tip regarding this subject.We have been using a simililar technique with both WebCat and other software a pretty long time, and it works pretty well. But, that's just a half way solution - it reveals the true location of the image.>We have also noted the request for a special includeRAW tag that does no >NULL cleanup. Whether or not your browser can deal with such data will be >up to you -- HTML specs typically do not address embedded NULLS any >differently than WebCatalog does.If you write your own custom headers (as I mentioned in my original posting) that should not be a problem. Content-type: image/gif whould do the trick for gifs and so on.I really look forward to WebCat 2.1.2 with the new tag ;-) ************************************************************* 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)
>WebDNA was never designed to work with binary data -- its purpose is to >generate HTML text. Regardless of whether the NULL comes from a PageMill >file or a GIF file, WebDNA stops processing at that point. Without a total >rewrite+slowdown of the parser, that will remain unchanged.Hmm... a [INCLUDE RAW] as you mention below should work with no need for WebCat to parse that data - shouldn't it?>HOWEVER: Olin posted an excellent technique for allowing WebCatalog to >intercept picture requests and do useful things with them. Search >WebDNA-Talk at http://search.smithmicro.com for creative in the >subject line. The oldest message by Olin (at the bottom) contains a handy >tip regarding this subject.We have been using a simililar technique with both WebCat and other software a pretty long time, and it works pretty well. But, that's just a half way solution - it reveals the true location of the image.>We have also noted the request for a special includeRAW tag that does no >NULL cleanup. Whether or not your browser can deal with such data will be >up to you -- HTML specs typically do not address embedded NULLS any >differently than WebCatalog does.If you write your own custom headers (as I mentioned in my original posting) that should not be a problem. Content-type: image/gif whould do the trick for gifs and so on.I really look forward to WebCat 2.1.2 with the new tag ;-) ************************************************************* 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:

ooops...WebCatalog [FoundItems] Problem - LONG - (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) WebCommerce: Folder organization ? (1997) Limit on nested [ShowIf]'s? (1997) SetHeader not Working (2006) OT: 800x600 (2003) Server Freeze (1998) another problem (1997) [OT] MS IE from H3LL (2008) Running 2 two WebCatalog.acgi's (1996) Re:E-mailer application times out (1998) Dumb Question about Docs (1997) Re:Variable Math (1998) Where is f2? (1997) Nesting format tags (1997) cybercash on OSX - was Executing remote AppleScript (2000) [OT] Redhat 6.1 (2003) Commit Databases and losing data... (2000) Re:no template caching (1997) mac hack (1997)