setting image size js code example
Example: how to change size of image js
var image = document.getElementById('id');
image.style.width='imgWidth';
image.style.height='imgHeight';
var image = document.getElementById('id');
image.style.width='imgWidth';
image.style.height='imgHeight';