Changes to gallery, updated issue #68