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