• 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.

    https://www.ads-software.com/plugins/lightbox-gallery/

Viewing 1 replies (of 1 total)
  • Thank you for posting this :).

    I too would enjoy seeing this in the next update. With a width of maybe 600px and an image of 100px it won’t rescale currently. This would fix this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Set maxWidth and maxHeight by Default’ is closed to new replies.