How to open Bootstrap Photo Gallery on page load?
Add your gallery into model window then used #modelid in then then gallery is automatically load when your page is loaded.

&lt;script type="text/javascript"&gt;
    $(window).load(function(){
        $('#myModal').modal('show');
    });
&lt;/script&gt;