Added media icon support to Attachment thumbnail()