Forums
(@knowsnowrong)
11 years, 11 months ago
The easiest way is to change the following line in lightbox-gallery.php.
add_shortcode( 'gallery', 'lightbox_gallery' ); to add_shortcode( 'lightbox_gallery' );
add_shortcode( 'gallery', 'lightbox_gallery' );
add_shortcode( 'lightbox_gallery' );
This will cause the plugin to only trigger on [lightbox_gallery] and the normal gallery when using [gallery].
Help this helps,
Just change the maxWidth setting in jquery.colorbox.js from false to something like “600”.
Example
defaults = { transition: "elastic", speed: 300, width: false, initialWidth: "600", innerWidth: false, maxWidth: "600",