Version Description
- Added images alt elements
Download this release
Release Info
Developer | robosoft |
Plugin | Gallery – Photo Gallery and Images Gallery |
Version | 2.1.7 |
Comparing to | |
See all releases |
Code changes from version 2.1.6 to 2.1.7
- gallery/js/jquery.collagePlus.min.js +1 -1
- includes/frontend/rbs_gallery_class.php +1 -1
- readme.txt +40 -12
- robogallery.php +2 -2
gallery/js/jquery.collagePlus.min.js
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
Licensed under the MIT license - http://opensource.org/licenses/MIT
|
4 |
Copyright (C) 2015 Andrew Prasetya
|
5 |
*/
|
6 |
-
!function(e,t,a){var i=function(i,o){function r(e){e.find(_+", ."+F).find(R+":not([data-popupTrigger])").each(function(){var e=t(this),i=e.find("div[data-popup]").eq(0);e.attr("data-popupTrigger","yes");var o="mfp-image";"iframe"==i.data("type")?o="mfp-iframe":"inline"==i.data("type")?o="mfp-inline":"ajax"==i.data("type")?o="mfp-ajax":"link"==i.data("type")?o="mfp-link":"blanklink"==i.data("type")&&(o="mfp-blanklink");var r=e.find(".rbs-lightbox").addBack(".rbs-lightbox");r.attr("data-mfp-src",i.data("popup")).addClass(o),i.attr("title")!=a&&r.attr("mfp-title",i.attr("title"))})}function n(e,i){function o(e){var i=t(e.img),o=i.parents(".image-with-dimensions");o[0]!=a&&(e.isLoaded?i.fadeIn(400,function(){o.removeClass("image-with-dimensions")}):(o.removeClass("image-with-dimensions"),i.hide(),o.addClass("broken-image-here")))}e.find(_).find(R+":not([data-imageconverted])").each(function(){var o=t(this),r=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0),s=r.data("thumbnail");if(r[0]==a&&(r=n,s=n.data("popup")),0!=i||0!=e.data("settings").waitForAllThumbsNoMatterWhat||r.data("width")==a&&r.data("height")==a){o.attr("data-imageconverted","yes");var d=r.attr("title");d==a&&(d=s);var l=t('<img style="margin:auto;" title="'+d+'" src="'+s+'" />');1==i&&(l.attr("data-dont-wait-for-me","yes"),r.addClass("image-with-dimensions"),e.data("settings").waitUntilThumbLoads&&l.hide()),r.addClass("rbs-img-thumbnail-container").prepend(l)}}),1==i&&e.find(".image-with-dimensions").imagesLoadedMB().always(function(e){for(index in e.images){var t=e.images[index];o(t)}}).progress(function(e,t){o(t)})}function s(e){e.find(_).each(function(){var i=t(this),o=i.find(R),r=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0);r[0]==a&&(r=n);var s=i.css("display");"none"==s&&i.css("margin-top",99999999999999).show();var d=2*e.data("settings").borderSize;o.width(r.width()-d),o.height(r.height()-d),"none"==s&&i.css("margin-top",0).hide()})}function d(e){e.find(_).find(R).each(function(){var i=t(this),o=i.find("div[data-thumbnail]").eq(0),r=i.find("div[data-popup]").eq(0);o[0]==a&&(o=r);var n=parseFloat(o.data("width")),s=parseFloat(o.data("height")),d=i.parents(_).width()-e.data("settings").horizontalSpaceBetweenBoxes,l=s*d/n;o.css("width",d),(o.data("width")!=a||o.data("height")!=a)&&o.css("height",Math.floor(l))})}function l(e,i,o){var r,n=e.find(_),s=!1;r="auto"==i?s?100/o+"%":Math.floor((e.width()-1)/o):i,e.find(".rbs-imges-grid-sizer").css("width",r),n.each(function(e){var i=t(this),n=i.data("columns");n!=a&&parseInt(o)>=parseInt(n)?s?i.css("width",parseFloat(100/o)*n+"%"):i.css("width",r*parseInt(n)):s?i.css("width",100/o+"%"):i.css("width",r)})}function c(){var t=e,a="inner";return"innerWidth"in e||(a="client",t=document.documentElement||document.body),{width:t[a+"Width"],height:t[a+"Height"]}}function f(e){var t=!1;for(var a in e.data("settings").resolutions){var i=e.data("settings").resolutions[a];if(i.maxWidth>=c().width){l(e,i.columnWidth,i.columns),t=!0;break}}0==t&&l(e,e.data("settings").columnWidth,e.data("settings").columns)}function m(e){var a=t('<div class="rbs-img-container"></div').css({"margin-left":e.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":e.data("settings").verticalSpaceBetweenBoxes}),i=e.find(_+":not([data-wrapper-added])").attr("data-wrapper-added","yes");i.wrapInner(a)}function p(e){if(0!=e.data("settings").thumbnailOverlay){var i=e.find(_+":not([data-set-overlay-for-hover-effect])").attr("data-set-overlay-for-hover-effect","yes");i.find(".thumbnail-overlay").wrapInner("<div class='aligment'><div class='aligment'></div></div>"),i.each(function(){var i=t(this),o=i.find(R),r=e.data("settings").overlayEffect;if(o.data("overlay-effect")!=a&&(r=o.data("overlay-effect")),"push-up"==r||"push-down"==r||"push-up-100%"==r||"push-down-100%"==r){var n=o.find(".rbs-img-thumbnail-container"),s=o.find(".thumbnail-overlay").css("position","relative");("push-up-100%"==r||"push-down-100%"==r)&&s.outerHeight(n.outerHeight(!1));var d=s.outerHeight(!1),l=t('<div class="wrapper-for-some-effects"></div');"push-up"==r||"push-up-100%"==r?s.appendTo(o):("push-down"==r||"push-down-100%"==r)&&(s.prependTo(o),l.css("margin-top",-d)),o.wrapInner(l)}else if("reveal-top"==r||"reveal-top-100%"==r){i.addClass("position-reveal-effect");var c=i.find(".thumbnail-overlay").css("top",0);"reveal-top-100%"==r&&c.css("height","100%")}else if("reveal-bottom"==r||"reveal-bottom-100%"==r){i.addClass("position-reveal-effect").addClass("position-bottom-reveal-effect");var c=i.find(".thumbnail-overlay").css("bottom",0);"reveal-bottom-100%"==r&&c.css("height","100%")}else if("direction"==r.substr(0,9))i.find(".thumbnail-overlay").css("height","100%");else if("fade"==r){var f=i.find(".thumbnail-overlay").hide();f.css({height:"100%",top:"0",left:"0"}),f.find(".fa").css({scale:1.4})}})}}function h(e){var i=e.find(_);i.each(function(){var i=t(this),o=i.find(R),r=e.data("settings").overlayEffect;o.data("overlay-effect")!=a&&(r=o.data("overlay-effect")),"direction"==r.substr(0,9)&&o.find(".thumbnail-overlay").hide()}),e.eveMB("layout")}function u(){var e=O.find(_+", ."+F),t=x();e.filter(t).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),e.not(t).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter")}function v(e,t){O.addClass("filtering-isotope"),b(e,t),u(),g()}function g(){C().length>0?I():L(),w()}function b(e,t){D[t]=e,O.eveMB({filter:y(D)})}function y(e){for(var t in e){var i=e[t];i==a&&(e[t]="*")}var o="";for(var t in e){var i=e[t];""==o?o=t:o.split(",").length<i.split(",").length&&(o=t)}var r=e[o];for(var t in e)if(t!=o)for(var n=e[t].split(","),s=0;s<n.length;s++){for(var d=r.split(","),l=[],c=0;c<d.length;c++)"*"==d[c]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==d[c]&&(d[c]="")),l.push(d[c]+n[s]);r=l.join(",")}return r}function w(){var e=k().length;return e<q.minBoxesPerFilter&&B().length>0?(M(q.minBoxesPerFilter-e),!0):!1}function k(){var e=O.find(_),t=x();return"*"!=t&&(e=e.filter(t)),e}function C(){var e=k().not(".rbs-img-loaded");return e}function x(){var e=O.data("eveMB").options.filter;return(""==e||e==a)&&(e="*"),e}function B(e){var t=O.find("."+F),i=x();return"*"!=i&&e==a&&(t=t.filter(i)),t}function I(){H.html(q.LoadingWord),H.removeClass("rbs-imges-load-more"),H.addClass("rbs-imges-loading")}function S(){A++,I()}function T(){A--,0==A&&L()}function L(){H.removeClass("rbs-imges-load-more"),H.removeClass("rbs-imges-loading"),H.removeClass("rbs-imges-no-more-entries"),B().length>0?(H.html(q.loadMoreWord),H.addClass("rbs-imges-load-more")):(H.html(q.noMoreEntriesWord),H.addClass("rbs-imges-no-more-entries"))}function M(e,a){if(1!=H.hasClass("rbs-imges-no-more-entries")){S();var i=[];B(a).each(function(a){var o=t(this);e>=a+1&&(o.removeClass(F).addClass(j),o.hide(),i.push(this))}),O.eveMB("insert",t(i),function(){T(),O.eveMB("layout")})}}function z(e){if(e!=a){var i=O.find("."+j+", ."+F);""==e?i.addClass("search-match"):(i.removeClass("search-match"),O.find(q.searchTarget).each(function(){var a=t(this),i=a.parents("."+j+", ."+F);-1!==a.text().toLowerCase().indexOf(e.toLowerCase())&&i.addClass("search-match")})),setTimeout(function(){v(".search-match","search")},100)}}function E(e){var t=e.data("sort-ascending");return t==a&&(t=!0),e.data("sort-toggle")&&1==e.data("sort-toggle")&&e.data("sort-ascending",!t),t}function W(){if("#!"!=location.hash.substr(0,2))return null;var e=location.href.split("#!")[1],t=e;return{hash:e,src:t}}function P(){var e=t.magnificPopup.instance;if(e){var a=W();if(!a&&e.isOpen)e.close();else if(a)if(e.isOpen&&e.currItem&&e.currItem.el.parents(".rbs-imges-container").attr("id")==a.id){if(e.currItem.el.attr("data-mfp-src")!=a.src){var i=null;t.each(e.items,function(e,o){var r=o.parsed?o.el:t(o);return r.attr("data-mfp-src")==a.src?(i=e,!1):void 0}),null!==i&&e.goTo(i)}}else O.filter('[id="'+a.id+'"]').find('.rbs-lightbox[data-mfp-src="'+a.src+'"]').trigger("click")}}var q=t.extend({},t.fn.collagePlus.defaults,o),O=t(i).addClass("rbs-imges-container"),_=".rbs-img",R=".rbs-img-image",j="rbs-img",F="rbs-img-hidden",U=Modernizr.csstransitions?"transition":"animate",D={},A=0;"default"==q.overlayEasing&&(q.overlayEasing="transition"==U?"_default":"swing");var H=t('<div class="rbs-imges-load-more button"></div>').insertAfter(O);H.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),H.addClass(q.loadMoreClass),q.resolutions.sort(function(e,t){return e.maxWidth-t.maxWidth}),O.data("settings",q),O.css({"margin-left":-q.horizontalSpaceBetweenBoxes}),O.find(_).removeClass(j).addClass(F);var N=t(q.sortContainer).find(q.sort).filter(".selected"),Q=N.attr("data-sort-by"),X=E(N);O.append('<div class="rbs-imges-grid-sizer"></div>'),O.eveMB({itemSelector:_,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:q.getSortData,sortBy:Q,sortAscending:X}),t.extend(EveMB.prototype,{resize:function(){var e=t(this.element);f(e),d(e),s(e),h(e),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),t.extend(EveMB.prototype,{_setContainerMeasure:function(e,i){if(e!==a){var o=this.size;o.isBorderBox&&(e+=i?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth),e=Math.max(e,0),this.element.style[i?"width":"height"]=e+"px";var r=t(this.element);t.waypoints("refresh"),r.addClass("lazy-load-ready"),r.removeClass("filtering-isotope")}}}),t.extend(EveMB.prototype,{insert:function(e,i){var o=this.addItems(e);if(o.length){var l,c,h=t(this.element),u=h.find("."+F)[0],v=o.length;for(l=0;v>l;l++)c=o[l],u!=a?this.element.insertBefore(c.element,u):this.element.appendChild(c.element);var g=function(){var e=this._filter(o);for(this._noTransition(function(){this.hide(e)}),l=0;v>l;l++)o[l].isLayoutInstant=!0;for(this.arrange(),l=0;v>l;l++)delete o[l].isLayoutInstant;this.reveal(e)},b=function(e){var a=t(e.img),i=a.parents("div[data-thumbnail], div[data-popup]");0==e.isLoaded&&(a.hide(),i.addClass("broken-image-here"))},y=this;m(h),f(h),d(h),r(h),n(h,!1),h.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){0==q.waitForAllThumbsNoMatterWhat&&n(h,!0),h.find(_).addClass("rbs-img-loaded"),g.call(y),s(h),p(h),"function"==typeof i&&i();for(index in y.images){var e=y.images[index];b(e)}}).progress(function(e,t){b(t)})}}}),M(q.boxesToLoadStart,!0),H.on("click",function(){M(q.boxesToLoad)}),q.lazyLoad&&O.waypoint(function(e){O.hasClass("lazy-load-ready")&&"down"==e&&0==O.hasClass("filtering-isotope")&&(O.removeClass("lazy-load-ready"),M(q.boxesToLoad))},{context:e,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1});var Y=t(q.filterContainer);Y.find(q.filter).on("click",function(e){var i=t(this),o=i.parents(q.filterContainer);o.find(q.filter).removeClass(q.filterContainerSelectClass),i.addClass(q.filterContainerSelectClass);var r=i.attr("data-filter"),n="filter";o.data("id")!=a&&(n=o.data("id")),v(r,n),e.preventDefault(),H.is(".rbs-imges-no-more-entries")||H.click()}),Y.each(function(){var e=t(this),i=e.find(q.filter).filter(".selected");if(i[0]!=a){var o=i.attr("data-filter"),r="filter";e.data("id")!=a&&(r=e.data("id")),b(o,r)}}),g(),z(t(q.search).val()),t(q.search).on("keyup",function(){var e=t(this).val();z(e)}),t(q.sortContainer).find(q.sort).on("click",function(e){var a=t(this);a.parents(q.sortContainer).find(q.sort).removeClass("selected"),a.addClass("selected");var i=a.attr("data-sort-by");O.eveMB({sortBy:i,sortAscending:E(a)}),e.preventDefault()}),O.on("mouseenter.hoverdir, mouseleave.hoverdir",R,function(e){if(0!=q.thumbnailOverlay){var i=t(this),o=q.overlayEffect;i.data("overlay-effect")!=a&&(o=i.data("overlay-effect"));var r=e.type,n=i.find(".rbs-img-thumbnail-container"),s=i.find(".thumbnail-overlay"),d=s.outerHeight(!1);if("push-up"==o||"push-up-100%"==o){var l=i.find("div.wrapper-for-some-effects");"mouseenter"===r?l.stop().show()[U]({"margin-top":-d},q.overlaySpeed,q.overlayEasing):l.stop()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing)}else if("push-down"==o||"push-down-100%"==o){var l=i.find("div.wrapper-for-some-effects");"mouseenter"===r?l.stop().show()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing):l.stop()[U]({"margin-top":-d},q.overlaySpeed,q.overlayEasing)}else if("reveal-top"==o||"reveal-top-100%"==o)"mouseenter"===r?n.stop().show()[U]({"margin-top":d},q.overlaySpeed,q.overlayEasing):n.stop()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing);else if("reveal-bottom"==o||"reveal-bottom-100%"==o)"mouseenter"===r?n.stop().show()[U]({"margin-top":-d},q.overlaySpeed,q.overlayEasing):n.stop()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing);else if("direction"==o.substr(0,9)){var c=G(i,{x:e.pageX,y:e.pageY});"direction-top"==o?c=0:"direction-bottom"==o?c=2:"direction-right"==o?c=1:"direction-left"==o&&(c=3);var f=J(c,i);"mouseenter"==r?(s.css({left:f.from,top:f.to}),s.stop().show().fadeTo(0,1,function(){t(this).stop()[U]({left:0,top:0},q.overlaySpeed,q.overlayEasing)})):"direction-aware-fade"==o?s.fadeOut(700):s.stop()[U]({left:f.from,top:f.to},q.overlaySpeed,q.overlayEasing)}else if("fade"==o){"mouseenter"==r?(s.stop().fadeOut(0),s.fadeIn(q.overlaySpeed)):(s.stop().fadeIn(0),s.fadeOut(q.overlaySpeed));var m=s.find(".fa");"mouseenter"==r?(m.css({scale:1.4}),m[U]({scale:1},200)):(m.css({scale:1}),m[U]({scale:1.4},200))}}});var G=function(e,t){var a=e.width(),i=e.height(),o=(t.x-e.offset().left-a/2)*(a>i?i/a:1),r=(t.y-e.offset().top-i/2)*(i>a?a/i:1),n=Math.round((Math.atan2(r,o)*(180/Math.PI)+180)/90+3)%4;return n},J=function(e,t){var a,i;switch(e){case 0:q.reverse?(a=0,i=-t.height()):(a=0,i=-t.height());break;case 1:q.reverse?(a=-t.width(),i=0):(a=t.width(),i=0);break;case 2:q.reverse?(a=0,i=-t.height()):(a=0,i=t.height());break;case 3:q.reverse?(a=t.width(),i=0):(a=-t.width(),i=0)}return{from:a,to:i}},K=".rbs-lightbox[data-mfp-src]";if(q.considerFilteringInPopup&&(K=_+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+F+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),q.showOnlyLoadedBoxesInPopup&&(K=_+":visible .rbs-lightbox[data-mfp-src]"),q.magnificPopup){var V={delegate:K,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:q.alignTop,preload:q.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:q.gallery},closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var i=t(this.currItem.el);return i.is(".mfp-link")?(e.location.href=t(this.currItem).attr("src"),!1):i.is(".mfp-blanklink")?(e.open(t(this.currItem).attr("src")),setTimeout(function(){var e=t.magnificPopup.instance;e.close()},5),!1):(setTimeout(function(){var e="";if(q.descBox){t(".mfp-desc-block").remove();var o=i.attr("data-descbox");"undefined"!=typeof o&&t(".mfp-img").after("<div class='mfp-desc-block "+q.descBoxClass+"'>"+o+"</div>")}t(".mfp-title").html(i.attr("mfp-title")==a||q.hideTitle?"":i.attr("mfp-title"));var r=i.attr("data-mfp-src");e="",q.hideSourceImage&&(e=e+' <a class="image-source-link" href="'+r+'" target="_blank"></a>');var n=location.href,s=(location.href.replace(location.hash,""),i.attr("mfp-title")),d=n;t(".mfp-img").attr("alt",s);var l="";q.facebook&&(l+="<div class='rbs-imges-facebook fa fa-facebook-square' data-url='"+d+"'></div>"),q.twitter&&(l+="<div class='rbs-imges-twitter fa fa-twitter-square' data-url='"+d+"' data-title='"+s+"' ></div>"),q.googleplus&&(l+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-url='"+d+"'></div>"),q.pinterest&&(l+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+r+"' data-title='"+s+"' data-url='"+d+"' ></div>"),l=l?"<div class='rbs-imges-social-container'>"+l+"</div>":"";var c=t(".mfp-title").html();t(".mfp-title").html(c+l+e)},5),void(q.deepLinking&&(location.hash="#!"+i.attr("data-mfp-src"))))},beforeOpen:function(){1==q.touch&&jQuery("body").swipe("enable"),this.container.data("scrollTop",parseInt(t(e).scrollTop()))},open:function(){t("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){1==q.touch&&jQuery("body").swipe("disable"),q.deepLinking&&(e.location.hash="#!")}}};t.extend(V,q.lightboxOptions),O.magnificPopup(V)}if(q.deepLinking){var Z=W();Z&&O.find('.rbs-lightbox[data-mfp-src="'+Z.src+'"]').trigger("click"),e.addEventListener?e.addEventListener("hashchange",P,!1):e.attachEvent&&e.attachEvent("onhashchange",P)}var $=function(t){var a=e.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400");a.moveTo(screen.width/2-300,screen.height/2-200)};return t("body").on("click","div.rbs-imges-facebook",function(){var e=t(this),a=encodeURIComponent(e.data("url"));a="https://www.facebook.com/sharer/sharer.php?u="+a,$(a)}),t("body").on("click","div.rbs-imges-twitter",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.data("title"));a="https://twitter.com/intent/tweet?url="+encodeURIComponent(e.data("url"))+"&text="+i,$(a)}),t("body").on("click","div.rbs-imges-googleplus",function(){var e=t(this),a=encodeURIComponent(e.data("url"));a="https://plus.google.com/share?url="+a,$(a)}),t("body").on("click","div.rbs-imges-pinterest",function(){var e=t(this);url="http://pinterest.com/pin/create/button/?url="+encodeURIComponent(e.data("url"))+"&media="+encodeURIComponent(e.data("src"))+"&description="+encodeURIComponent(e.data("title")),$(url)}),this};t.fn.collagePlus=function(a){return this.each(function(o,r){var n=t(this);if(n.data("collagePlus"))return n.data("collagePlus");var s=new i(this,a);n.data("collagePlus",s),t(".thumbnail-overlay a",this).click(function(a){a.preventDefault();var i=t(this).attr("href");return"_blank"==t(this).attr("target")?e.open(i,"_blank"):location.href=i,!1})})},t.fn.collagePlus.defaults={boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!1,descBox:!1,descBoxClass:"",descBoxSource:""},function(){function a(){var t=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||e.opera),t}function i(e){function i(){d.hide()}function o(){d.show()}function r(){var e=d.find(".selected"),t=e.length?e.parents("li"):d.children().first();l.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function n(e){e.preventDefault(),e.stopPropagation(),t(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),r()}function s(e){e.stopPropagation(),d.is(":visible")?i():o()}var d=e.find(".rbs-imges-drop-down-menu"),l=e.find(".rbs-imges-drop-down-header");r(),a()?(t("body").on("click",function(){d.is(":visible")&&i()}),l.bind("click",s),d.find("> li > *").bind("click",n)):(l.bind("mouseout",i).bind("mouseover",o),d.find("> li > *").bind("mouseout",i).bind("mouseover",o).bind("click",n)),l.on("click","a",function(e){e.preventDefault()})}t(".rbs-imges-drop-down").each(function(){i(t(this))})}()}(window,jQuery);
|
3 |
Licensed under the MIT license - http://opensource.org/licenses/MIT
|
4 |
Copyright (C) 2015 Andrew Prasetya
|
5 |
*/
|
6 |
+
!function(e,t,a){var i=function(i,o){function r(e){e.find(_+", ."+F).find(R+":not([data-popupTrigger])").each(function(){var e=t(this),i=e.find("div[data-popup]").eq(0);e.attr("data-popupTrigger","yes");var o="mfp-image";"iframe"==i.data("type")?o="mfp-iframe":"inline"==i.data("type")?o="mfp-inline":"ajax"==i.data("type")?o="mfp-ajax":"link"==i.data("type")?o="mfp-link":"blanklink"==i.data("type")&&(o="mfp-blanklink");var r=e.find(".rbs-lightbox").addBack(".rbs-lightbox");r.attr("data-mfp-src",i.data("popup")).addClass(o),i.attr("title")!=a&&r.attr("mfp-title",i.attr("title"))})}function n(e,i){function o(e){var i=t(e.img),o=i.parents(".image-with-dimensions");o[0]!=a&&(e.isLoaded?i.fadeIn(400,function(){o.removeClass("image-with-dimensions")}):(o.removeClass("image-with-dimensions"),i.hide(),o.addClass("broken-image-here")))}e.find(_).find(R+":not([data-imageconverted])").each(function(){var o=t(this),r=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0),s=r.data("thumbnail");if(r[0]==a&&(r=n,s=n.data("popup")),0!=i||0!=e.data("settings").waitForAllThumbsNoMatterWhat||r.data("width")==a&&r.data("height")==a){o.attr("data-imageconverted","yes");var d=r.attr("title");d==a&&(d=s);var l=t('<img style="margin:auto;" alt="'+d+'" title="'+d+'" src="'+s+'" />');1==i&&(l.attr("data-dont-wait-for-me","yes"),r.addClass("image-with-dimensions"),e.data("settings").waitUntilThumbLoads&&l.hide()),r.addClass("rbs-img-thumbnail-container").prepend(l)}}),1==i&&e.find(".image-with-dimensions").imagesLoadedMB().always(function(e){for(index in e.images){var t=e.images[index];o(t)}}).progress(function(e,t){o(t)})}function s(e){e.find(_).each(function(){var i=t(this),o=i.find(R),r=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0);r[0]==a&&(r=n);var s=i.css("display");"none"==s&&i.css("margin-top",99999999999999).show();var d=2*e.data("settings").borderSize;o.width(r.width()-d),o.height(r.height()-d),"none"==s&&i.css("margin-top",0).hide()})}function d(e){e.find(_).find(R).each(function(){var i=t(this),o=i.find("div[data-thumbnail]").eq(0),r=i.find("div[data-popup]").eq(0);o[0]==a&&(o=r);var n=parseFloat(o.data("width")),s=parseFloat(o.data("height")),d=i.parents(_).width()-e.data("settings").horizontalSpaceBetweenBoxes,l=s*d/n;o.css("width",d),(o.data("width")!=a||o.data("height")!=a)&&o.css("height",Math.floor(l))})}function l(e,i,o){var r,n=e.find(_),s=!1;r="auto"==i?s?100/o+"%":Math.floor((e.width()-1)/o):i,e.find(".rbs-imges-grid-sizer").css("width",r),n.each(function(e){var i=t(this),n=i.data("columns");n!=a&&parseInt(o)>=parseInt(n)?s?i.css("width",parseFloat(100/o)*n+"%"):i.css("width",r*parseInt(n)):s?i.css("width",100/o+"%"):i.css("width",r)})}function c(){var t=e,a="inner";return"innerWidth"in e||(a="client",t=document.documentElement||document.body),{width:t[a+"Width"],height:t[a+"Height"]}}function f(e){var t=!1;for(var a in e.data("settings").resolutions){var i=e.data("settings").resolutions[a];if(i.maxWidth>=c().width){l(e,i.columnWidth,i.columns),t=!0;break}}0==t&&l(e,e.data("settings").columnWidth,e.data("settings").columns)}function m(e){var a=t('<div class="rbs-img-container"></div').css({"margin-left":e.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":e.data("settings").verticalSpaceBetweenBoxes}),i=e.find(_+":not([data-wrapper-added])").attr("data-wrapper-added","yes");i.wrapInner(a)}function p(e){if(0!=e.data("settings").thumbnailOverlay){var i=e.find(_+":not([data-set-overlay-for-hover-effect])").attr("data-set-overlay-for-hover-effect","yes");i.find(".thumbnail-overlay").wrapInner("<div class='aligment'><div class='aligment'></div></div>"),i.each(function(){var i=t(this),o=i.find(R),r=e.data("settings").overlayEffect;if(o.data("overlay-effect")!=a&&(r=o.data("overlay-effect")),"push-up"==r||"push-down"==r||"push-up-100%"==r||"push-down-100%"==r){var n=o.find(".rbs-img-thumbnail-container"),s=o.find(".thumbnail-overlay").css("position","relative");("push-up-100%"==r||"push-down-100%"==r)&&s.outerHeight(n.outerHeight(!1));var d=s.outerHeight(!1),l=t('<div class="wrapper-for-some-effects"></div');"push-up"==r||"push-up-100%"==r?s.appendTo(o):("push-down"==r||"push-down-100%"==r)&&(s.prependTo(o),l.css("margin-top",-d)),o.wrapInner(l)}else if("reveal-top"==r||"reveal-top-100%"==r){i.addClass("position-reveal-effect");var c=i.find(".thumbnail-overlay").css("top",0);"reveal-top-100%"==r&&c.css("height","100%")}else if("reveal-bottom"==r||"reveal-bottom-100%"==r){i.addClass("position-reveal-effect").addClass("position-bottom-reveal-effect");var c=i.find(".thumbnail-overlay").css("bottom",0);"reveal-bottom-100%"==r&&c.css("height","100%")}else if("direction"==r.substr(0,9))i.find(".thumbnail-overlay").css("height","100%");else if("fade"==r){var f=i.find(".thumbnail-overlay").hide();f.css({height:"100%",top:"0",left:"0"}),f.find(".fa").css({scale:1.4})}})}}function h(e){var i=e.find(_);i.each(function(){var i=t(this),o=i.find(R),r=e.data("settings").overlayEffect;o.data("overlay-effect")!=a&&(r=o.data("overlay-effect")),"direction"==r.substr(0,9)&&o.find(".thumbnail-overlay").hide()}),e.eveMB("layout")}function u(){var e=O.find(_+", ."+F),t=x();e.filter(t).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),e.not(t).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter")}function v(e,t){O.addClass("filtering-isotope"),b(e,t),u(),g()}function g(){C().length>0?I():L(),w()}function b(e,t){D[t]=e,O.eveMB({filter:y(D)})}function y(e){for(var t in e){var i=e[t];i==a&&(e[t]="*")}var o="";for(var t in e){var i=e[t];""==o?o=t:o.split(",").length<i.split(",").length&&(o=t)}var r=e[o];for(var t in e)if(t!=o)for(var n=e[t].split(","),s=0;s<n.length;s++){for(var d=r.split(","),l=[],c=0;c<d.length;c++)"*"==d[c]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==d[c]&&(d[c]="")),l.push(d[c]+n[s]);r=l.join(",")}return r}function w(){var e=k().length;return e<q.minBoxesPerFilter&&B().length>0?(M(q.minBoxesPerFilter-e),!0):!1}function k(){var e=O.find(_),t=x();return"*"!=t&&(e=e.filter(t)),e}function C(){var e=k().not(".rbs-img-loaded");return e}function x(){var e=O.data("eveMB").options.filter;return(""==e||e==a)&&(e="*"),e}function B(e){var t=O.find("."+F),i=x();return"*"!=i&&e==a&&(t=t.filter(i)),t}function I(){H.html(q.LoadingWord),H.removeClass("rbs-imges-load-more"),H.addClass("rbs-imges-loading")}function S(){A++,I()}function T(){A--,0==A&&L()}function L(){H.removeClass("rbs-imges-load-more"),H.removeClass("rbs-imges-loading"),H.removeClass("rbs-imges-no-more-entries"),B().length>0?(H.html(q.loadMoreWord),H.addClass("rbs-imges-load-more")):(H.html(q.noMoreEntriesWord),H.addClass("rbs-imges-no-more-entries"))}function M(e,a){if(1!=H.hasClass("rbs-imges-no-more-entries")){S();var i=[];B(a).each(function(a){var o=t(this);e>=a+1&&(o.removeClass(F).addClass(j),o.hide(),i.push(this))}),O.eveMB("insert",t(i),function(){T(),O.eveMB("layout")})}}function z(e){if(e!=a){var i=O.find("."+j+", ."+F);""==e?i.addClass("search-match"):(i.removeClass("search-match"),O.find(q.searchTarget).each(function(){var a=t(this),i=a.parents("."+j+", ."+F);-1!==a.text().toLowerCase().indexOf(e.toLowerCase())&&i.addClass("search-match")})),setTimeout(function(){v(".search-match","search")},100)}}function E(e){var t=e.data("sort-ascending");return t==a&&(t=!0),e.data("sort-toggle")&&1==e.data("sort-toggle")&&e.data("sort-ascending",!t),t}function W(){if("#!"!=location.hash.substr(0,2))return null;var e=location.href.split("#!")[1],t=e;return{hash:e,src:t}}function P(){var e=t.magnificPopup.instance;if(e){var a=W();if(!a&&e.isOpen)e.close();else if(a)if(e.isOpen&&e.currItem&&e.currItem.el.parents(".rbs-imges-container").attr("id")==a.id){if(e.currItem.el.attr("data-mfp-src")!=a.src){var i=null;t.each(e.items,function(e,o){var r=o.parsed?o.el:t(o);return r.attr("data-mfp-src")==a.src?(i=e,!1):void 0}),null!==i&&e.goTo(i)}}else O.filter('[id="'+a.id+'"]').find('.rbs-lightbox[data-mfp-src="'+a.src+'"]').trigger("click")}}var q=t.extend({},t.fn.collagePlus.defaults,o),O=t(i).addClass("rbs-imges-container"),_=".rbs-img",R=".rbs-img-image",j="rbs-img",F="rbs-img-hidden",U=Modernizr.csstransitions?"transition":"animate",D={},A=0;"default"==q.overlayEasing&&(q.overlayEasing="transition"==U?"_default":"swing");var H=t('<div class="rbs-imges-load-more button"></div>').insertAfter(O);H.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),H.addClass(q.loadMoreClass),q.resolutions.sort(function(e,t){return e.maxWidth-t.maxWidth}),O.data("settings",q),O.css({"margin-left":-q.horizontalSpaceBetweenBoxes}),O.find(_).removeClass(j).addClass(F);var N=t(q.sortContainer).find(q.sort).filter(".selected"),Q=N.attr("data-sort-by"),X=E(N);O.append('<div class="rbs-imges-grid-sizer"></div>'),O.eveMB({itemSelector:_,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:q.getSortData,sortBy:Q,sortAscending:X}),t.extend(EveMB.prototype,{resize:function(){var e=t(this.element);f(e),d(e),s(e),h(e),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),t.extend(EveMB.prototype,{_setContainerMeasure:function(e,i){if(e!==a){var o=this.size;o.isBorderBox&&(e+=i?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth),e=Math.max(e,0),this.element.style[i?"width":"height"]=e+"px";var r=t(this.element);t.waypoints("refresh"),r.addClass("lazy-load-ready"),r.removeClass("filtering-isotope")}}}),t.extend(EveMB.prototype,{insert:function(e,i){var o=this.addItems(e);if(o.length){var l,c,h=t(this.element),u=h.find("."+F)[0],v=o.length;for(l=0;v>l;l++)c=o[l],u!=a?this.element.insertBefore(c.element,u):this.element.appendChild(c.element);var g=function(){var e=this._filter(o);for(this._noTransition(function(){this.hide(e)}),l=0;v>l;l++)o[l].isLayoutInstant=!0;for(this.arrange(),l=0;v>l;l++)delete o[l].isLayoutInstant;this.reveal(e)},b=function(e){var a=t(e.img),i=a.parents("div[data-thumbnail], div[data-popup]");0==e.isLoaded&&(a.hide(),i.addClass("broken-image-here"))},y=this;m(h),f(h),d(h),r(h),n(h,!1),h.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){0==q.waitForAllThumbsNoMatterWhat&&n(h,!0),h.find(_).addClass("rbs-img-loaded"),g.call(y),s(h),p(h),"function"==typeof i&&i();for(index in y.images){var e=y.images[index];b(e)}}).progress(function(e,t){b(t)})}}}),M(q.boxesToLoadStart,!0),H.on("click",function(){M(q.boxesToLoad)}),q.lazyLoad&&O.waypoint(function(e){O.hasClass("lazy-load-ready")&&"down"==e&&0==O.hasClass("filtering-isotope")&&(O.removeClass("lazy-load-ready"),M(q.boxesToLoad))},{context:e,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1});var Y=t(q.filterContainer);Y.find(q.filter).on("click",function(e){var i=t(this),o=i.parents(q.filterContainer);o.find(q.filter).removeClass(q.filterContainerSelectClass),i.addClass(q.filterContainerSelectClass);var r=i.attr("data-filter"),n="filter";o.data("id")!=a&&(n=o.data("id")),v(r,n),e.preventDefault(),H.is(".rbs-imges-no-more-entries")||H.click()}),Y.each(function(){var e=t(this),i=e.find(q.filter).filter(".selected");if(i[0]!=a){var o=i.attr("data-filter"),r="filter";e.data("id")!=a&&(r=e.data("id")),b(o,r)}}),g(),z(t(q.search).val()),t(q.search).on("keyup",function(){var e=t(this).val();z(e)}),t(q.sortContainer).find(q.sort).on("click",function(e){var a=t(this);a.parents(q.sortContainer).find(q.sort).removeClass("selected"),a.addClass("selected");var i=a.attr("data-sort-by");O.eveMB({sortBy:i,sortAscending:E(a)}),e.preventDefault()}),O.on("mouseenter.hoverdir, mouseleave.hoverdir",R,function(e){if(0!=q.thumbnailOverlay){var i=t(this),o=q.overlayEffect;i.data("overlay-effect")!=a&&(o=i.data("overlay-effect"));var r=e.type,n=i.find(".rbs-img-thumbnail-container"),s=i.find(".thumbnail-overlay"),d=s.outerHeight(!1);if("push-up"==o||"push-up-100%"==o){var l=i.find("div.wrapper-for-some-effects");"mouseenter"===r?l.stop().show()[U]({"margin-top":-d},q.overlaySpeed,q.overlayEasing):l.stop()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing)}else if("push-down"==o||"push-down-100%"==o){var l=i.find("div.wrapper-for-some-effects");"mouseenter"===r?l.stop().show()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing):l.stop()[U]({"margin-top":-d},q.overlaySpeed,q.overlayEasing)}else if("reveal-top"==o||"reveal-top-100%"==o)"mouseenter"===r?n.stop().show()[U]({"margin-top":d},q.overlaySpeed,q.overlayEasing):n.stop()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing);else if("reveal-bottom"==o||"reveal-bottom-100%"==o)"mouseenter"===r?n.stop().show()[U]({"margin-top":-d},q.overlaySpeed,q.overlayEasing):n.stop()[U]({"margin-top":0},q.overlaySpeed,q.overlayEasing);else if("direction"==o.substr(0,9)){var c=G(i,{x:e.pageX,y:e.pageY});"direction-top"==o?c=0:"direction-bottom"==o?c=2:"direction-right"==o?c=1:"direction-left"==o&&(c=3);var f=J(c,i);"mouseenter"==r?(s.css({left:f.from,top:f.to}),s.stop().show().fadeTo(0,1,function(){t(this).stop()[U]({left:0,top:0},q.overlaySpeed,q.overlayEasing)})):"direction-aware-fade"==o?s.fadeOut(700):s.stop()[U]({left:f.from,top:f.to},q.overlaySpeed,q.overlayEasing)}else if("fade"==o){"mouseenter"==r?(s.stop().fadeOut(0),s.fadeIn(q.overlaySpeed)):(s.stop().fadeIn(0),s.fadeOut(q.overlaySpeed));var m=s.find(".fa");"mouseenter"==r?(m.css({scale:1.4}),m[U]({scale:1},200)):(m.css({scale:1}),m[U]({scale:1.4},200))}}});var G=function(e,t){var a=e.width(),i=e.height(),o=(t.x-e.offset().left-a/2)*(a>i?i/a:1),r=(t.y-e.offset().top-i/2)*(i>a?a/i:1),n=Math.round((Math.atan2(r,o)*(180/Math.PI)+180)/90+3)%4;return n},J=function(e,t){var a,i;switch(e){case 0:q.reverse?(a=0,i=-t.height()):(a=0,i=-t.height());break;case 1:q.reverse?(a=-t.width(),i=0):(a=t.width(),i=0);break;case 2:q.reverse?(a=0,i=-t.height()):(a=0,i=t.height());break;case 3:q.reverse?(a=t.width(),i=0):(a=-t.width(),i=0)}return{from:a,to:i}},K=".rbs-lightbox[data-mfp-src]";if(q.considerFilteringInPopup&&(K=_+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+F+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),q.showOnlyLoadedBoxesInPopup&&(K=_+":visible .rbs-lightbox[data-mfp-src]"),q.magnificPopup){var V={delegate:K,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:q.alignTop,preload:q.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:q.gallery},closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var i=t(this.currItem.el);return i.is(".mfp-link")?(e.location.href=t(this.currItem).attr("src"),!1):i.is(".mfp-blanklink")?(e.open(t(this.currItem).attr("src")),setTimeout(function(){var e=t.magnificPopup.instance;e.close()},5),!1):(setTimeout(function(){var e="";if(q.descBox){t(".mfp-desc-block").remove();var o=i.attr("data-descbox");"undefined"!=typeof o&&t(".mfp-img").after("<div class='mfp-desc-block "+q.descBoxClass+"'>"+o+"</div>")}t(".mfp-title").html(i.attr("mfp-title")==a||q.hideTitle?"":i.attr("mfp-title"));var r=i.attr("data-mfp-src");e="",q.hideSourceImage&&(e=e+' <a class="image-source-link" href="'+r+'" target="_blank"></a>');var n=location.href,s=(location.href.replace(location.hash,""),i.attr("mfp-title")),d=n;t(".mfp-img").attr("alt",s);var l="";q.facebook&&(l+="<div class='rbs-imges-facebook fa fa-facebook-square' data-url='"+d+"'></div>"),q.twitter&&(l+="<div class='rbs-imges-twitter fa fa-twitter-square' data-url='"+d+"' data-title='"+s+"' ></div>"),q.googleplus&&(l+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-url='"+d+"'></div>"),q.pinterest&&(l+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+r+"' data-title='"+s+"' data-url='"+d+"' ></div>"),l=l?"<div class='rbs-imges-social-container'>"+l+"</div>":"";var c=t(".mfp-title").html();t(".mfp-title").html(c+l+e)},5),void(q.deepLinking&&(location.hash="#!"+i.attr("data-mfp-src"))))},beforeOpen:function(){1==q.touch&&jQuery("body").swipe("enable"),this.container.data("scrollTop",parseInt(t(e).scrollTop()))},open:function(){t("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){1==q.touch&&jQuery("body").swipe("disable"),q.deepLinking&&(e.location.hash="#!")}}};t.extend(V,q.lightboxOptions),O.magnificPopup(V)}if(q.deepLinking){var Z=W();Z&&O.find('.rbs-lightbox[data-mfp-src="'+Z.src+'"]').trigger("click"),e.addEventListener?e.addEventListener("hashchange",P,!1):e.attachEvent&&e.attachEvent("onhashchange",P)}var $=function(t){var a=e.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400");a.moveTo(screen.width/2-300,screen.height/2-200)};return t("body").on("click","div.rbs-imges-facebook",function(){var e=t(this),a=encodeURIComponent(e.data("url"));a="https://www.facebook.com/sharer/sharer.php?u="+a,$(a)}),t("body").on("click","div.rbs-imges-twitter",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.data("title"));a="https://twitter.com/intent/tweet?url="+encodeURIComponent(e.data("url"))+"&text="+i,$(a)}),t("body").on("click","div.rbs-imges-googleplus",function(){var e=t(this),a=encodeURIComponent(e.data("url"));a="https://plus.google.com/share?url="+a,$(a)}),t("body").on("click","div.rbs-imges-pinterest",function(){var e=t(this);url="http://pinterest.com/pin/create/button/?url="+encodeURIComponent(e.data("url"))+"&media="+encodeURIComponent(e.data("src"))+"&description="+encodeURIComponent(e.data("title")),$(url)}),this};t.fn.collagePlus=function(a){return this.each(function(o,r){var n=t(this);if(n.data("collagePlus"))return n.data("collagePlus");var s=new i(this,a);n.data("collagePlus",s),t(".thumbnail-overlay a",this).click(function(a){a.preventDefault();var i=t(this).attr("href");return"_blank"==t(this).attr("target")?e.open(i,"_blank"):location.href=i,!1})})},t.fn.collagePlus.defaults={boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!1,descBox:!1,descBoxClass:"",descBoxSource:""},function(){function a(){var t=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||e.opera),t}function i(e){function i(){d.hide()}function o(){d.show()}function r(){var e=d.find(".selected"),t=e.length?e.parents("li"):d.children().first();l.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function n(e){e.preventDefault(),e.stopPropagation(),t(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),r()}function s(e){e.stopPropagation(),d.is(":visible")?i():o()}var d=e.find(".rbs-imges-drop-down-menu"),l=e.find(".rbs-imges-drop-down-header");r(),a()?(t("body").on("click",function(){d.is(":visible")&&i()}),l.bind("click",s),d.find("> li > *").bind("click",n)):(l.bind("mouseout",i).bind("mouseover",o),d.find("> li > *").bind("mouseout",i).bind("mouseover",o).bind("click",n)),l.on("click","a",function(e){e.preventDefault()})}t(".rbs-imges-drop-down").each(function(){i(t(this))})}()}(window,jQuery);
|
includes/frontend/rbs_gallery_class.php
CHANGED
@@ -541,7 +541,7 @@ class roboGallery extends roboGalleryUtils{
|
|
541 |
$this->returnHtml .=
|
542 |
'<div class="rbs-img category'.$img['catid'].'" '.( isset($img['col']) && $img['col'] ?' data-columns="'.$img['col'].'" ' :'').'>'.$lineBrake.$newLine
|
543 |
.'<div class="rbs-img-image '.(!$this->thumbClick?' rbs-lightbox':'').'" '.$descBoxData.' '.( isset($img['effect']) && $img['effect'] ?' data-overlay-effect="'.$img['effect'].'" ' :'').' >'.$lineBrake.$newLine.$newLine
|
544 |
-
.'<div data-thumbnail="'.$img['thumb'].'" data-width="'.( $sizeType ? $width : $img['sizeW'] ).'" data-height="'.($sizeType?$height:$img['sizeH']).'" ></div>'.$lineBrake.$newLine.$newLine
|
545 |
.'<div data-popup="'.$link.'" title="'.$lightboxText.'" '.($lightboxCaption?'data-caption="'.$lightboxCaption.'"':'').'></div>'.$lineBrake.$newLine.$newLine
|
546 |
.$this->getHover($img).$lineBrake.$newLine
|
547 |
.'</div>'.$lineBrake.$newLine
|
541 |
$this->returnHtml .=
|
542 |
'<div class="rbs-img category'.$img['catid'].'" '.( isset($img['col']) && $img['col'] ?' data-columns="'.$img['col'].'" ' :'').'>'.$lineBrake.$newLine
|
543 |
.'<div class="rbs-img-image '.(!$this->thumbClick?' rbs-lightbox':'').'" '.$descBoxData.' '.( isset($img['effect']) && $img['effect'] ?' data-overlay-effect="'.$img['effect'].'" ' :'').' >'.$lineBrake.$newLine.$newLine
|
544 |
+
.'<div data-thumbnail="'.$img['thumb'].'" title="'.$lightboxText.'" data-width="'.( $sizeType ? $width : $img['sizeW'] ).'" data-height="'.($sizeType?$height:$img['sizeH']).'" ></div>'.$lineBrake.$newLine.$newLine
|
545 |
.'<div data-popup="'.$link.'" title="'.$lightboxText.'" '.($lightboxCaption?'data-caption="'.$lightboxCaption.'"':'').'></div>'.$lineBrake.$newLine.$newLine
|
546 |
.$this->getHover($img).$lineBrake.$newLine
|
547 |
.'</div>'.$lineBrake.$newLine
|
readme.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
=== Gallery ===
|
2 |
Contributors: robosoft
|
3 |
Donate link: http://www.robosoft.co/robogallery
|
4 |
Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
|
12 |
-
Gallery with
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
-
#### [Most Easy and Powerful plugin to create
|
17 |
|
18 |
-
#### If you looking for fast, easy gallery with simple and very beautiful, highly customizable design [here is it...](http://robosoft.co/robogallery/#overview) Gallery where even newbie in Wordpress will be able to create your first gallery in few minutes and at the same time Wordpress professionals get advanced tools and freedom of creativity. Just download this Gallery and you'll not look for any other gallery any more! [Fall in Love with this Gallery like we do!](http://robosoft.co/robogallery/#overview)
|
19 |
|
20 |
= Install and create your first Wordpress gallery in few minutes =
|
21 |
|
@@ -56,8 +56,8 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
56 |
* **Advanced pagination function** - pagination function of the gallery implemented in google load more style
|
57 |
* **Work in IE, Firefox, Safari, Opera, Chrome** - gallery work properly in all latest versions of the popular browsers
|
58 |
* **Lazy loading option** - in gallery implemented advanced lazy loading options, for the case when you have big sets of the images you can define amount of the galleries images for the first load and for the next steps of the load more option
|
59 |
-
* **Advanced cache options** - in gallery implemented advanced images caching options
|
60 |
-
* **Overlay effects** - all hover effects of the gallery thumbnails are highly customizable and have full set of options
|
61 |
* **Backend text settings preview** - all gallery images titles, captions, descriptions are highly customizable also we have life preview of the changes in gallery backend
|
62 |
* **Resizing crop function** - in gallery media managed you'll find great set of very useful features for example gallery images crop, and manual resizing
|
63 |
* **Optional mobile touch support** - our gallery support mobile devices and you can customize gallery layout settings for different screen sizes
|
@@ -69,7 +69,7 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
69 |
* **Gallery lightbox font color** - in gallery lightbox settings you can change color of the font with comfortable color selector
|
70 |
* **Gallery lightbox font transparency** - in gallery lightbox settings you can change transparency of the font with comfortable color selector
|
71 |
* **Clone gallery** - if you have hundreds of galleries on the website this feature is really useful for you! Clone settings of another gallery to apply it to another galleries. So you can copy styles of the source gallery to as much galleries as you need just by one click.
|
72 |
-
* **Custom Thumbnails Shadows** - shadow it's very stylish element of the thumbnail images on the front end. You can make your gallery looks absolutely different with different styled shadow.
|
73 |
* **Advanced Compatibility** - in our gallery we implement advanced compatibility options to avoid conflict with libraries of another plugins and theme. You can switch between modes to find properly value for your gallery and your case.
|
74 |
* **Advanced Social Sharing** - advanced social sharing functionality in lightbox. Implemented deep linking functionality for the gallery images social sharing services Facebook, Twitter, Pinterest, Google+
|
75 |
* **Click Thumbnails** - advanced click functionality. You can use click on buttons or on the gallery thumbnails to enlarge gallery image or open gallery image link. With new functionality you can combine absolutely different features of the gallery clicking functionality.
|
@@ -77,6 +77,12 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
77 |
* **Gallery Padding** - new padding options. Define custom values in pixels for padding gallery block in post or page content. Is it possible to define padding from left, right, top and bottom side.
|
78 |
* **Backup** - new gallery backup functionality. In backup section you can easily export settings of the galleries which you already create to transfer it another wordpress installation. Another feature import settings of already backed up galleries. With this useful feature you can transfer galleries from one to another wordpress websites or restore created galleries on this wordpress in the past.
|
79 |
* **Post generator** - new function for the automatically post creation with gallery tag inside it. Advanced gallery post manager implemented with additional functions for customization and management all your gallery posts in one place.
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
= Gallery Pro Key Features =
|
82 |
|
@@ -93,7 +99,7 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
93 |
* **Social sharing** - gallery lightbox support social sharing in twitter, facebook, google plus and pinterest
|
94 |
* **Build in borders and shadows settings** - gallery borders and shadows have advanced options for configuration design and style of this gallery interface elements
|
95 |
* **Support Videos** - every gallery image have option where possible to define video link for every particular gallery image
|
96 |
-
* **Smart Links** - in our gallery implemented smart images links and video links parsing algorithm. Implemented auto detection links with turned off link navigation buttons
|
97 |
* **Hover layout template** - gallery hover effects have set of advanced options. For example you can customize layout of the gallery hover effect with build in tags
|
98 |
* **Customizable Grid** - every gallery image have additional options for customization of the layout of the gallery, as result you can build fully custom gallery grid, depend of your needs. You can decide which size of the gallery matrix you need on your website
|
99 |
* **Font settings** - gallery have build in advanced text style editor options. With this options you can fully cusyomize title, caption, description of the every gallery image
|
@@ -103,7 +109,7 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
103 |
* **Classic gallery layout** - layout of the gallery could have classic style or grid layout, every gallery on page could have own styles and settings
|
104 |
* **Advanced pagination function** - pagination function of the gallery implemented in google load more style
|
105 |
* **Work in IE, Firefox, Safari, Opera, Chrome** - gallery work properly in all latest versions of the popular browsers
|
106 |
-
* **Lazy loading option** - in gallery implemented advanced lazy loading options, for the case when you have big sets of the images you can define amount of the galleries images for the first load and for the next steps of the load more option
|
107 |
* **Advanced cache options** - in gallery implemented advanced images caching options
|
108 |
* **Super fast grid** - all algorithms of the gallery grids tested hard so we can sure you that you getting one of the best product
|
109 |
* **Customizable hover icons** - all icons of the gallery buttons fully customizable and every icon could be easily changed with build in icons wizard
|
@@ -111,7 +117,7 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
111 |
* **Backend text settings preview** - all gallery images titles, captions, descriptions are highly customizable also we have life preview of the changes in gallery backend
|
112 |
* **Resizing crop function** - in gallery media managed you'll find great set of very useful features for example gallery images crop, and manual resizing
|
113 |
* **Optional mobile touch support** - our gallery support mobile devices and you can customize gallery layout settings for different screen sizes
|
114 |
-
* **Custom ordering of the images** - ordering for all images of the gallery could be easily changed manually in media manager or you can find order by options in general gallery settings
|
115 |
* **Ability to insert gallery to the Wordpress post, page, widget** - every gallery could be insert in to post, page or widget with build in shortcode tag or using wizard button - shortcode generator in post or page editor
|
116 |
* **Gallery lightbox social buttons** - in gallery settings you can turn on/off social buttons
|
117 |
* **Gallery lightbox background color** - in gallery lightbox settings you can change color of the background with comfortable color selector
|
@@ -123,6 +129,9 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
123 |
* **Advanced Compatibility** - in our gallery we implement advanced compatibility options to avoid conflict with libraries of another plugins and theme. You can switch between modes to find properly value for your gallery and your case.
|
124 |
* **Advanced Social Sharing** - advanced social sharing functionality in lightbox. Implemented deep linking functionality for the gallery images social sharing services Facebook, Twitter, Pinterest, Google+
|
125 |
* **Click Thumbnails** - advanced click functionality. You can use click on buttons or on the gallery thumbnails to enlarge gallery image or open gallery image link. With new functionality you can combine absolutely different features of the gallery clicking functionality.
|
|
|
|
|
|
|
126 |
|
127 |
= Gallery Advantages =
|
128 |
|
@@ -135,7 +144,8 @@ Gallery with customizable interface, images gallery, responsive gallery, photo g
|
|
135 |
* **Gallery Custom Layout** - Advanced options for customization layout of the gallery. Ability to define custom size and columns amount of the gallery for different screen resolution. Ability to enable auto size option different way for every gallery screen size resolution. Every gallery image have columns option where you can customize size of the image. Every image could take different amount of columns.
|
136 |
* **Gallery Lightbox customization** - Gallery lightbox support set of advanced functionality. You can easily enable social buttons in gallery lightbox or change galley images description font color. With color selector you can change color and transparency of the gallery lightbox background.
|
137 |
* **Clone Gallery** - Gallery will copy all settings from selected source gallery. Very useful option for the webmasters who planning to create a lot of galleries. You don't have to configure gallery every time. Just setup styles of the gallery in one place and use the same options for another galleries on your website in another galleries. Very fast, comfortable, advanced tool to speed up your workflow!
|
138 |
-
* **Gallery Compatibility** - Gallery implemented in native Wordpress style. All code implemented based on Wordpress api and base classes. Also we tried in our gallery code avoid conflicts with other plugins and libraries. If you accordantly meet with some
|
|
|
139 |
|
140 |
|
141 |
> #### Useful Gallery Links
|
@@ -172,6 +182,18 @@ Get a free copy of the Robo Gallery Pro version as bonus for translating our plu
|
|
172 |
|
173 |
If you can help us with translation to some other language please contact us! We're really appreciate it!
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
== Installation ==
|
176 |
|
177 |
You don't need do any additional configurations or manual code changes. You can install it through the regular installer of the Wordpress. Just download plugin and install it manually or automatically using Wordpress repository. If you have some questions related with our plugin feel free to contact our support team we happy to help you!
|
@@ -584,6 +606,9 @@ If any problem occurs, please contact us.
|
|
584 |
|
585 |
== Changelog ==
|
586 |
|
|
|
|
|
|
|
587 |
= 2.1.6 =
|
588 |
* Updated background styles of the lightbox description panel settings
|
589 |
|
@@ -1186,6 +1211,9 @@ If any problem occurs, please contact us.
|
|
1186 |
|
1187 |
== Upgrade Notice ==
|
1188 |
|
|
|
|
|
|
|
1189 |
= 2.1.6 =
|
1190 |
Updated background styles of the lightbox description panel settings
|
1191 |
|
1 |
+
=== Gallery - Photo Gallery and Images Gallery ===
|
2 |
Contributors: robosoft
|
3 |
Donate link: http://www.robosoft.co/robogallery
|
4 |
Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 2.1.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
|
12 |
+
Gallery with flexible interface, images gallery, responsive gallery, photo gallery, mobile gallery, gallery widget, shortcode gallery, video gallery
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
+
#### [Gallery Most Easy and Powerful plugin to create attractive image section on your WordPress website.](http://robosoft.co/robogallery/#overview)
|
17 |
|
18 |
+
#### Gallery on your website it's really attractive and very important part of your pages. If you looking for fast, easy gallery with simple and very beautiful, highly customizable design [here is it...](http://robosoft.co/robogallery/#overview) Gallery where even newbie in Wordpress will be able to create your first gallery in few minutes and at the same time Wordpress professionals get advanced tools and freedom of creativity. Just download this Gallery and you'll not look for any other gallery any more! [Fall in Love with this Gallery like we do!](http://robosoft.co/robogallery/#overview)
|
19 |
|
20 |
= Install and create your first Wordpress gallery in few minutes =
|
21 |
|
56 |
* **Advanced pagination function** - pagination function of the gallery implemented in google load more style
|
57 |
* **Work in IE, Firefox, Safari, Opera, Chrome** - gallery work properly in all latest versions of the popular browsers
|
58 |
* **Lazy loading option** - in gallery implemented advanced lazy loading options, for the case when you have big sets of the images you can define amount of the galleries images for the first load and for the next steps of the load more option
|
59 |
+
* **Advanced cache options** - in gallery implemented advanced gallery images caching options
|
60 |
+
* **Overlay effects** - all gallery hover effects of the gallery thumbnails are highly customizable and have full set of options
|
61 |
* **Backend text settings preview** - all gallery images titles, captions, descriptions are highly customizable also we have life preview of the changes in gallery backend
|
62 |
* **Resizing crop function** - in gallery media managed you'll find great set of very useful features for example gallery images crop, and manual resizing
|
63 |
* **Optional mobile touch support** - our gallery support mobile devices and you can customize gallery layout settings for different screen sizes
|
69 |
* **Gallery lightbox font color** - in gallery lightbox settings you can change color of the font with comfortable color selector
|
70 |
* **Gallery lightbox font transparency** - in gallery lightbox settings you can change transparency of the font with comfortable color selector
|
71 |
* **Clone gallery** - if you have hundreds of galleries on the website this feature is really useful for you! Clone settings of another gallery to apply it to another galleries. So you can copy styles of the source gallery to as much galleries as you need just by one click.
|
72 |
+
* **Custom Thumbnails Shadows** - shadow it's very stylish element of the gallery thumbnail images on the front end. You can make your gallery looks absolutely different with different styled shadow.
|
73 |
* **Advanced Compatibility** - in our gallery we implement advanced compatibility options to avoid conflict with libraries of another plugins and theme. You can switch between modes to find properly value for your gallery and your case.
|
74 |
* **Advanced Social Sharing** - advanced social sharing functionality in lightbox. Implemented deep linking functionality for the gallery images social sharing services Facebook, Twitter, Pinterest, Google+
|
75 |
* **Click Thumbnails** - advanced click functionality. You can use click on buttons or on the gallery thumbnails to enlarge gallery image or open gallery image link. With new functionality you can combine absolutely different features of the gallery clicking functionality.
|
77 |
* **Gallery Padding** - new padding options. Define custom values in pixels for padding gallery block in post or page content. Is it possible to define padding from left, right, top and bottom side.
|
78 |
* **Backup** - new gallery backup functionality. In backup section you can easily export settings of the galleries which you already create to transfer it another wordpress installation. Another feature import settings of already backed up galleries. With this useful feature you can transfer galleries from one to another wordpress websites or restore created galleries on this wordpress in the past.
|
79 |
* **Post generator** - new function for the automatically post creation with gallery tag inside it. Advanced gallery post manager implemented with additional functions for customization and management all your gallery posts in one place.
|
80 |
+
* **Description Panel** - new gallery image description panel in lightbox, few different themes. Gallery settings make you able to change gallery panel theme styles. In gallery description panel you can define few content source. Gallery image title, gallery image caption or gallery image description.
|
81 |
+
* **Swipe in Lightbox** - gallery lightbox support swipe effect on multiply mobile devices. Swipe properly work in lightbox for all gallery images. Tested for Android and IOS.
|
82 |
+
* **Gallery Statistics** - every gallery have very useful and simple statistics functionality. You can easily check every gallery views. In gallery settings gallery statistic values could be reset.
|
83 |
+
* **Advanced Link Button Design** - gallery front end interface have link button. This button provide linking functionality on every gallery image thumbnail.
|
84 |
+
This interface gallery button have wide range of the front end interface customization options. You can easily change this gallery button color, border and icon.
|
85 |
+
|
86 |
|
87 |
= Gallery Pro Key Features =
|
88 |
|
99 |
* **Social sharing** - gallery lightbox support social sharing in twitter, facebook, google plus and pinterest
|
100 |
* **Build in borders and shadows settings** - gallery borders and shadows have advanced options for configuration design and style of this gallery interface elements
|
101 |
* **Support Videos** - every gallery image have option where possible to define video link for every particular gallery image
|
102 |
+
* **Smart Links** - in our gallery implemented smart gallery images links and video links parsing algorithm. Implemented auto detection links with turned off link navigation buttons
|
103 |
* **Hover layout template** - gallery hover effects have set of advanced options. For example you can customize layout of the gallery hover effect with build in tags
|
104 |
* **Customizable Grid** - every gallery image have additional options for customization of the layout of the gallery, as result you can build fully custom gallery grid, depend of your needs. You can decide which size of the gallery matrix you need on your website
|
105 |
* **Font settings** - gallery have build in advanced text style editor options. With this options you can fully cusyomize title, caption, description of the every gallery image
|
109 |
* **Classic gallery layout** - layout of the gallery could have classic style or grid layout, every gallery on page could have own styles and settings
|
110 |
* **Advanced pagination function** - pagination function of the gallery implemented in google load more style
|
111 |
* **Work in IE, Firefox, Safari, Opera, Chrome** - gallery work properly in all latest versions of the popular browsers
|
112 |
+
* **Lazy loading option** - in gallery implemented advanced lazy loading options, for the case when you have big sets of the gallery images you can define amount of the galleries images for the first load and for the next steps of the load more option
|
113 |
* **Advanced cache options** - in gallery implemented advanced images caching options
|
114 |
* **Super fast grid** - all algorithms of the gallery grids tested hard so we can sure you that you getting one of the best product
|
115 |
* **Customizable hover icons** - all icons of the gallery buttons fully customizable and every icon could be easily changed with build in icons wizard
|
117 |
* **Backend text settings preview** - all gallery images titles, captions, descriptions are highly customizable also we have life preview of the changes in gallery backend
|
118 |
* **Resizing crop function** - in gallery media managed you'll find great set of very useful features for example gallery images crop, and manual resizing
|
119 |
* **Optional mobile touch support** - our gallery support mobile devices and you can customize gallery layout settings for different screen sizes
|
120 |
+
* **Custom ordering of the images** - ordering for all gallery images of the gallery could be easily changed manually in media manager or you can find order by options in general gallery settings
|
121 |
* **Ability to insert gallery to the Wordpress post, page, widget** - every gallery could be insert in to post, page or widget with build in shortcode tag or using wizard button - shortcode generator in post or page editor
|
122 |
* **Gallery lightbox social buttons** - in gallery settings you can turn on/off social buttons
|
123 |
* **Gallery lightbox background color** - in gallery lightbox settings you can change color of the background with comfortable color selector
|
129 |
* **Advanced Compatibility** - in our gallery we implement advanced compatibility options to avoid conflict with libraries of another plugins and theme. You can switch between modes to find properly value for your gallery and your case.
|
130 |
* **Advanced Social Sharing** - advanced social sharing functionality in lightbox. Implemented deep linking functionality for the gallery images social sharing services Facebook, Twitter, Pinterest, Google+
|
131 |
* **Click Thumbnails** - advanced click functionality. You can use click on buttons or on the gallery thumbnails to enlarge gallery image or open gallery image link. With new functionality you can combine absolutely different features of the gallery clicking functionality.
|
132 |
+
* **Description Panel** - new gallery image description panel in lightbox, few different themes. Gallery settings make you able to change gallery panel theme styles. In gallery description panel you can define few content source. Gallery image title, gallery image caption or gallery image description.
|
133 |
+
* **Swipe in Lightbox** - gallery lightbox support swipe effect on multiply mobile devices. Swipe properly work in lightbox for all gallery images. Tested for Android and IOS.
|
134 |
+
* **Gallery Statistics** - every gallery have very useful and simple statistics functionality. You can easily check every gallery views. In gallery settings gallery statistic values could be reset.
|
135 |
|
136 |
= Gallery Advantages =
|
137 |
|
144 |
* **Gallery Custom Layout** - Advanced options for customization layout of the gallery. Ability to define custom size and columns amount of the gallery for different screen resolution. Ability to enable auto size option different way for every gallery screen size resolution. Every gallery image have columns option where you can customize size of the image. Every image could take different amount of columns.
|
145 |
* **Gallery Lightbox customization** - Gallery lightbox support set of advanced functionality. You can easily enable social buttons in gallery lightbox or change galley images description font color. With color selector you can change color and transparency of the gallery lightbox background.
|
146 |
* **Clone Gallery** - Gallery will copy all settings from selected source gallery. Very useful option for the webmasters who planning to create a lot of galleries. You don't have to configure gallery every time. Just setup styles of the gallery in one place and use the same options for another galleries on your website in another galleries. Very fast, comfortable, advanced tool to speed up your workflow!
|
147 |
+
* **Gallery Compatibility** - Gallery implemented in native Wordpress style. All code implemented based on Wordpress api and base classes. Also we tried in our gallery code avoid conflicts with other plugins and libraries. If you accordantly meet with some errors, conflicts or other related problems feel free to [contact us](http://robosoft.co/clients) and we'll to sort everything in short time. Also we have implemented set of gallery options which allow you to manager your gallery general settings to avoid conflicts.
|
148 |
+
* **Secure Gallery** - Gallery hard tested and followed all security requirements to avoid any security problems in our gallery.
|
149 |
|
150 |
|
151 |
> #### Useful Gallery Links
|
182 |
|
183 |
If you can help us with translation to some other language please contact us! We're really appreciate it!
|
184 |
|
185 |
+
= Gallery Most Frequent Users Questions =
|
186 |
+
|
187 |
+
|
188 |
+
**Is it possible to use links in gallery images?**
|
189 |
+
|
190 |
+
Yes, you can insert different link for every gallery image. In media manager section when you click on some gallery image on the right side you'll see gallery image additional options. One of the option will be link. Just define there link for gallery image and check results on the front end.
|
191 |
+
|
192 |
+
**Is it possible to define different description for every gallery image?**
|
193 |
+
|
194 |
+
Yes, you can add description to every gallery image. In media manager section when you click on some gallery image on the right side you'll see gallery image additional options. One of the option will be gallery image description field.
|
195 |
+
|
196 |
+
|
197 |
== Installation ==
|
198 |
|
199 |
You don't need do any additional configurations or manual code changes. You can install it through the regular installer of the Wordpress. Just download plugin and install it manually or automatically using Wordpress repository. If you have some questions related with our plugin feel free to contact our support team we happy to help you!
|
606 |
|
607 |
== Changelog ==
|
608 |
|
609 |
+
= 2.1.7 =
|
610 |
+
* Added images alt elements
|
611 |
+
|
612 |
= 2.1.6 =
|
613 |
* Updated background styles of the lightbox description panel settings
|
614 |
|
1211 |
|
1212 |
== Upgrade Notice ==
|
1213 |
|
1214 |
+
= 2.1.7 =
|
1215 |
+
Added images alt elements
|
1216 |
+
|
1217 |
= 2.1.6 =
|
1218 |
Updated background styles of the lightbox description panel settings
|
1219 |
|
robogallery.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Plugin Name: Robo Gallery
|
9 |
* Plugin URI: http://robosoft.co/robogallery
|
10 |
* Description: A responsive, easy and elegant way to show gallery.
|
11 |
-
* Version: 2.1.
|
12 |
* Author: RoboSoft (c)
|
13 |
* Author URI: http://robosoft.co/robogallery
|
14 |
* License: GPL-2.0+
|
@@ -19,7 +19,7 @@
|
|
19 |
|
20 |
if ( ! defined( 'WPINC' ) ) die;
|
21 |
define("ROBO_GALLERY", 1);
|
22 |
-
define("ROBO_GALLERY_VERSION", '2.1.
|
23 |
define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
24 |
define("ROBO_GALLERY_SPECIAL", 0);
|
25 |
|
8 |
* Plugin Name: Robo Gallery
|
9 |
* Plugin URI: http://robosoft.co/robogallery
|
10 |
* Description: A responsive, easy and elegant way to show gallery.
|
11 |
+
* Version: 2.1.7
|
12 |
* Author: RoboSoft (c)
|
13 |
* Author URI: http://robosoft.co/robogallery
|
14 |
* License: GPL-2.0+
|
19 |
|
20 |
if ( ! defined( 'WPINC' ) ) die;
|
21 |
define("ROBO_GALLERY", 1);
|
22 |
+
define("ROBO_GALLERY_VERSION", '2.1.7');
|
23 |
define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
24 |
define("ROBO_GALLERY_SPECIAL", 0);
|
25 |
|