Add an image to a template
public static addImageToTemplate ( object $objTemplate, array $arrItem, integer $intMaxWidth = null, string $strLightboxId = null ) | ||
$objTemplate | object | The template object to add the image to |
$arrItem | array | The element or module as array |
$intMaxWidth | integer | An optional maximum width of the image |
$strLightboxId | string | An optional lightbox ID |