skip gallery when generating a resource by default