I have a similar problem.. I am using 1.7.3 integrated with nuke 7.8 and everything works well but when you click on an image to view it I get a blank page with the error code Parse error: parse error, unexpected '}' in /srv/www/htdocs/...../modules/Gallery/includes/template.php(101) : eval()'d code on line 113
I thought it might be the template I was using but any template does the same thing. I also tried removing the unexpected } and even tried tracking down where the extra or missing brace was.