I looked for this but couldn't find it, so I'll ask. I copied your code from Barebones samples, With Gallery, "Gallery example with white design". I checked that my installation has the .js and .css pages. In IE11 the images open in a new tab rather than as a popup. I've turned off popup blocker. I get the same result in Chrome 43. I'm using IIS (localhost) in Win7
Your example pages operate correctly when I view them in a browser. On my page the cursor (before clicking an image) doesn't turn into the '4 arrowed' cursor that I see browsing your examples.
What am I doing wrong?
Anclote