Closed michaeljcoyne closed 7 years ago
I have tried this
ImgCache.getCachedFileUrl(that.src, function (img, newPath) { //let localUrl = newPath alert(newPath); }, function (img) { /* error callback */ alert('fail'); console.log('Failed to get path for image ' + img); });
and this ImgCache.getCachedFileUrl(that.src)
ImgCache.getCachedFileUrl(that.src)
cant get it to work.
ImgCache.getCachedFileURL(that.src, function (src, dest) { alert(dest) });
How to get File from fileURL which is cached?
I have tried this
and this
ImgCache.getCachedFileUrl(that.src)
cant get it to work.