I also use Bootstrap and cannot confirm this problem.
Does it happen only the first time you visit a newly uploaded gallery?
In that case, I think it's normal.
It could also have something to do with how you set up Piwigo (thumbnails etc.).
Is this a new install?
Could you share a link?
Do you have access to log files on your server?
If not:
I_am_cats wrotein your browser, press F12, choose the Network tab, then load the page. Any obvious errors there?
Can you do that, and show us?