elevateweb/elevatezoom

When the image width is changed, the area which triggers the zooming is not.

AndersBillLinden opened this issue · 2 comments

If I set the width of an img to be a percentage, it will change its width when the browser window is widened.

But the area which triggers the zooming will keep its initial width, so I have to reload the webpage to have that area width and height the same as the image.

Hello Anders,

I am facing the issue so I would like to know if you have solved this issue?
The bug should come from the 'jquery.elevatezoom.js'
In the version jQuery elevateZoom 3.0.8 from line 116 the function"StartZoom: function( ) {" creates container of fixed height and width which does not suit responsive design.
But I cannot figure out what needs to be modified.
Help please.

I was fine with the issue and have not dived into it.