Re: [WebDNA] ReturnRaw and binarybody

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110516
interpreted = N
texte = --047d7bb04e225346df04e24764ea Content-Type: text/plain; charset=UTF-8 Stuart, Hi - 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: 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 --047d7bb04e225346df04e24764ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stuart,

Hi - thanks, that works and is = obviously the correct way to Base64 encode an image - which is great. =C2= =A0 But after much messing around there does not appear to be a way in WebD= NA to decode a Base64 image and either write it to disk or serve it out. = =C2=A0 So I guess this approach (i.e including the image directly in the We= bDNA 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=3D"http://server/image.tmpl?id=3D1&id2=3D2" />=C2=A0

to an email, add stuff to a log file when the image is = accessed, and then serve back a 1x1 px blank image. =C2=A0 I'm trying t= o 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 exis= tence locally of the blank image and then use [tcpconnect] to pull the imag= e down off a remote site and write locally if it doesn't exist.

Thanks
- Tom







--047d7bb04e225346df04e24764ea-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  2. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  3. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  4. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  5. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  6. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  7. Re: [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
  8. Re: [WebDNA] ReturnRaw and binarybody (WebDNA 2013)
  9. [WebDNA] ReturnRaw and binarybody (Tom Duke 2013)
--047d7bb04e225346df04e24764ea Content-Type: text/plain; charset=UTF-8 Stuart, Hi - 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: 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 --047d7bb04e225346df04e24764ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stuart,

Hi - thanks, that works and is = obviously the correct way to Base64 encode an image - which is great. =C2= =A0 But after much messing around there does not appear to be a way in WebD= NA to decode a Base64 image and either write it to disk or serve it out. = =C2=A0 So I guess this approach (i.e including the image directly in the We= bDNA 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=3D"http://server/image.tmpl?id=3D1&id2=3D2" />=C2=A0

to an email, add stuff to a log file when the image is = accessed, and then serve back a 1x1 px blank image. =C2=A0 I'm trying t= o 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 exis= tence locally of the blank image and then use [tcpconnect] to pull the imag= e down off a remote site and write locally if it doesn't exist.

Thanks
- Tom







--047d7bb04e225346df04e24764ea-- Tom Duke

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:

Re(2): Re(2): SSL, WebSTAR, WebCatalog (1998) [body_include] (2001) Date Formats (1997) [SHOWIF]s and empty arguments (1997) WebDelivery downloads alias, not original ? (1997) webcat- multiple selection in input field (1997) WC TableGrinder (1997) [table] question (2007) emailer settings and control questions (1997) Date problems (1997) WC2b15 File Corruption (1997) [TaxableTotal] - not working with AOL and IE (1997) .ASP extensions (2003) [WebDNA] .htm files (2008) Username and password in tcp connect/send (2001) WebCat2.0 [format thousands .0f] no go (1997) form data submission gets truncated (1997) listfiles-looking for slick solution (1997) 301 redirect (2008) Copyright ? (1997)