I'm trying to insert scrollers (bottom and right, y, x) to the full-size popup window. How can I do this the best?
Somewhere in your theme (probably theme.php), it is hard coded to include jquery-1.3.2.js
Change it to jquery-1.7.2.js
Better yet, change that line to:
<script type="text/javascript" src="{$jquery_path}"></script>
That should correct your full-size popup window.
BTW: I'll soon be posting a plugin to replace that popup window with something that has better aesthetics.
I replaced that line completely:
<script type="text/javascript" src="{$jquery_path}"></script>
<script type="text/javascript" src="{$jquery_path}/jquery.dimensions.pack.js"></script>
<script type="text/javascript" src="{$jquery_path}/displayimage.fullsize.js"></script>
But no change for my case at all actually. Cannot scroll at all. LINK (https://bit.ly/2ZF5zr1)
It does not seem to recognize the image size. The pop up window used to shrink the image but that was even worse. I'd like to have it to when you get the popup you can scroll around inside but the image always remains in full-size, no shrinking or cropping of any kind.
You did a tad more than what I had said ...
It should be:
<script type="text/javascript" src="{$jquery_path}"></script>
<script type="text/javascript" src="js/jquery.dimensions.pack.js"></script>
<script type="text/javascript" src="js/displayimage.fullsize.js"></script>
Missed the second part of above ...
I have no problems scrolling the large image (Mac OS, Safari and Chrome)
You will have to not do (or undo) the above to cause the normal behavior (resize image to window) to NOT occur.
Then in your theme's template.html file, just before the </head> line, insert:
<script>
var old_mmpop = window.MM_openBrWindow;
window.MM_openBrWindow = function (u,i,f) {
old_mmpop(u,i,f.replace("scrollbars=no","scrollbars=yes"));
};
</script>
Gotcha - it did not do anything in Mozilla though. Thanks! But I will definitely await for your plugins!