This was due to having an inline <?php $post = get_post()?>
After moving this out and making it global, images stopped duplicating.
This was due to having an inline <?php $post = get_post()?>
After moving this out and making it global, images stopped duplicating.