The problem is that the attachment record is not available for these "foreign" attachments. That means no thumbnail URL.
A simple template edit isn't enough. An addon is required to fetch these attachment records. I believe you need to extend this function to scrape the posts for [attach] tags and query those attachment ids if necessary: