Opere anni 90

'); filterElements.each(function(){ var fclone = $(this).clone(); fclone.hide(); filterContainer.append(fclone); }); galContainer.append(filterContainer); galContainer.find('.gpgFilteredContainer').css('animation-name', anim_effect); galContainer.find('.gpgFilteredContainer').css('animation-duration', '.5s'); galContainer.find('.ays_grid_column_3').fadeIn(400); mainGallery.addClass('ays_gpg_display_none'); mainGallery.removeAttr('id'); $(document).find('.gpgFilteredContainer').lightGallery(gpgFilterLightboxOptions); $(document).find('.ays_gallery_container_3 div.ays_grid_column_3').hover(function(){ $(this).find('.ays_hover_mask').css('animation-name', 'fadeIn'); $(this).find('.ays_hover_mask').css('animation-duration', '.5s'); $(this).find('.ays_hover_mask').css('opacity', '1'); }, function(){ $(this).find('.ays_hover_mask').css('animation-name', 'fadeOut'); $(this).find('.ays_hover_mask').css('animation-duration', '.5s'); $(this).find('.ays_hover_mask').css('opacity', '0'); }); } }); }); })(jQuery);
\'\'/

Opere anni 90

\'\'/

Opere anni 90

\'\'/

Opere anni 90

\'Giovanni

Giovanni Leto Opere anni 90 7

\'\'/

Opere anni 90

\'\'/

Opere anni 90

\'\'/

Opere anni 90

\'\'/

Opere anni 90

\'\'/

Opere anni 90

