Set maxWidth and maxHeight by Default
-
Was looking at your code for Colorbox and was having some issues with larger images flying off the screen.
Modified line 18 of your lightbox-gallery.js:
jQuery('a[rel*=lightbox]').colorbox({maxWidth:"100%", maxHeight:"100%"});
Can you include in the next plugin update? I think this should probably be the default setting.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Set maxWidth and maxHeight by Default’ is closed to new replies.