Stuart,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listHi - thanks, that works and is obviously the correct way to Base64 encode an image - which is great. But after much messing around there does not appear to be a way in WebDNA to decode a Base64 image and either write it to disk or serve it out. So I guess this approach (i.e including the image directly in the WebDNA code) is not going to work.Just to clarify, I am trying to improve our web bug (i.e. tracking pixel) code - so I can add something like:<img src="http://server/image.tmpl?id=1&id2=2" />to an email, add stuff to a log file when the image is accessed, and then serve back a 1x1 px blank image. I'm trying to avoid a situation where the 1x1 blank image is not available on the local site.I'll try a different approach to check for the existence locally of the blank image and then use [tcpconnect] to pull the image down off a remote site and write locally if it doesn't exist.Thanks- Tom.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
Stuart,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listHi - thanks, that works and is obviously the correct way to Base64 encode an image - which is great. But after much messing around there does not appear to be a way in WebDNA to decode a Base64 image and either write it to disk or serve it out. So I guess this approach (i.e including the image directly in the WebDNA code) is not going to work.Just to clarify, I am trying to improve our web bug (i.e. tracking pixel) code - so I can add something like:<img src="http://server/image.tmpl?id=1&id2=2" />to an email, add stuff to a log file when the image is accessed, and then serve back a 1x1 px blank image. I'm trying to avoid a situation where the 1x1 blank image is not available on the local site.I'll try a different approach to check for the existence locally of the blank image and then use [tcpconnect] to pull the image down off a remote site and write locally if it doesn't exist.Thanks- Tom.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...