Hi @itrogers
You can get the image ID like so:
$portfolio_image['ID']
;
With the ID, you can load the terms related to it like so:
get_the_terms( $portfolio_image['ID'], 'media_category' )
https://codex.wordpress.org/Function_Reference/get_the_terms
Thanks
E