{"id":1745,"date":"2018-07-17T11:20:40","date_gmt":"2018-07-17T10:20:40","guid":{"rendered":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/?page_id=1745"},"modified":"2018-07-20T00:54:48","modified_gmt":"2018-07-19T23:54:48","slug":"giorno-19","status":"publish","type":"page","link":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/galleria\/giorno-19\/","title":{"rendered":"Giorno 19"},"content":{"rendered":"\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\t\t\t\t\t.flickr-img-responsive {\n\t\t\t\t\t\t\t\twidth:100% !important;\n\t\t\t\t\t\t\t\theight:auto !important;\n\t\t\t\t\t\t\t\tdisplay:block !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.LoadingImg img {\n\t\t\t\t\t\t\t\tmax-width: 45px;\n\t\t\t\t\t\t\t\tmax-height: 45px;\n\t\t\t\t\t\t\t\tbox-shadow:  none;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.wpfrank-flickr-div{\n\t\t\t\t\t\t\t\tpadding:15px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@media (max-width: 786px){\n\t\t\t\t\t\t\t\t.col-md-3 {\n\t\t\t\t\t\t\t\t\twidth:49.9%;\n\t\t\t\t\t\t\t\t\tfloat:left;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.play-pause {\n\t\t\t\t\t\t\t\tdisplay: none !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.gallery1884 {\n\t\t\t\t\t\t\t\toverflow:hidden;\n\t\t\t\t\t\t\t\tclear: both;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.fnf{\n\t\t\t\t\t\t\t\tbackground-color: #a92929;\n\t\t\t\t\t\t\t\tborder-radius: 5px;\n\t\t\t\t\t\t\t\tcolor: #fff;\n\t\t\t\t\t\t\t\tfont-family: initial;\n\t\t\t\t\t\t\t\ttext-align: center;\n\t\t\t\t\t\t\t\tpadding:12px;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t<\/style>\n\t\t\t\t\t\t\t<script type=\"text\/javascript\">\n\t\t\t\t\t\t\tjQuery(function() {\n\t\t\t\t\t\t\t\tjQuery('.gallery1884').flickr({\n\t\t\t\t\t\t\t\t\tapiKey: '2c7a21bda61e8fe213aa9a8ece253840',\n\t\t\t\t\t\t\t\t\tphotosetId: '72157669273381247'\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t;(function ($, window, document, undefined) {\n\t\t\t\t\t\t\t\t'use strict';\n\t\t\t\t\t\t\t\tvar pluginName = \"flickr\",\n\t\t\t\t\t\t\t\t\tdefaults = {\n\t\t\t\t\t\t\t\t\t\tapiKey: \"\",\n\t\t\t\t\t\t\t\t\t\tphotosetId: \"\",\n\t\t\t\t\t\t\t\t\t\terrorText: \"<div class='fnf'><i class='far fa-times-circle'><\/i> Error generating gallery.<\/div>\",\n\t\t\t\t\t\t\t\t\t\tloadingSpeed: 38,\n\t\t\t\t\t\t\t\t\t\tphotosLimit: 200\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tapiUrl = 'https:\/\/api.flickr.com\/services\/rest\/',\n\t\t\t\t\t\t\t\t\tphotos = [];\n\n\t\t\t\t\t\t\t\t\/\/ The actual plugin constructor\n\t\t\t\t\t\t\t\tfunction Plugin(element, options) {\n\t\t\t\t\t\t\t\t\tthis.element = $(element);\n\t\t\t\t\t\t\t\t\tthis.settings = $.extend({}, defaults, options);\n\t\t\t\t\t\t\t\t\tthis._defaults = defaults;\n\t\t\t\t\t\t\t\t\tthis._name = pluginName;\n\n\t\t\t\t\t\t\t\t\tthis._hideSpinner = function() {\n\t\t\t\t\t\t\t\t\t\tthis.element.find('.spinner-wrapper').hide().find('*').hide();\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._printError = function() {\n\t\t\t\t\t\t\t\t\t\t \/\/this.element.find('.gallery-container').append($(\"<div><\/div>\", { \"class\": \"col-lg-12 col-lg-offset-1\" })\n\t\t\t\t\t\t\t\t\t\tthis.element.find('.gallery-container').append($(\"<div><\/div>\", { \"class\": \"col-lg-12\" })\n\t\t\t\t\t\t\t\t\t\t\t.append($(\"<div><\/div>\", { \"class\": \"error-wrapper\" })\n\t\t\t\t\t\t\t\t\t\t\t\t.append($(\"<span><\/span>\", { \"class\": \"label label-danger error\" })\n\t\t\t\t\t\t\t\t\t\t\t\t\t.html(this.settings.errorText))));\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._flickrAnimate = function() {\n\t\t\t\t\t\t\t\t\t\tthis.element.find('.gallery-container img').each($.proxy(function(index, el) {\n\t\t\t\t\t\t\t\t\t\t\tvar image = el;\n\t\t\t\t\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\t\t\t\t\t$(image).parent().fadeIn();\n\t\t\t\t\t\t\t\t\t\t\t}, this.settings.loadingSpeed * index);\n\t\t\t\t\t\t\t\t\t\t}, this));\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._printGallery = function(photos) {\n\t\t\t\t\t\t\t\t\t\tvar element = this.element.find('.gallery-container');\n\t\t\t\t\t\t\t\t\t\t$.each(photos, function(key, photo) {\n\t\t\t\t\t\t\t\t\t\t\tvar img = $('<img>', { 'class': 'thumb img-thumbnail flickr-img-responsive', src: photo.thumbnail, 'alt': photo.title });\n\t\t\t\t\t\t\t\t\t\t\telement.append($('<div><\/div>', { 'class': ' col-md-3 col-sm-4 col-center wpfrank-flickr-div' })\n\t\t\t\t\t\t\t\t\t\t\t\t.append($('<a><\/a>', { 'class': '', href: photo.href, 'data-gallery': '', 'title': photo.title }).hide()\n\t\t\t\t\t\t\t\t\t\t\t\t\t.append(img)));\n\t\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\t\telement.imagesLoaded()\n\t\t\t\t\t\t\t\t\t\t\t.done($.proxy(this._flickrAnimate, this))\n\t\t\t\t\t\t\t\t\t\t\t.always($.proxy(this._hideSpinner, this));\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._flickrPhotoset = function(photoset) {\n\t\t\t\t\t\t\t\t\t\tvar _this = this;\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tphotos[photoset.id] = [];\n\t\t\t\t\t\t\t\t\t\t$.each(photoset.photo, function(key, photo) {\n\t\t\t\t\t\t\t\t\t\t\t\/\/ Limit number of photos.\n\t\t\t\t\t\t\t\t\t\t\tif(key >= _this.settings.photosLimit) {\n\t\t\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\tphotos[photoset.id][key] = {\n\t\t\t\t\t\t\t\t\t\t\t\tthumbnail: 'https:\/\/farm' + photo.farm + '.static.flickr.com\/' + photo.server + '\/' + photo.id + '_' + photo.secret + '_q.jpg',\n\t\t\t\t\t\t\t\t\t\t\t\thref: 'https:\/\/farm' + photo.farm + '.static.flickr.com\/' + photo.server + '\/' + photo.id + '_' + photo.secret + '_b.jpg',\n\t\t\t\t\t\t\t\t\t\t\t\ttitle: photo.title\n\t\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\t\tthis._printGallery(photos[photoset.id]);\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._onFlickrResponse = function(response) {\n\t\t\t\t\t\t\t\t\t\tif(response.stat === \"ok\") {\n\t\t\t\t\t\t\t\t\t\t\t this._flickrPhotoset(response.photoset);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\tthis._hideSpinner();\n\t\t\t\t\t\t\t\t\t\t\tthis._printError();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._flickrRequest = function(method, data) {\n\t\t\t\t\t\t\t\t\t\tvar url = apiUrl + \"?format=json&jsoncallback=?&method=\" + method + \"&api_key=\" + this.settings.apiKey;\n\n\t\t\t\t\t\t\t\t\t\t$.each(data, function(key, value) {\n\t\t\t\t\t\t\t\t\t\t\turl += \"&\" + key + \"=\" + value;\n\t\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\t\t\t\t\tdataType: \"json\",\n\t\t\t\t\t\t\t\t\t\t\turl: url,\n\t\t\t\t\t\t\t\t\t\t\tcontext: this,\n\t\t\t\t\t\t\t\t\t\t\tsuccess: this._onFlickrResponse\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tthis._flickrInit = function () {\n\t\t\t\t\t\t\t\t\t\tthis._flickrRequest('flickr.photosets.getPhotos', {\n\t\t\t\t\t\t\t\t\t\t\tphotoset_id: this.settings.photosetId\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\t\/\/ Init\n\t\t\t\t\t\t\t\t\tthis.init();\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tPlugin.prototype = {\n\t\t\t\t\t\t\t\t\tinit: function () {\n\t\t\t\t\t\t\t\t\t\tthis._flickrInit();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\/\/ Wrapper\n\t\t\t\t\t\t\t\t$.fn[pluginName] = function (options) {\n\t\t\t\t\t\t\t\t\tthis.each(function () {\n\t\t\t\t\t\t\t\t\t\tif (!$.data(this, \"plugin_\" + pluginName)) {\n\t\t\t\t\t\t\t\t\t\t\t$.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\t\/\/ Chain\n\t\t\t\t\t\t\t\t\treturn this;\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t})(jQuery, window, document);\n\t\t\t\t\t\t\t<\/script>\n\t\t\t\t\t\t\t<div class=\"gallery1884\">\n\t\t\t\t\t\t\t\t<!-- Gallery Thumbnails -->\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>Giorno 19<\/h3>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t\t\t<div class=\"col-xs-12 spinner-wrapper\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"LoadingImg\"><img decoding=\"async\" src=\"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-content\/plugins\/flickr-album-gallery\/img\/loading.gif\" \/><\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<div align=\"center\" class=\"gallery-container\"><\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\n\t\t\t<!-- Blueimp gallery -->\n\t\t\t<div id=\"blueimp-gallery\" class=\"blueimp-gallery blueimp-gallery-controls\">\n\t\t\t\t<div class=\"slides\"><\/div>\n\t\t\t\t<h3 class=\"title\"><\/h3>\n\t\t\t\t<a class=\"prev\">\u2039<\/a>\n\t\t\t\t<a class=\"next\">\u203a<\/a>\n\t\t\t\t<a class=\"close\">\u00d7<\/a>\n\t\t\t\t<a class=\"play-pause\"><\/a>\n\t\t\t\t<ol class=\"indicator\"><\/ol>\n\t\t\t\t<div class=\"modal fade\">\n\t\t\t\t\t<div class=\"modal-dialog\">\n\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t<div class=\"modal-header\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" aria-hidden=\"true\">&times;<\/button>\n\t\t\t\t\t\t\t\t<h4 class=\"modal-title\"><\/h4>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"modal-body next\"><\/div>\n\t\t\t\t\t\t\t<div class=\"modal-footer\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default pull-left prev\">\n\t\t\t\t\t\t\t\t\t<i class=\"glyphicon glyphicon-chevron-left\"><\/i>\n\t\t\t\t\t\t\t\t\tPrevious\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary next\">\n\t\t\t\t\t\t\t\t\tNext\t\t\t\t\t\t\t\t\t<i class=\"glyphicon glyphicon-chevron-right\"><\/i>\n\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<script type=\"text\/javascript\">\n\t\t\tjQuery(function() {\n\t\t\t\t\/\/ Set blueimp gallery options\n\t\t\t\tjQuery.extend(blueimp.Gallery.prototype.options, {\n\t\t\t\t\tuseBootstrapModal: false,\n\t\t\t\t\thidePageScrollbars: false\n\t\t\t\t});\n\t\t\t});\n\t\t\t<\/script>\n\t\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":489,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"_links":{"self":[{"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/pages\/1745"}],"collection":[{"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/comments?post=1745"}],"version-history":[{"count":3,"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/pages\/1745\/revisions"}],"predecessor-version":[{"id":1885,"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/pages\/1745\/revisions\/1885"}],"up":[{"embeddable":true,"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/pages\/489"}],"wp:attachment":[{"href":"https:\/\/fatima2018.equipes-notre-dame.com\/it\/wp-json\/wp\/v2\/media?parent=1745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}