photogalleries add work fix