My app saves scaled images in the local application data folder. But those images are not loading.
var filename = "image1.png";
imgelement.src = "ms-appdata:///local/images/" + filename;
the images folder in localdata folder contains the files image1.scale-100.png, image1.scale-140.png and image1.scale-180.png
I can verify it by going to the "username\appdata\local\packages\packagename\LocalState\images".
If I copy the same files in to the app package images folder and if I set the imgelement like
imgelement.src = "/images/" + filename;
the image is loading.
Why are scaled images from local application data folder not loading, while the same images are loading from the package?