ACF Field, hide taxonomy title and image when no nothing selected in post

Seems the your post doesn’t attach any taxonomy. So just try to replace your code with this:

<?php 
global $post;
$tax = 'directory_features';
$terms = get_the_terms($post,$tax);
if ( $terms && ! is_wp_error( $terms ) ){
    foreach( $terms as $term ) {
        $term_link = get_term_link( $term );
        $image = get_field('svcta_favorites_image',$term);
        if( $term->count > 0 ) {
            echo '<li>';
            echo '<img src="' . $image['url'] . '" alt="' . $image['alt'] .'"><br>';       
            echo '</li>';

        } elseif( $term->count !== 0 ) {
            echo '' . $term->name .'';
        }
    }
}
?>

tech