Answers for "image js width"

1

javascript get image width and height

var img = new Image();
img.onload = function() {
  alert(this.width + 'x' + this.height);
}
img.src = 'http://www.google.com/intl/en_ALL/images/logo.gif';
Posted by: Guest on March-04-2020
0

javascript get width of image

image.width
Posted by: Guest on July-01-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language