Hi all ! Could anyone help please ! Is it possible to get file information by default ?
private imgSrc : string = "path/to/my/image.png"
ionViewDidLoad() {
var img = new Image();
img.onload = function () {
console.log(this.height + " / " + this.width);
}
img.src = this.imgSrc;
}
4 Likes
ekoz, thanks a lot.
How to use this same technique when i have multiple files in selection,