FYI, this solved the problem for me…
$featured_img_url = get_post_thumbnail_id( $post->ID );
echo wp_get_attachment_image_url( $featured_img_url, 'thumbnail' );
Bump… I have the same issue…
I second this request – would be a nice feature to have.
Nevermind, just had to dig a little deeper… answer for those searching…
<?php if( have_rows('quick-links') ): ?>
<?php while( have_rows('quick-links') ): the_row(); ?>
<?php $post_object = get_sub_field('quick-link'); ?>
<?php if( $post_object ): ?>
<?php // override $post
$post = $post_object;
setup_postdata( $post );
?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>