<a data-fancybox="gallery" href="<?=CFile::GetPath($element[" preview_picture"])?>" class="gallery__item" style="background-image: url(<?=CFile::GetPath($element["PREVIEW_PICTURE"])?>)"></a>
Related questions
Find more questions by tags 1C-Bitrix