how can I change just the width of my img in 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';