fix gallery
Merge branch 'userstory83' of github.com:imagecms/ImageCMS into userstory83