added method to load gallery by galleryId