Portfolio categories not all displaying until post is loaded

Hi there

We need to view all the categories for portfolio posts on the portfolio page, but only the categories for the loaded portfolio posts are showing.

We have over 200 portfolio posts and we want all their categories displayed. Is there a way to display all categories before loading the portfolio post?

Thanks