relationship field: use wp_get_attachment_image instead of get_the_post_...

...thumbnail when related post has post_type==attachment