
<div class="pxl-image-box pxl-image-box1 style1 <?php echo esc_attr($settings['pxl_animate']).' '.$settings['effect']; ?>" data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay']); ?>ms">
    <div class="pxl--item-inner">
        <div class="pxl-inner-image">
            <div class="pxl-box-inner pxl-box-inner0">
                <?php if(!empty($settings['banner_image01']['id'])) : 
                    $image_size = !empty($settings['img_size']) ? $settings['img_size01'] : 'full'; 
                    $img = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image01']['id'],
                        'thumb_size' => $image_size,
                    ));
                    $thumbnail01 = $img['thumbnail'];
                    ?>
                    <div class="pxl-item--imgprimary img-counter">
                        <?php echo pxl_print_html($thumbnail01); ?>
                    </div>
                <?php endif; ?>
                <?php if(!empty($settings['banner_image02']['id'])) : 
                    $image_size1 = !empty($settings['img_size1']) ? $settings['img_size02'] : 'full'; 
                    $img_2 = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image02']['id'],
                        'thumb_size' => $image_size1,
                    ));
                    $thumbnail_2 = $img_2['thumbnail']; ?>
                    <div class="pxl-item--imgsecondary img-counter">
                        <?php echo pxl_print_html($thumbnail_2); ?>
                    </div>
                <?php endif; ?>
                <?php if(!empty($settings['banner_image03']['id'])) : 
                    $image_size2 = !empty($settings['img_size03']) ? $settings['img_size03'] : 'full'; 
                    $img_3 = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image03']['id'],
                        'thumb_size' => $image_size2,
                    ));
                    $thumbnail_3 = $img_3['thumbnail']; ?>
                    <div class="pxl-item--imglast img-counter">
                        <?php echo pxl_print_html($thumbnail_3); ?>
                    </div>        
                <?php endif; ?>
            </div>
            <div class="pxl-box-inner pxl-box-inner1">
                <?php if(!empty($settings['banner_image11']['id'])) : 
                    $image_size = !empty($settings['img_size11']) ? $settings['img_size11'] : 'full'; 
                    $img = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image11']['id'],
                        'thumb_size' => $image_size,
                    ));
                    $thumbnail = $img['thumbnail'];
                    ?>
                    <div class="pxl-item--imgprimary img-counter">
                        <?php echo pxl_print_html($thumbnail); ?>
                    </div>
                <?php endif; ?>
                    <?php if(!empty($settings['banner_image12']['id'])) : 
                        $image_size1 = !empty($settings['img_size12']) ? $settings['img_size12'] : 'full'; 
                        $img_2 = pxl_get_image_by_size( array(
                            'attach_id'  => $settings['banner_image12']['id'],
                            'thumb_size' => $image_size1,
                        ));
                        $thumbnail_2 = $img_2['thumbnail']; ?>
                        <div class="pxl-item--imgsecondary img-counter">
                            <?php echo pxl_print_html($thumbnail_2); ?>
                        </div>
                    <?php endif; ?>
                    <?php if(!empty($settings['banner_image13']['id'])) : 
                        $image_size2 = !empty($settings['img_size13']) ? $settings['img_size13'] : 'full'; 
                        $img_3 = pxl_get_image_by_size( array(
                            'attach_id'  => $settings['banner_image13']['id'],
                            'thumb_size' => $image_size2,
                        ));
                        $thumbnail_3 = $img_3['thumbnail']; ?>
                        <div class="pxl-item--imglast img-counter">
                            <?php echo pxl_print_html($thumbnail_3); ?>
                        </div>        
                    <?php endif; ?>
            </div>
            <div class="pxl-box-inner pxl-box-inner2">
                <?php if(!empty($settings['banner_image21']['id'])) : 
                    $image_size = !empty($settings['img_size21']) ? $settings['img_size21'] : 'full'; 
                    $img = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image21']['id'],
                        'thumb_size' => $image_size,
                    ));
                    $thumbnail = $img['thumbnail'];
                    ?>
                    <div class="pxl-item--imgprimary img-counter">
                        <?php echo pxl_print_html($thumbnail); ?>
                    </div>
                <?php endif; ?>
                <?php if(!empty($settings['banner_image22']['id'])) : 
                    $image_size1 = !empty($settings['img_size22']) ? $settings['img_size22'] : 'full'; 
                    $img_2 = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image22']['id'],
                        'thumb_size' => $image_size1,
                    ));
                    $thumbnail_2 = $img_2['thumbnail']; ?>
                    <div class="pxl-item--imgsecondary img-counter">
                        <?php echo pxl_print_html($thumbnail_2); ?>
                    </div>
                <?php endif; ?>
                <?php if(!empty($settings['banner_image23']['id'])) : 
                    $image_size2 = !empty($settings['img_size23']) ? $settings['img_size23'] : 'full'; 
                    $img_3 = pxl_get_image_by_size( array(
                        'attach_id'  => $settings['banner_image23']['id'],
                        'thumb_size' => $image_size2,
                    ));
                    $thumbnail_3 = $img_3['thumbnail']; ?>
                    <div class="pxl-item--imglast img-counter">
                        <?php echo pxl_print_html($thumbnail_3); ?>
                    </div>        
                <?php endif; ?>
            </div>
        </div>
    </div>   
</div>

