Esempio n. 1
0
            }
        }
        ?>
                        <?php 
        $t = $block[3]['title'];
        ?>

                        <figure class="gr-figure">
                            <a class="gr-lightbox single-image <?php 
        echo $video_icon;
        ?>
 plus-icon animTop" title="<?php 
        echo $t = TMM::get_option('hide_image_titles') == '0' ? $t : '';
        ?>
" href="<?php 
        echo get_grid_image_url($block[3], true);
        ?>
" data-fancybox-group="grid">
                                <img <?php 
        if ($slideup == '1') {
            ?>
 class="slideup" <?php 
        }
        ?>
 src="<?php 
        echo TMM_Helper::resize_image($th_url, '995*995');
        ?>
" alt="">
                            </a>

                            <a href="<?php 
Esempio n. 2
0
    }
    ?>
                    <?php 
    $t = implode('', $title);
    ?>
                                        
                    <figure class="gr-figure">
                        <a class="gr-lightbox single-image <?php 
    echo $video_icon;
    ?>
 plus-icon animTop" title="<?php 
    echo $t = TMM::get_option('hide_image_titles') == '0' ? $t : '';
    ?>
" 
                           href="<?php 
    echo get_grid_image_url($images[$i], true);
    ?>
" data-fancybox-group="grid">
                            <img <?php 
    if ($slideup == '1') {
        ?>
 class="slideup" <?php 
    }
    ?>
 src="<?php 
    echo TMM_Helper::resize_image($th_url, '995*995');
    ?>
" alt="">
                        </a>

                        <a href="<?php 
Esempio n. 3
0
            $vimeo = substr_count($p, 'vimeo');
            if ($vimeo != '0') {
                $video_icon = 'video-icon vimeo';
                $ip = $block[3]['imgurl2'];
                if (empty($ip)) {
                    $arr = parse_url($block[3]['imgurl']);
                    $xml = simplexml_load_file('http://vimeo.com/api/v2/video' . $arr['path'] . '.xml');
                    if ($xml) {
                        $th_url = (string) $xml->video->thumbnail_medium;
                    }
                } else {
                    $th_url = get_grid_image_url($block[3]);
                }
            } else {
                $video_icon = '';
                $th_url = get_grid_image_url($block[3]);
            }
        }
        ?>
                        <?php 
        $t = $block[3]['title'];
        ?>

                        <figure class="gr-figure">
                            <a class="gr-lightbox single-image <?php 
        echo $video_icon;
        ?>
 plus-icon animTop" title="<?php 
        echo $t = TMM::get_option('hide_image_titles') == '0' ? $t : '';
        ?>
" href="<?php