Re: [WebDNA] ReturnRaw and binarybody

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110514
interpreted = N
texte = You can't [INCLUDE] an image file. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 24/07/2013, at 6:37 PM, Tom Duke wrote: > Stuart, >=20 > Hi - thanks for the feedback. I'm on CentOS. >=20 > 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. >=20 > 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: >=20 >=20 > [text]myImage=3D[encrypt method=3Dbase64][include = file=3Dinput.gif][/encrypt][/text] >=20 > [writefile file=3Doutput.gif][decrypt = method=3Dbase64][myImage][/decrypt][/writefile] >=20 > >=20 >=20 > 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. >=20 > - Tom >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us 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)
You can't [include] an image file. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 24/07/2013, at 6:37 PM, Tom Duke wrote: > Stuart, >=20 > Hi - thanks for the feedback. I'm on CentOS. >=20 > 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. >=20 > 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: >=20 >=20 > [text]myImage=3D[encrypt method=3Dbase64][include = file=3Dinput.gif][/encrypt][/text] >=20 > [writefile file=3Doutput.gif][decrypt = method=3Dbase64][myImage][/decrypt][/writefile] >=20 > >=20 >=20 > 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. >=20 > - Tom >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us WebDNA

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:

Running 2 two WebCatalog.acgi's (1996) HELP WITH DATES (1997) SetHeader (1997) Webcatalog error, Plug-in for Webstar (1996) Re:2nd WebCatalog2 Feature Request (1996) Converting SQL Microtime to Date and Time (2003) OT: need perl help, and question about switches (2007) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Web Catalog vs. ICAT (1997) Searching/sorting dates (1997) OT: Amazon Patents (2000) Deleting Orders (1997) Nested vs conditional (1997) Encyption mail was Suggestions for Topics ... (1998) MacOS X Server problems (2001) Include file not working on remote directory. (2004) [REPLACE] inside [FOUNDITEMS] (1998) Sku numbers (1997) [SEARCH] Context for SKU prices not working... (1998) Using Japanesse text with webcat. (1998)