Open denikod opened 6 years ago
Fix bug when width or height of img tag larger than real image size: just comment out next lines on line #993: https://github.com/elevateweb/elevatezoom/blob/119b1e6ffc927b1eb72a0fa306398146851a6c34/jquery.elevatezoom.js#L993-L1002 /*if(self.zoomLock == 1){ //overrides for images not zoomable if(self.widthRatio <= 1){
self.windowLeftPos = 0; } if(self.heightRatio <= 1){ self.windowTopPos = 0; } }*/
Fix bug when width or height of img tag larger than real image size: just comment out next lines on line #993: https://github.com/elevateweb/elevatezoom/blob/119b1e6ffc927b1eb72a0fa306398146851a6c34/jquery.elevatezoom.js#L993-L1002 /*if(self.zoomLock == 1){ //overrides for images not zoomable if(self.widthRatio <= 1){