fixes to image gallery and image gallery desinger