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.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to