カスタム投稿 single.phpの場合
<?php
$image = get_field('taxonomy_img');
$src_thumbnail = $image['sizes']['thumbnail'];
$src_medium = $image['sizes']['medium'];
$src_large = $image['sizes']['large'];
$t_w = $image['sizes']['thumbnail-width'];
$t_h = $image['sizes']['thumbnail-height']; ?>
<img src="<?php echo $src_thumbnail; ?>" class="" alt="">
<img src="<?php echo $src_medium; ?>" class="" alt="">
<img src="<?php echo $src_large; ?>" class="" alt="">
タームで画像を設定した場合の記述例
<?php
$taxonomy = 'ct_genre';//カスタム投稿
$term_id = $term->term_id;
$term_idsp = $taxonomy."_".$term_id; ?>
<?php
$image = get_field('taxonomy_img', $term_idsp);
$src_thumbnail = $image['sizes']['thumbnail'];
$src_medium = $image['sizes']['medium'];
$src_large = $image['sizes']['large'];
$t_w = $image['sizes']['thumbnail-width'];
$t_h = $image['sizes']['thumbnail-height']; ?>
<img src="<?php echo $src_thumbnail; ?>" class="" alt="">
<img src="<?php echo $src_medium; ?>" class="" alt="">
<img src="<?php echo $src_large; ?>" class="" alt="">