In fact I do the contary and I just found the solution.
When your read the url from a dataset, you don’t obtain a real url but an internal wix link (starting with : “wix:image://v1/”) and you need to transform this value before loading it (replace by “https://static.wixstatic.com/media/”).
you could use : Url = urlReadInYourDataset.split(‘#’)[0].replace(“wix:image://v1/”, “https://static.wixstatic.com/media/”);
In my case wix add some other informations at the end that we need to clean (not the same depending of how I obtain the original file by contact form or data entry)
regards