<ul class="equipment-in-tabs">
<?php foreach( $terms as $term ): ?>
<? $image = get_field('ikonka_kategorii', $term);?>
<li class="equipment-in-tabs__item">
<a href="<?php echo esc_url( get_term_link( $term ) ); ?>">
<span class="equipment-in-tabs__img">
<img src="<?php echo $image['url']; ?>" alt="">
</span>
<span class="equipment-in-tabs__title"><?php echo esc_html( $term->name ); ?></span>
</a>
</li>
<?php endforeach; ?>
</ul>