collects category and thumbnail