elevateweb / elevatezoom

1.03k stars 492 forks source link

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

Open AndersBillLinden opened 8 years ago

AndersBillLinden commented 8 years ago

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.

JoelBout commented 8 years ago

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.

AndersBillLinden commented 8 years ago

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