{"id":5884,"date":"2019-03-22T05:58:07","date_gmt":"2019-03-22T04:58:07","guid":{"rendered":"http:\/\/robert-ostermeyer.de\/?page_id=5884"},"modified":"2019-03-22T05:58:08","modified_gmt":"2019-03-22T04:58:08","slug":"ruegen","status":"publish","type":"page","link":"https:\/\/robert-ostermeyer.de\/?page_id=5884","title":{"rendered":"R\u00fcgen"},"content":{"rendered":"\n\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.gallery5883 {\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('.gallery5883').flickr({\n\t\t\t\t\t\t\t\t\tapiKey: 'dc2ea3ad8d86f0306e0d1b8ab2f9e5b6',\n\t\t\t\t\t\t\t\t\tphotosetId: '72157661862238454'\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=\"gallery5883\">\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>R\u00fcgen<\/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 src=\"https:\/\/robert-ostermeyer.de\/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\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=corno_de\" class=\"twitter-share-button external\" rel=\"nofollow\" target=\"_blank\">Twittern<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":5832,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","ngg_post_thumbnail":0,"pgc_sgb_lightbox_settings":""},"wppr_data":[],"_links":{"self":[{"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/pages\/5884"}],"collection":[{"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5884"}],"version-history":[{"count":1,"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/pages\/5884\/revisions"}],"predecessor-version":[{"id":5885,"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/pages\/5884\/revisions\/5885"}],"up":[{"embeddable":true,"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=\/wp\/v2\/pages\/5832"}],"wp:attachment":[{"href":"https:\/\/robert-ostermeyer.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}