Example #1
0
    echo $deviceclass_sfx;
    ?>
">
			<div class="vpo-wrap">
				<div class="vp">
					<div class="vpi-wrap">
					<?php 
    foreach ($list as $item) {
        ?>
						<div class="item">
							<div class="item-wrap">							
							<?php 
        $img = SjK2SliderHelper::getK2Image($item, $params);
        $img = ImageHelper::init($img)->src();
        $img = strpos($img, 'http://') !== false || strpos($img, 'https://') !== false ? $img : JURI::root() . $img;
        if (is_file($img) && file_exists($img) || SjK2SliderHelper::isUrl($img)) {
            ?>
									
									<div class="item-img item-height">
										<div class="item-img-info">
											<a href="<?php 
            echo $item->link;
            ?>
"  <?php 
            echo SjK2SliderHelper::parseTarget($options->item_link_target);
            ?>
>
												<?php 
            //Create placeholder images
            if (isset($img)) {
                ?>