This is a plugin for zooming in images, but for some reason, when zooming in, the photo on the contrary decreases, and in the lower right corner a button appears, clicking on which will increase as it should, this only happens with large pictures, as written in the manual, I wrote:

<script type="text/javascript"> hs.maxWidth = 4000; hs.maxHeight = 4000; </script> 

Please help, the plugin is bad, I already understood, but I don’t want to change.

    2 answers 2

    highslide adjusts the size of the picture to the size of your screen, when you click on the button below the picture and should open in full size.

    • I already understood this, I need to somehow disable the fit to the screen ... - iproger

    I solved the problem myself) In the function that determines the size of the screen, I added 5k pixels in width and height - everything became even better than I thought, the getPageSize function is like, I’m not throwing the code, because on another computer did)