function initLens() {
      const lens = document.getElementById(masterID + 'Lens');

      lens.style.left = 0 + 'px';
      lens.style.top = 0 + 'px';
      lens.style.height = Math.round(imgPosition.height/10) + 'px';
      lens.style.width = Math.round(imgPosition.width/10) + 'px';
   }
// Start position and size of the lens
Start position and size of the lens
Start position and size of the lens
function initLens() {
      const lens = document.getElementById(masterID + 'Lens');
      lens.style.left = 0 + 'px';
      lens.style.top = 0 + 'px';
      lens.style.height = Math.round(imgPosition.height/10) + 'px';
      lens.style.width = Math.round(imgPosition.width/10) + 'px';
   }
function initLens ( ) { const lens = document . getElementById ( masterID + 'Lens' ) ; lens . style . left = 0 + 'px' ; lens . style . top = 0 + 'px' ; lens . style . height = Math . round ( imgPosition . height / 10 ) + 'px' ; lens . style . width = Math . round ( imgPosition . width / 10 ) + 'px' ; }
Start position and size of the lens
Start position and size of the lens