/**
  * Build HTML attributes for the link
  * @return array
  */
 function linkAttr()
 {
     $attr = parent::linkAttr();
     $attr['class'] = 'attachment-thumbnail';
     return $attr;
 }