Searched refs:iMaxHeightPx (Results 1 – 2 of 2) sorted by relevance
223 $iMaxHeightPx = min($iDefaultMaxHeightPx, $oAttDef->Get('display_max_height'));225 $fScale = min($iMaxWidthPx / $iWidth, $iMaxHeightPx / $iHeight);
7341 $iMaxHeightPx = $this->Get('display_max_height').'px';7345 $sRet = $this->GetHtmlForImageUrl($sDefaultImageUrl, $iMaxWidthPx, $iMaxHeightPx);7351 $sRet = $this->GetHtmlForImageUrl($sCustomImageUrl, $iMaxWidthPx, $iMaxHeightPx);7357 …return '<div class="'.$sCssClasses.'" style="width: '.$iMaxWidthPx.'; height: '.$iMaxHeightPx.';">…7360 private function GetHtmlForImageUrl($sUrl, $iMaxWidthPx, $iMaxHeightPx) { argument7361 …return '<img src="'.$sUrl.'" style="max-width: '.$iMaxWidthPx.'; max-height: '.$iMaxHeightPx.'">';