Answer the question
In order to leave comments, you need to log in
Is it possible to scroll through the photos of this property in the image zoom window from the "ADDITIONAL PHOTO" property?
Removed images from the "additional photo" property with a small size of 100 px x 100px , by clicking on each image, the original image opens in a new window
<?foreach($arItem["PROPERTIES"]["MORE_PHOTO"]["VALUE"] as $photo):?>
<a href="<?=CFile::GetPath($photo)?>" class="">
<img style=" -o-object-fit: cover;
object-fit: cover;
-o-object-position: top;
object-position: top;
width: 90px;
height: 90px;" src="<?=CFile::GetPath($photo)?>" alt="">
</a>
<?endforeach?>
Answer the question
In order to leave comments, you need to log in
Is it possible to make arrows in this window so that the user scrolls through large pictures?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question