Answer the question
In order to leave comments, you need to log in
How to configure the output of a detailed image of a catalog section on Bitrix?
To display a detailed image of a directory section, I use:
<?=$arSection['PICTURE']['SRC']?>
<?=$arResult['DETAIL_PICTURE']['SRC']?>
Answer the question
In order to leave comments, you need to log in
Try like this:
<img alt="" src="<?=$arResult['DETAIL_PICTURE']['SRC']?>">
I advise you to get started
var_dump($arSection);
var_dump($arResult);
$image_src = CFile::GetPath($arSection["PICTURE"]);
echo '<img src="<?=$image_src?>">';
$image = CFile::ResizeImageGet($arSection['PICTURE'], array('width'=>1024, 'height'=>768), BX_RESIZE_IMAGE_PROPORTIONAL, true);
echo '<img src="'.$image['src'].'">';
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question