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 asyou might think: legacy preformance measurement tools, older browsers,and so on. On the Internet, almost everything is a special case. I try toavoid this as much as possible, and try to make everything plain vanilla.And how about generating an image with content that changes based on someWebDNA code? That would be cool...RegardsThomas WB
Associated Messages, from the most recent to the oldest:
>>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 asyou might think: legacy preformance measurement tools, older browsers,and so on. On the Internet, almost everything is a special case. I try toavoid this as much as possible, and try to make everything plain vanilla.And how about generating an image with content that changes based on someWebDNA code? That would be cool...RegardsThomas 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:
WC2b15 File Corruption (1997)
[no_cache]?! (2000)
Reversed words (1997)
Mac v. NT (1998)
possible, WebCat2.0 and checkboxes-restated (1997)
webmerchant/ Mac Auth. and CC refunds (1998)
Sort Order on a page search (1997)
Two submit buttons ? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
TaxTotal Problem (1997)
Large database on Mac OS X Server (2000)
What is this error message? (2006)
File Upload (1997)
Number searching/formats (1998)
syntax question, not in online refernce (1997)
FW: WebDNA-Talk searchable? (1997)
Search/sort in URL Was: GuestBook example (1997)
Pithy questions on webcommerce & siteedit (1997)
date pref (1999)
WebCat2b15MacPlugin - [protect] (1997)