gallery: SMalbum, columns: 4, width: 1100, height: 600, padding: 2, random: true, modal_name : 'colorbox', modal_ready_callback: function() { $('a[rel^="colorbox"]').colorbox({ maxWidth:'98%', maxHeight:'98%', transition: 'elastic', opacity: 0.4, speed: 450, scrolling: false, slideshow: true