Hi,
My widgets can show an static web image like this:
"http://www.aserver.com/aimage.jpg"
A simple way to do it is the following code:
CODEBOX
var myImage = new KONtx.element.Image({
src: "http:\\www.aserver.com\aimage.jpg",
}).appendTo(this);
That's right, It works OK with static web images.
Now, my problem:
I want to show dinamic images returned from a web server, like this one that returns a jpg file:
"http://www.aserver.com/createimagejpg?data=value"
I supose I need to use a request/response and a code like this one:
CODEBOX
var myURL = new URL;
myURL.location = "http://www.aserver.com/createimagejpg?data=value";
myURL.fetch();
But now, how can i save the jpg image to a file or asign it directly to a Image element?
Page 353 of the YWE_Developer_Guide.pdf made a short reference to the URL outputFile atribute, but I cant find it.
Thanks a lot
Raul (Spain)
-----