Hello,
I have uploaded the source theme files and the gallery works ok after that. Did you make any changes to theme files?
Regards