Re: Serving images from databases

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17140
interpreted = N
texte = >>I strongly agree. I have spent more than a day trying to do exactly this >>with images (haven't you ever wanted to have some WebDNA execute whenever >>an image is served?), but failed, and now I understand why. >Dave McLeay said:>If excecuting WebDNA when an image is served is all you need, then there >are other ways to do it. In your tag, make the src an .html or .tmpl >file (i.e. ). > >On somepage.html you can do whatever WebDNA processing you need to do. Then >use [Redirect] (or [ReturnRaw] if you're not using 2.1.1) to send the >browser to the image file. >But what if the client doesn't handle redirect? This is not as uncommon as you might think: legacy preformance measurement tools, older browsers, and so on. On the Internet, almost everything is a special case. I try to avoid this as much as possible, and try to make everything plain vanilla.And how about generating an image with content that changes based on some WebDNA code? That would be cool...Regards Thomas WB 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 strongly agree. I have spent more than a day trying to do exactly this >>with images (haven't you ever wanted to have some WebDNA execute whenever >>an image is served?), but failed, and now I understand why. >Dave McLeay said:>If excecuting WebDNA when an image is served is all you need, then there >are other ways to do it. In your tag, make the src an .html or .tmpl >file (i.e. ). > >On somepage.html you can do whatever WebDNA processing you need to do. Then >use [redirect] (or [returnraw] if you're not using 2.1.1) to send the >browser to the image file. >But what if the client doesn't handle redirect? This is not as uncommon as you might think: legacy preformance measurement tools, older browsers, and so on. On the Internet, almost everything is a special case. I try to avoid this as much as possible, and try to make everything plain vanilla.And how about generating an image with content that changes based on some WebDNA code? That would be cool...Regards Thomas WB Thomas Wedderburn-Bisshop

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:

security problem (1997) Associative lookup style? + bit more (1997) faxing orders (2000) Price characteristics? (1997) Last desperate attempt (1998) Emailer (1997) setting HTTP response header (1998) RE: PCS search results page (1998) Replacing a variable within a variable. (1998) encryption madness (2003) Find one not all, code not working (2003) WebCatalog for guestbook ? (1997) StoreBuilder ADD 2 CART redirects to default.tpl - PLEASE STOPTHIS! (2002) Press Release hit the NewsWire!!! (1997) WebCatalog can't find database (1997) [WebDNA] API - get Twitter information & Twitilyzer (before it went $) (2011) RequiredFields template (1997) Sample Tearoom Search Error (1997) Sort Order on a page search (1997) Duplicate Messages (1998)