I have a post related to a similar issue here:
However, I have since learned that the fix only works on FireFox. I have been able to get this to run with an additional fix in other browsers but it then fails in FireFox. I haven't proceeded any further at this point and I am not sure of any development plans for this module moving forward.
Sorry about double posting this thread but there was not real place for it..
I had the same problem with the pictures opening as a webpage. My issue was because I made the dumb mistake of forgetting to rename the gallery module name to just "gallery". If nothing had worked I would have thought of it sooner, but the module mostly works without renaming the folder after installation.