Лансароте

',patterns: {youtube: {id: function(url) {var match = /^(?:https?:\/\/)?(?:www\.)?(?:youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/watch\?.+&v=))([\w\-]{9,13})(?:.+)?$/im.exec(url);if (match != null) {return match[1];} return false;}}}},callbacks: {markupParse: function(template, values, item) {if(item.type == 'iframe'){var title = item.el.find('img').attr('alt');if(typeof title === 'undefined') title = '';var description = item.el.attr('title');description = typeof description !== 'undefined' ? '' + description + '' : '';values.title = title + description;}}},mainClass: 'mfp-with-zoom',zoom: {enabled: true,duration: 300,easing: 'ease-in-out',opener: function(openerElement) {if(openerElement.parent().attr('class') !== 'jig-overflow' ){openerElement.offset = function(){ return {top: $(window).height()/2, left: $(window).width()/2 };};return openerElement;} return openerElement.find('img');}},midClick: false,fixedContentPos: 'auto',fixedBgPos: 'auto',overflowY: 'auto'});};$('#jig1').justifiedImageGrid({"timthumb":"https:\/\/donsimon.net\/wp-content\/plugins\/justified-image-grid\/timthumb.php","items":[{"thumbUrl":"https%3A%2F%2Flive.staticflickr.com%2F405%2F31631695272_5426b29e56_c.jpg","url":"https:\/\/live.staticflickr.com\/405\/31631695272_5426b29e56_b.jpg","width":153,"title":"lanzarote (5)","extra_class":"jig-contentID-FL-31631695272"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F549%2F30969221323_a804473f2d_b.jpg","width":344,"title":"lanzarote (6)","extra_class":"jig-contentID-FL-30969221323"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F5564%2F31406454180_e2650f5f99_b.jpg","width":344,"title":"lanzarote (9)","extra_class":"jig-contentID-FL-31406454180"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F610%2F31631693312_ca7636ae23_b.jpg","width":356,"title":"lanzarote (10)","extra_class":"jig-contentID-FL-31631693312"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F725%2F31406453040_23a405a9c9_b.jpg","width":344,"title":"lanzarote (11)","extra_class":"jig-contentID-FL-31406453040"},{"thumbUrl":"https%3A%2F%2Flive.staticflickr.com%2F489%2F31741745906_014d5d808d_b.jpg","url":"https:\/\/live.staticflickr.com\/489\/31741745906_014d5d808d_b.jpg","width":299,"title":"lanzarote (16)","extra_class":"jig-contentID-FL-31741745906"},{"thumbUrl":"https%3A%2F%2Flive.staticflickr.com%2F630%2F31406452140_08756d9301_b.jpg","url":"https:\/\/live.staticflickr.com\/630\/31406452140_08756d9301_b.jpg","width":335,"title":"lanzarote (19)","extra_class":"jig-contentID-FL-31406452140"},{"thumbUrl":"https%3A%2F%2Flive.staticflickr.com%2F546%2F31741744376_6cfbca37fc_b.jpg","url":"https:\/\/live.staticflickr.com\/546\/31741744376_6cfbca37fc_b.jpg","width":306,"title":"lanzarote (21)","extra_class":"jig-contentID-FL-31741744376"},{"thumbUrl":"https%3A%2F%2Flive.staticflickr.com%2F294%2F31662497091_4365614183_b.jpg","url":"https:\/\/live.staticflickr.com\/294\/31662497091_4365614183_b.jpg","width":306,"title":"lanzarote (30)","extra_class":"jig-contentID-FL-31662497091"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F665%2F30969213933_c54f7c2539_b.jpg","width":344,"title":"lanzarote (36)","extra_class":"jig-contentID-FL-30969213933"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F480%2F31662496361_4716b8b9d2_b.jpg","width":344,"title":"lanzarote (39)","extra_class":"jig-contentID-FL-31662496361"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F5571%2F30969212803_4f23b43393_b.jpg","width":344,"title":"lanzarote (56)","extra_class":"jig-contentID-FL-30969212803"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F352%2F31662495691_e3486f051f_b.jpg","width":344,"title":"lanzarote (60)","extra_class":"jig-contentID-FL-31662495691"},{"url":"https%3A%2F%2Flive.staticflickr.com%2F780%2F30969210893_f9a26dc4c0_b.jpg","width":344,"title":"lanzarote (62)","extra_class":"jig-contentID-FL-30969210893"},{"thumbUrl":"https%3A%2F%2Flive.staticflickr.com%2F277%2F31406447940_193919bde6_c.jpg","url":"https:\/\/live.staticflickr.com\/277\/31406447940_193919bde6_b.jpg","width":153,"title":"lanzarote (65)","extra_class":"jig-contentID-FL-31406447940"}],"margins":10,"linkTitleField":"off","caption":"off","lightbox":"magnific","innerBorderWidth":0});}}else if(typeof $.justifiedImageGrid === "undefined" && ready == true){if(typeof loadJustifiedImageGrid !== "undefined"){loadJustifiedImageGrid($);initJIG($,true);return;} $(".justified-image-grid").html('The Justified Image Grid JS is not loaded. Try disabling Conditional script loading in the General settings.');}else{$(document).ready(function(){initJIG($,true);});}})(jQuery,false);