how to change the width and height of an image created by 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';