"); $(document).find(".ays_gallery_body_3").append(aysGalleryContent_3); $( window ).resize(function() { $(document).find(".mosaic_3").Mosaic({ innerGap: 10, refitOnResize: true, showTailWhenNotEnoughItemsForEvenOneRow: true, maxRowHeight: 250, maxRowHeightPolicy: "tail" }); }); $(document).find('.ays_gallery_container_3 div.ays_grid_column_3').hover(function(){ $(this).find('.ays_hover_mask').css('animation-name', 'fadeIn'); $(this).find('.ays_hover_mask').css('animation-duration', '.5s'); $(this).find('.ays_hover_mask').css('opacity', '1'); }, function(){ $(this).find('.ays_hover_mask').css('animation-name', 'fadeOut'); $(this).find('.ays_hover_mask').css('animation-duration', '.5s'); $(this).find('.ays_hover_mask').css('opacity', '0'); }); $(document).find("ays_grid_column_3").on("mouseover", function(){ if($(this).find(".ays_hover_mask .ays_image_title").length != 0){ $(this).find(".ays_hover_mask>div:first-child").css("margin-bottom", "40px"); } }); $(document).find(".ays_grid_column_3 div.ays_hover_mask").find(".ays_image_url").on("click", function(e){ setTimeout(function(){ $(document).find(".lg-close.lg-icon").trigger("click"); },450); window.open($(this).attr("data-url"),"_blank"); }); $(document).find(".ays_grid_column_3 div.ays_link_whole_image_url").on("click", function(e){ setTimeout(function(){ $(document).find(".lg-close.lg-icon").trigger("click"); },450); window.open($(this).attr("data-url"),"_blank"); });$(document).find('.gpg_loader_3').css({'display': 'flex', 'animation-name': 'fadeIn'}); var aysgrid_3 = $("#ays_masonry_grid_3").masonry({ percentPosition: false, itemSelector: ".ays_masonry_grid-item", columnWidth: ".ays_masonry_item_3", transitionDuration: ".8s", gutter: 10, }); setTimeout(function(){ $(document).find(".ays_gallery_container_3 .mosaic_3").Mosaic({ innerGap: 10, refitOnResize: true, showTailWhenNotEnoughItemsForEvenOneRow: true, maxRowHeight: 250, maxRowHeightPolicy: "tail" }); aysgrid_3.masonry("layout"); },300); var gpgSearchLightboxOptions = { selector: ".gpgSearchContainer", share: false, hash: false, addClass:"ays_gpg_lightbox_3", fullScreen: false, autoplay: false, pause: 5000, mousewheel: false, keyPress: false, actualSize: false, pager: false, download: false, autoplayControls: true, counter: true, showThumbByDefault: false, getCaptionFromTitleOrAlt: false, subHtmlSelectorRelative: true }; /*AV Search Image*/ $(document).on("input", "#inp_search_img_3", function(e) { var ays_for_srch_cont = $(document).find("#ays_grid_row_3 .ays_grid_column_3"); var this_val = $(this).val().toLowerCase(); for(var srch_i = 0; srch_i 0){ if(parseInt(srch_img_div.css("margin-right")) == 0){ srch_img_div.css("margin-right","5px"); } } srch_img_div.fadeIn(400); setTimeout(function(){ aysgrid_3.masonry("layout"); }, 400); } } if(this_val != ""){ $(document).find("#ays_grid_row_3").data("lightGallery").destroy(true); $(document).find('#ays_grid_row_3').lightGallery(gpgSearchLightboxOptions); }else{ $(document).find("#ays_grid_row_3").data("lightGallery").destroy(true); $(document).find("#ays_grid_row_3").lightGallery({ selector: ".ays_grid_column_3", share: false, hash: false, addClass:"ays_gpg_lightbox_3", fullScreen: false, autoplay: false, pause: 5000, mousewheel: false, keyPress: false, actualSize: false, pager: false, download: false, autoplayControls: true, counter: true, showThumbByDefault: false, getCaptionFromTitleOrAlt: false, subHtmlSelectorRelative: true }); } });$(document).find('#ays_grid_row_3').lightGallery({ selector: '.ays_grid_column_3', share: false, hash: false, addClass:'ays_gpg_lightbox_3', fullScreen: false, autoplay: false, pause: 5000, mousewheel: false, keyPress: true, escKey: true, actualSize: false, pager: false, download: false, autoplayControls: true, counter: true, showThumbByDefault: false, getCaptionFromTitleOrAlt: false, subHtmlSelectorRelative: true });$(document).find('.ays_gallery_container_3').imagesLoaded() .done( function( instance ){ $(document).find('.ays_gallery_container_3').css({'display': 'block', 'animation-name': 'fadeIn'}); $('#ays_grid_row_3 img.ays_gallery_image').each(function(){ var realWidth = this.width; var ratio = parseFloat(1)*realWidth; $('#ays_grid_row_3 img.ays_gallery_image').each(function(e) { $(this).height(ratio); }); }); $(document).find('.gpg_loader_3').css({'display': 'none', 'animation-name': 'fadeOut'}); $(document).find('.ays_gallery_container_3 .mosaic_3').Mosaic({ innerGap: 10, refitOnResize: true, showTailWhenNotEnoughItemsForEvenOneRow: true, maxRowHeight: 250, maxRowHeightPolicy: 'tail' }); setTimeout(function(){ aysgrid_3.masonry('layout'); },300); var ays_gallery_containers = $(document).find('.ays_gallery_container_3'); ays_gallery_containers.css({ position: 'static' }); $(window).trigger('resize'); }) .fail( function() { var errorImage = $('

Some of the images haven\'t been loaded

'); $(document).find('.ays_gallery_container_3').prepend(errorImage); $(document).find('.ays_gallery_container_3').css({'display': 'block', 'animation-name': 'fadeIn'}); $(document).find('.gpg_loader_3').css({'display': 'none', 'animation-name': 'fadeOut'}); $(document).find('.ays_masonry_item_3>img, .ays_mosaic_column_item_3>img, .ays_grid_column_3>img').each(function(e, img){ if(img.getAttribute('src') == '' || img.getAttribute('src') == undefined){ $(this).css('display', 'none'); $(this).parent().find('.ays_hover_mask').remove(); $(this).parent().find('.ays_image_loading_div').css({ 'opacity': '1', 'animation-name': 'tada', 'animation-duration': '.5s', 'display': 'block', 'padding-top': 'calc(100% - 25px)', }); $(this).parent().find('.ays_image_loading_div').find('img').css('position', 'static'); $(this).parent().find('.ays_image_loading_div').find('img').attr('src', 'http://www.archiviogiovannileto.com/wp-content/plugins/gallery-photo-gallery/public//images/error-404.png'); var ays_err_massage = $('Image not found!'); var img_parent = $(this).parent().find('.ays_image_loading_div').eq(0); img_parent.append(ays_err_massage); $(this).remove(); } }); setTimeout(function(){ aysgrid_3.masonry('layout'); $(window).trigger('resize'); },300); }); },1000); }); })(jQuery);