javascript set the size of the image 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';