No idea why this suddenly stopped working but this fixes it.
Merge pull request #9 from discoverygarden/7.x-fix-galleria

No idea why this suddenly stopped working but this fixes it.