data-enable-progressive="1"
data-cycle-progressive="#a3-slider-progressive-"
>
is_video != 1 ) { ?>
img_url;
$_size = @getimagesize( $first_img );
?>
is_video == 1 ) continue;
if ( trim( $item->img_url ) == '' ) continue;
$total_item++;
if ( 1 == $is_enable_progressive && $total_item > 2 ) {
echo '---';
}
$img_title = '';
$open_type = '';
if ( 1 == $item->open_newtab ) {
$open_type = '_blank';
}
if ( trim( $item->img_title ) != '' ) {
if ( trim( $item->img_link ) != '' ) {
if ( stristr( $item->img_link, 'http' ) === FALSE && stristr( $item->img_link, 'https' ) === FALSE )
$item->img_link = 'http://' . $item->img_link;
$img_title = '
';
} else {
$img_title = '
'.trim( stripslashes( $item->img_title ) ).'
';
}
}
$img_description = '';
if ( trim( $item->img_description ) != '' ) {
$have_caption = true;
$img_description = '
' . A3_Responsive_Slider_Functions::limit_words( stripslashes( $item->img_description ), $caption_lenght, '...' ) . '
';
}
$image_click = '';
if ( trim( $item->img_link ) != '' ) {
if ( 1 == $item->open_newtab ) {
$image_click = ' onclick="window.open(\''.esc_attr( trim( $item->img_link ) ).'\', \'_blank\');" ';
} else {
$image_click = ' onclick="window.location=\''.esc_attr( trim( $item->img_link ) ).'\';" ';
}
}
?>
![]()
src="img_url ); ?>" title="" alt="" style="position:absolute; visibility:hidden; top:0; left:0;" />
0 && ! $add_progressive_tag ) {
$add_progressive_tag = true;
$exclude_lazyload = 'a3-notlazy';
echo ''; } ?>