{"id":3292,"date":"2019-09-24T18:34:46","date_gmt":"2019-09-24T18:34:46","guid":{"rendered":"http:\/\/raval.es\/elx\/?p=3292"},"modified":"2022-08-05T12:45:17","modified_gmt":"2022-08-05T12:45:17","slug":"fotos-latrobada2","status":"publish","type":"post","link":"https:\/\/raval.es\/elx\/fotos-latrobada2\/","title":{"rendered":"Galeria Fotogr\u00e0fica &#8211; La Trobada 2"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n[et_pb_section fb_built=\u00bb1&#8243; admin_label=\u00bbsection\u00bb _builder_version=\u00bb3.22&#8243;][et_pb_row admin_label=\u00bbrow\u00bb _builder_version=\u00bb3.25&#8243; background_size=\u00bbinitial\u00bb background_position=\u00bbtop_left\u00bb background_repeat=\u00bbrepeat\u00bb][et_pb_column type=\u00bb4_4&#8243; _builder_version=\u00bb3.25&#8243; custom_padding=\u00bb|||\u00bb custom_padding__hover=\u00bb|||\u00bb][et_pb_text admin_label=\u00bbText\u00bb _builder_version=\u00bb3.27.4&#8243; background_size=\u00bbinitial\u00bb background_position=\u00bbtop_left\u00bb background_repeat=\u00bbrepeat\u00bb]\n                    <style>\n                                            .flickr-img-responsive {\n                            width:100% !important;\n                            height:auto !important;\n                            display:block !important;\n                        }\n                        .LoadingImg img {\n                            max-width: 45px;\n                            max-height: 45px;\n                            box-shadow: none;\n                        }\n                        .wpfrank-flickr-div{\n                            padding:15px;\n                        }\n                        @media (max-width: 786px){\n                            .col-md-3 {\n                                width:49.9%;\n                                float:left;\n                            }\n                        }\n                        .play-pause {\n                            display: none !important;\n                        }\n                        .gallery3300 {\n                            overflow:hidden;\n                            clear: both;\n                        }\n                        .fnf{\n                            background-color: #a92929;\n                            border-radius: 5px;\n                            color: #fff;\n                            font-family: initial;\n                            text-align: center;\n                            padding:12px;\n                        }\n                    <\/style>\n                    <script type=\"text\/javascript\">\n                    jQuery(function() {\n                        jQuery('.gallery-3300').flickr({\n                            apiKey: '2bfa706ed679584786299907e136e14a',\n                            photosetId: '72157711048593442'\n                        });\n                    });\n\n                    ;(function ($, window, document, undefined) {\n                        'use strict';\n                        var pluginName = \"flickr\",\n                            defaults = {\n                                apiKey: \"\",\n                                photosetId: \"\",\n                                errorText: \"<div class='fnf'><i class='far fa-times-circle'><\/i> Error generating gallery.<\/div>\",\n                                loadingSpeed: 38,\n                                photosLimit: 200\n                            },\n                            apiUrl = 'https:\/\/api.flickr.com\/services\/rest\/',\n                            photos = [];\n\n                        function Plugin(element, options) {\n                            this.element = $(element);\n                            this.settings = $.extend({}, defaults, options);\n                            this._defaults = defaults;\n                            this._name = pluginName;\n\n                            this._hideSpinner = function() {\n                                this.element.find('.spinner-wrapper').hide().find('*').hide();\n                            };\n\n                            this._printError = function() {\n                                this.element.find('.gallery-container').append($(\"<div><\/div>\", { \"class\": \"col-lg-12\" })\n                                    .append($(\"<div><\/div>\", { \"class\": \"error-wrapper\" })\n                                        .append($(\"<span><\/span>\", { \"class\": \"label label-danger error\" })\n                                            .html(this.settings.errorText))));\n                            };\n\n                            this._flickrAnimate = function() {\n                                this.element.find('.gallery-container img').each($.proxy(function(index, el) {\n                                    var image = el;\n                                    setTimeout(function() {\n                                        $(image).parent().fadeIn();\n                                    }, this.settings.loadingSpeed * index);\n                                }, this));\n                            };\n\n                            this._printGallery = function(photos) {\n                                var element = this.element.find('.gallery-container');\n                                if (!photos || photos.length === 0) {\n                                    this._hideSpinner();\n                                    this._printError();\n                                    return;\n                                }\n                                $.each(photos, function(key, photo) {\n                                    if (!photo || !photo.thumbnail) return; \/\/ Skip undefined or invalid photos\n                                    var img = $('<img>', { 'class': 'thumb img-thumbnail flickr-img-responsive', src: photo.thumbnail, 'alt': photo.title });\n                                    element.append($('<div><\/div>', { 'class': ' col-md-3 col-sm-4 col-center wpfrank-flickr-div' })\n                                        .append($('<a><\/a>', { 'class': '', href: photo.href, 'data-gallery': '', 'title': photo.title }).hide()\n                                            .append(img)));\n                                });\n\n                                element.imagesLoaded()\n                                    .done($.proxy(this._flickrAnimate, this))\n                                    .always($.proxy(this._hideSpinner, this));\n                            };\n\n                            this._flickrPhotoset = function(photoset) {\n                                var _this = this;\n                                photos[photoset.id] = [];\n                                $.each(photoset.photo, function(key, photo) {\n                                    if (photo.media !== \"photo\") {\n                                        return true; \/\/ Skip videos\n                                    }\n                                    if (key >= _this.settings.photosLimit) {\n                                        return false;\n                                    }\n                                    photos[photoset.id][key] = {\n                                        thumbnail: 'https:\/\/farm' + photo.farm + '.static.flickr.com\/' + photo.server + '\/' + photo.id + '_' + photo.secret + '_q.jpg',\n                                        href: 'https:\/\/farm' + photo.farm + '.static.flickr.com\/' + photo.server + '\/' + photo.id + '_' + photo.secret + '_b.jpg',\n                                        title: photo.title\n                                    };\n                                });\n\n                                console.log('Filtered photos:', photos[photoset.id]); \/\/ Debug log\n                                if (photos[photoset.id].length > 0) {\n                                    this._printGallery(photos[photoset.id]);\n                                } else {\n                                    this._hideSpinner();\n                                    this._printError();\n                                }\n                            };\n\n                            this._onFlickrResponse = function(response) {\n                                console.log('API Response:', response); \/\/ Debug log\n                                if (response.stat === \"ok\") {\n                                    this._flickrPhotoset(response.photoset);\n                                } else {\n                                    this._hideSpinner();\n                                    this._printError();\n                                }\n                            };\n\n                            this._flickrRequest = function(method, data) {\n                                var url = apiUrl + \"?format=json&jsoncallback=?&method=\" + method + \"&api_key=\" + this.settings.apiKey;\n                                $.each(data, function(key, value) {\n                                    url += \"&\" + key + \"=\" + value;\n                                });\n\n                                $.ajax({\n                                    dataType: \"json\",\n                                    url: url,\n                                    context: this,\n                                    success: this._onFlickrResponse\n                                });\n                            };\n\n                            this._flickrInit = function () {\n                                this._flickrRequest('flickr.photosets.getPhotos', {\n                                    photoset_id: this.settings.photosetId,\n                                    extras: 'media'\n                                });\n                            };\n\n                            this.init();\n                        }\n\n                        Plugin.prototype = {\n                            init: function () {\n                                this._flickrInit();\n                            }\n                        };\n\n                        $.fn[pluginName] = function (options) {\n                            this.each(function () {\n                                if (!$.data(this, \"plugin_\" + pluginName)) {\n                                    $.data(this, \"plugin_\" + pluginName, new Plugin(this, options));\n                                }\n                            });\n                            return this;\n                        };\n                    })(jQuery, window, document);\n                    <\/script>\n                    <div class=\"gallery-3300\">\n                                                    <h3>La Trobada 2 &#8211; 2019<\/h3>\n                                                <div class=\"row\">\n                            <div class=\"col-xs-12 spinner-wrapper\">\n                                <div class=\"LoadingImg\"><img decoding=\"async\" src=\"https:\/\/raval.es\/elx\/wp-content\/plugins\/flickr-album-gallery\/img\/loading.gif\" \/><\/div>\n                            <\/div>\n                            <div align=\"center\" class=\"gallery-container\"><\/div>\n                        <\/div>\n                    <\/div>\n                    \n            <!-- Blueimp gallery -->\n            <div id=\"blueimp-gallery-3300\" class=\"blueimp-gallery blueimp-gallery-controls\">\n                <div class=\"slides\"><\/div>\n                <h3 class=\"title\"><\/h3>\n                <a class=\"prev\">\u2039<\/a>\n                <a class=\"next\">\u203a<\/a>\n                <a class=\"close\">\u00d7<\/a>\n                <a class=\"play-pause\"><\/a>\n                <ol class=\"indicator\"><\/ol>\n                <div class=\"modal fade\">\n                    <div class=\"modal-dialog\">\n                        <div class=\"modal-content\">\n                            <div class=\"modal-header\">\n                                <button type=\"button\" class=\"close\" aria-hidden=\"true\">\u00d7<\/button>\n                                <h4 class=\"modal-title\"><\/h4>\n                            <\/div>\n                            <div class=\"modal-body next\"><\/div>\n                            <div class=\"modal-footer\">\n                                <button type=\"button\" class=\"btn btn-default pull-left prev\">\n                                    <i class=\"glyphicon glyphicon-chevron-left\"><\/i>\n                                    Previous                                <\/button>\n                                <button type=\"button\" class=\"btn btn-primary next\">\n                                    Next                                    <i class=\"glyphicon glyphicon-chevron-right\"><\/i>\n                                <\/button>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <script type=\"text\/javascript\">\n            jQuery(function() {\n                jQuery.extend(blueimp.Gallery.prototype.options, {\n                    useBootstrapModal: false,\n                    hidePageScrollbars: false,\n                    container: \"#blueimp-gallery-3300\",\n                });\n            });\n            <\/script>\n\n            \n\n\n\n<p><\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=\u00bb4.3.2&#8243;][et_pb_column _builder_version=\u00bb4.3.2&#8243; type=\u00bb4_4&#8243;][et_pb_text _builder_version=\u00bb4.3.2&#8243; min_height=\u00bb178px\u00bb global_module=\u00bb4005&#8243;]<p style=\"text-align: center;\"><strong>Organitzaci\u00f3 i participaci\u00f3<\/strong><\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/raval.es\/elx\/wp-content\/uploads\/2018\/10\/AV-logo-300x150.png\" alt=\"\" class=\"wp-image-2458 alignnone size-medium\" width=\"150\" height=\"52\" \/>\u00a0 <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/raval.es\/elx\/wp-content\/uploads\/2018\/10\/GVAlogo-300x135.png\" alt=\"\" class=\"wp-image-2463 alignnone size-medium\" width=\"200\" height=\"135\" \/> \u00a0<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/raval.es\/elx\/wp-content\/uploads\/2020\/04\/Generalitat-multilinguisme-300x126.png\" alt=\"\" class=\"wp-image-3990 alignnone size-medium\" width=\"220\" height=\"126\" \/> <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/raval.es\/elx\/wp-content\/uploads\/2018\/10\/elxparticipa.png\" alt=\"\" class=\"wp-image-2459 alignnone size-full\" googl=\"true\" width=\"100\" height=\"148\" \/> <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/raval.es\/elx\/wp-content\/uploads\/2017\/06\/elx-cultura.png\" alt=\"\" class=\"wp-image-1460 alignnone size-full\" width=\"150\" height=\"117\" \/>\u00a0 <img decoding=\"async\" src=\"http:\/\/raval.es\/elx\/wp-content\/uploads\/2018\/10\/ajuntament-300x92.png\" alt=\"\" class=\"wp-image-2457 alignnone size-medium\" width=\"250 \" height=\"67\" srcset=\"https:\/\/raval.es\/elx\/wp-content\/uploads\/2018\/10\/ajuntament-300x92.png 300w, https:\/\/raval.es\/elx\/wp-content\/uploads\/2018\/10\/ajuntament.png 536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=\u00bb1&#8243; admin_label=\u00bbsection\u00bb _builder_version=\u00bb3.22&#8243;][et_pb_row admin_label=\u00bbrow\u00bb _builder_version=\u00bb3.25&#8243; background_size=\u00bbinitial\u00bb background_position=\u00bbtop_left\u00bb background_repeat=\u00bbrepeat\u00bb][et_pb_column type=\u00bb4_4&#8243; _builder_version=\u00bb3.25&#8243; custom_padding=\u00bb|||\u00bb custom_padding__hover=\u00bb|||\u00bb][et_pb_text admin_label=\u00bbText\u00bb _builder_version=\u00bb3.27.4&#8243; background_size=\u00bbinitial\u00bb background_position=\u00bbtop_left\u00bb background_repeat=\u00bbrepeat\u00bb] [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=\u00bb4.3.2&#8243;][et_pb_column _builder_version=\u00bb4.3.2&#8243; type=\u00bb4_4&#8243;][et_pb_text _builder_version=\u00bb4.3.2&#8243; min_height=\u00bb178px\u00bb global_module=\u00bb4005&#8243;] Organitzaci\u00f3 i participaci\u00f3 \u00a0 \u00a0 \u00a0 [\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"author":1,"featured_media":3289,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<!-- wp:html -->\n[FAG id=3300]\n<!-- \/wp:html -->\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph -->","_et_gb_content_width":"","_joinchat":[],"footnotes":""},"categories":[94,96,4],"tags":[],"class_list":["post-3292","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-94","category-la-trobada-2019","category-portfolio"],"_links":{"self":[{"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/posts\/3292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/comments?post=3292"}],"version-history":[{"count":9,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/posts\/3292\/revisions"}],"predecessor-version":[{"id":6179,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/posts\/3292\/revisions\/6179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/media\/3289"}],"wp:attachment":[{"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/media?parent=3292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/categories?post=3292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raval.es\/elx\/wp-json\/wp\/v2\/tags?post=3292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}