upload base64 encoded image data

hh hh at hyperhh.de
Mon Dec 19 20:04:38 EST 2016

You could try two things after "put base64encode(tImage) into tImage64":
replace newlines in the encodedData and give a data-header.
Both is needed when setting HTML5 attributes, may be also in your case.

[1] replace numToChar(10) with empty in tImage64
[2] "content": "data:image/png;base64," & tImage64 & quote

Probably both png and jpg are supported, may be png is the default.
Please tell us if you found a solution.

More information about the Use-livecode mailing list