bmo_the_gallery_thumbs height not being set properly
-
Hi.
I’ve fooling around with the plug-in, using the Scroll Lightbox Gallery. I have changed the default thumbnail sizes in my galleries, but the container div bmo_the_gallery_thumbs is not getting its height set correctly (using the horizontal scroller).
I have found where this should be happening in jquery.bmoGallery.scrollLightboxGallery.js and edited the following lines
if(this.isVertical){ this.$bmo_the_gallery_thumbs.css('height',(thumb_height_withBMP * numOfThumbs)+'px'); }else{ this.$bmo_the_gallery_thumbs.css('width',(thumb_width_withBMP * numOfThumbs)+'px'); }
to
if(this.isVertical){ this.$bmo_the_gallery_thumbs.css('height',(thumb_height_withBMP * numOfThumbs)+'px'); this.$bmo_the_gallery_thumgs.css('width', thumb_width_withBMP + 'px'); }else{ this.$bmo_the_gallery_thumbs.css('width',(thumb_width_withBMP * numOfThumbs)+'px'); this.$bmo_the_gallery_thumbs.css('height',thumb_height_withBMP +'px'); }
(line 308 and onwards).
This seems to fix it, but I’m not 100% sure that this was the place it needed fixing.
Anyway. Just thought I’d let you know in case you want to fix it for the next version.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘bmo_the_gallery_thumbs height not being set properly’ is closed to new replies.