Exemple #1
0
 /**
  * Add CSS ID to main image so we can replace it
  * @param   object
  * @param   string
  * @param   array
  * @return  string
  */
 protected function addImageToTemplate(\Isotope\Template $objTemplate, $strType, array $arrFile)
 {
     parent::addImageToTemplate($objTemplate, $strType, $arrFile);
     $objTemplate->uid = spl_object_hash($this);
     if ($strType == 'gallery') {
         $objTemplate->link = $arrFile['main'];
     }
 }