Answers for "image dimensions javascript"

1

how to change size of image js

var image = document.getElementById('id');
image.style.width='imgWidth';
image.style.height='imgHeight';
Posted by: Guest on October-07-2020
0

javascript get width of image

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language