| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/wp-content/plugins/eltd-core/shortcodes/image-gallery/templates/ |
Upload File : |
<?php
$i = 0;
$rand = rand(0,1000);
?>
<div class="eltd-image-gallery <?php echo esc_attr($holder_classes); ?>">
<div class="eltd-ig-slider eltd-owl-slider" <?php echo trackstore_elated_get_inline_attrs($slider_data); ?>>
<?php foreach ($images as $image) { ?>
<div class="eltd-ig-image">
<?php if ($image_behavior === 'lightbox') { ?>
<a itemprop="image" class="eltd-ig-lightbox eltd-block-drag-link" href="<?php echo esc_url($image['url']); ?>" data-rel="prettyPhoto[image_gallery_pretty_photo-<?php echo esc_attr($rand); ?>]" title="<?php echo esc_attr($image['title']); ?>">
<?php } else if ($image_behavior === 'custom-link' && !empty($custom_links)) { ?>
<a itemprop="url" class="eltd-ig-custom-link eltd-block-drag-link" href="<?php echo esc_url($custom_links[$i++]); ?>" target="<?php echo esc_attr($custom_link_target); ?>" title="<?php echo esc_attr($image['title']); ?>">
<?php } ?>
<?php if(is_array($image_size) && count($image_size)) :
echo trackstore_elated_generate_thumbnail($image['image_id'], null, $image_size[0], $image_size[1]);
else:
echo wp_get_attachment_image($image['image_id'], $image_size);
endif; ?>
<?php if ($image_behavior === 'lightbox' || $image_behavior === 'custom-link') { ?>
</a>
<?php } ?>
</div>
<?php } ?>
</div>
</div>