Add border hover effect to thumbnail attachments