Photogallery 3.7 wip

upgrade to fork cms 3.7