categories taxonomy image in custom post type code example
Example: get image field in custom post type category taxonomy
$catIMGId = get_field('image', 'term_' . $term->term_id);
$catIMGId = get_field('image', 'term_' . $term->term_id);