Caribasius
3/23/2017 - 11:50 AM

Размер картинки #image #resize

Размер картинки #image #resize

<?
$image_resize = CFile::ResizeImageGet($arResult["DETAIL_PICTURE"], array("width" => $wdth, "height" => $hght), BX_RESIZE_IMAGE_PROPORTIONAL_ALT);

$ir = CFile::ResizeImageGet($arItem["PREVIEW_PICTURE"]["ID"], array("width" => 115, "height" => 150), BX_RESIZE_IMAGE_PROPORTIONAL, false, array(array("name" => "sharpen", "precision" => 15)), false, 80)

//BX_RESIZE_IMAGE_PROPORTIONAL_ALT
//BX_RESIZE_IMAGE_PROPORTIONAL
//BX_RESIZE_IMAGE_EXACT
?>