generate gallery resource