Re: [WebDNA] ReturnRaw and binarybody

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110513
interpreted = N
texte = --047d7b6dd13276654804e244887e Content-Type: text/plain; charset=UTF-8 Stuart, Hi - thanks for the feedback. I'm on CentOS. I actually do want to show the image, I was hoping to be able to store it as a Base64 encoded text string within the WebDNA template, and then serve it out as a gif using [returnraw] - but it's not working. I then tried to [decrypt] it, write it to disk and then display the image, but that's not working either. So if you try the following: [text]myImage=[encrypt method=base64][include file=input.gif][/encrypt][/text] [writefile file=output.gif][decrypt method=base64][myImage][/decrypt][/writefile] it's not working at my end anyway. Would be interesting to hear if it's working on other systems, or if there is a reason why it shouldn't work. - Tom --047d7b6dd13276654804e244887e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stuart,

Hi - thanks for the feedback. = =C2=A0I'm on CentOS.

I actually do want to sho= w the image, I was hoping to be able to store it as a Base64 encoded text s= tring within the WebDNA template, and then serve it out as a gif using [ret= urnraw] - but it's not working.

I then tried to [decrypt] it, write it to disk and then= display the image, but that's not working either. =C2=A0 So if you try= the following:


[text]myImage=3D[en= crypt method=3Dbase64][include file=3Dinput.gif][/encrypt][/text]

[writefile file=3Doutput.gif][decrypt method=3Dba= se64][myImage][/decrypt][/writefile]

<img src= =3D"output.gif" />


it&= #39;s not working at my end anyway. =C2=A0 Would be interesting to hear if = it's working on other systems, or if there is a reason why it shouldn&#= 39;t work.

- Tom





--047d7b6dd13276654804e244887e-- 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)
--047d7b6dd13276654804e244887e Content-Type: text/plain; charset=UTF-8 Stuart, Hi - thanks for the feedback. I'm on CentOS. I actually do want to show the image, I was hoping to be able to store it as a Base64 encoded text string within the WebDNA template, and then serve it out as a gif using [returnraw] - but it's not working. I then tried to [decrypt] it, write it to disk and then display the image, but that's not working either. So if you try the following: [text]myImage=[encrypt method=base64][include file=input.gif][/encrypt][/text] [writefile file=output.gif][decrypt method=base64][myImage][/decrypt][/writefile] it's not working at my end anyway. Would be interesting to hear if it's working on other systems, or if there is a reason why it shouldn't work. - Tom --047d7b6dd13276654804e244887e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stuart,

Hi - thanks for the feedback. = =C2=A0I'm on CentOS.

I actually do want to sho= w the image, I was hoping to be able to store it as a Base64 encoded text s= tring within the WebDNA template, and then serve it out as a gif using [ret= urnraw] - but it's not working.

I then tried to [decrypt] it, write it to disk and then= display the image, but that's not working either. =C2=A0 So if you try= the following:


[text]myImage=3D[en= crypt method=3Dbase64][include file=3Dinput.gif][/encrypt][/text]

[writefile file=3Doutput.gif][decrypt method=3Dba= se64][myImage][/decrypt][/writefile]

<img src= =3D"output.gif" />


it&= #39;s not working at my end anyway. =C2=A0 Would be interesting to hear if = it's working on other systems, or if there is a reason why it shouldn&#= 39;t work.

- Tom





--047d7b6dd13276654804e244887e-- 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:

Need relative path explanation (1997) [SearchString] usage (1997) ups quickcost [repost] (1999) New Plug-in and Type 11 errors (1997) same product in cart (1997) [WebDNA] Timer (2009) TinyStore Question (1999) Quick ShowIf question (1997) calculating tax rates, mail order solutions and version 2 (1997) I can help! (1996) WebCat website for developers and hosters (2001) What file? (1997) We have a client who is trying buy WebDNA (2006) RE: 2nd WebCatalog2 Feature Request (1996) [SHOWIF] (1997) adding time (2003) Testing (2003) Limiting user access to .tmpl files (1997) emailer setup (1997) includes and cart numbers (1997)