0
I have the following code
<div class='fotosPlanos'>
<img
class='elevate-image'
src='_img/_fotos/corsa.jpg'
data-zoom-image='_img/_fotos/corsa.jpg'
/>
</div>
<script>
$('.elevate-image').ezPlus({
zoomType: 'inner',
cursor: 'crosshair'
});
</script>
It creates a zoom box on the container image.
But the problem is that as we reduce the screen size and consequently the image size, the zoom box should also reduce and not reduce.
Can be seen in
http://funerariasaopedro.net.br/novo/showroom.php
How to link the zoom box size to the image size with the ez-plu plugin?
Yes, it seems that there is no way. Because the plugin is jQuery and does not run like css at runtime. Therefore, when reducing the dimensions of the browser and consequently the image, the plugin does not follow and after giving a refresh there then it takes the resolution adjusts the zoom to the image box.
– Carlos Rocha