1. Is there a showThumbs config to hide it entirely on LSM?
To initially hide the thumbnails in Large Screen Mode, set showThumbsOnLoad="FALSE".
To hide the 'Toggle Thumbnails' button (to prevent users from toggling the thumbnails on and off) set showThumbsButton="FALSE".
2. Is there a method like getImageInfo(index) to get the thumbnail object (and returning its attributes, which probably is jus the imageURL)?
If you want to get the thumbURL of the image currently being displayed, you can use the Juicebox-Pro API methods getimageIndex() and getImageInfo() in conjuction with the onImageChange() event. You could then use JavaScript to determine more information about the thumbnail image, such as its dimensions.
For example:
<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
jb = new juicebox({
containerId : 'juicebox-container'
});
jb.onImageChange = function(e) {
var index = jb.getImageIndex();
var info = jb.getImageInfo(index);
var thumb = info.thumbURL;
var img = new Image();
img.src = thumb;
var w = img.width;
var h = img.height;
alert("Current thumbnail dimensions: " + w + "px x " + h + "px");
}
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->