fixes
Merge pull request #2069 from dotCMS/issue-2001-photo-gallery-macro-not-working

fixes #2011