jQuery Lightbox For Native Galleries - Version 3.2.2

Version Description

Download this release

Release Info

Developer Viper007Bond
Plugin Icon wp plugin jQuery Lightbox For Native Galleries
Version 3.2.2
Comparing to
See all releases

Code changes from version 2.0.1 to 3.2.2

Files changed (47) hide show
  1. colorbox/jquery.colorbox-min.js +4 -0
  2. colorbox/theme1/colorbox.css +64 -0
  3. colorbox/theme1/images/border.png +0 -0
  4. colorbox/theme1/images/controls.png +0 -0
  5. colorbox/theme1/images/internet_explorer/borderBottomCenter.png +0 -0
  6. colorbox/theme1/images/internet_explorer/borderBottomLeft.png +0 -0
  7. colorbox/theme1/images/internet_explorer/borderBottomRight.png +0 -0
  8. colorbox/theme1/images/internet_explorer/borderMiddleLeft.png +0 -0
  9. colorbox/theme1/images/internet_explorer/borderMiddleRight.png +0 -0
  10. colorbox/theme1/images/internet_explorer/borderTopCenter.png +0 -0
  11. colorbox/theme1/images/internet_explorer/borderTopLeft.png +0 -0
  12. colorbox/theme1/images/internet_explorer/borderTopRight.png +0 -0
  13. colorbox/theme1/images/loading.gif +0 -0
  14. colorbox/theme1/images/loading_background.png +0 -0
  15. colorbox/theme1/images/overlay.png +0 -0
  16. colorbox/theme2/colorbox.css +41 -0
  17. colorbox/theme2/images/controls.png +0 -0
  18. colorbox/theme2/images/loading.gif +0 -0
  19. colorbox/theme3/colorbox.css +36 -0
  20. colorbox/theme3/images/controls.png +0 -0
  21. colorbox/theme3/images/loading.gif +0 -0
  22. colorbox/theme4/colorbox.css +61 -0
  23. colorbox/theme4/images/border1.png +0 -0
  24. colorbox/theme4/images/border2.png +0 -0
  25. colorbox/theme4/images/internet_explorer/borderBottomCenter.png +0 -0
  26. colorbox/theme4/images/internet_explorer/borderBottomLeft.png +0 -0
  27. colorbox/theme4/images/internet_explorer/borderBottomRight.png +0 -0
  28. colorbox/theme4/images/internet_explorer/borderMiddleLeft.png +0 -0
  29. colorbox/theme4/images/internet_explorer/borderMiddleRight.png +0 -0
  30. colorbox/theme4/images/internet_explorer/borderTopCenter.png +0 -0
  31. colorbox/theme4/images/internet_explorer/borderTopLeft.png +0 -0
  32. colorbox/theme4/images/internet_explorer/borderTopRight.png +0 -0
  33. colorbox/theme4/images/loading.gif +0 -0
  34. colorbox/theme5/colorbox.css +50 -0
  35. colorbox/theme5/images/border.png +0 -0
  36. colorbox/theme5/images/controls.png +0 -0
  37. colorbox/theme5/images/loading.gif +0 -0
  38. colorbox/theme5/images/loading_background.png +0 -0
  39. jquery-lightbox-for-native-galleries.php +118 -15
  40. jquery-lightbox/css/jquery.lightbox-0.5.css +0 -101
  41. jquery-lightbox/images/lightbox-blank.gif +0 -0
  42. jquery-lightbox/images/lightbox-btn-close.gif +0 -0
  43. jquery-lightbox/images/lightbox-btn-next.gif +0 -0
  44. jquery-lightbox/images/lightbox-btn-prev.gif +0 -0
  45. jquery-lightbox/images/lightbox-ico-loading.gif +0 -0
  46. jquery-lightbox/js/jquery.lightbox-0.5.pack.js +0 -14
  47. readme.txt +53 -19
colorbox/jquery.colorbox-min.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ // ColorBox v1.3.14 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
2
+ // Copyright (c) 2010 Jack Moore - jack@colorpowered.com
3
+ // Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
4
+ (function(b,ib){var t="none",M="LoadedContent",c=false,v="resize.",o="y",q="auto",e=true,L="nofollow",m="x";function f(a,c){a=a?' id="'+i+a+'"':"";c=c?' style="'+c+'"':"";return b("<div"+a+c+"/>")}function p(a,b){b=b===m?n.width():n.height();return typeof a==="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}function U(b){return a.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(b)}function cb(a){for(var c in a)if(b.isFunction(a[c])&&c.substring(0,2)!=="on")a[c]=a[c].call(l);a.rel=a.rel||l.rel||L;a.href=a.href||b(l).attr("href");a.title=a.title||l.title;return a}function w(c,a){a&&a.call(l);b.event.trigger(c)}function jb(){var b,e=i+"Slideshow_",c="click."+i,f,k;if(a.slideshow&&h[1]){f=function(){F.text(a.slideshowStop).unbind(c).bind(V,function(){if(g<h.length-1||a.loop)b=setTimeout(d.next,a.slideshowSpeed)}).bind(W,function(){clearTimeout(b)}).one(c+" "+N,k);j.removeClass(e+"off").addClass(e+"on");b=setTimeout(d.next,a.slideshowSpeed)};k=function(){clearTimeout(b);F.text(a.slideshowStart).unbind([V,W,N,c].join(" ")).one(c,f);j.removeClass(e+"on").addClass(e+"off")};a.slideshowAuto?f():k()}}function db(c){if(!O){l=c;a=cb(b.extend({},b.data(l,r)));h=b(l);g=0;if(a.rel!==L){h=b("."+G).filter(function(){return (b.data(this,r).rel||this.rel)===a.rel});g=h.index(l);if(g===-1){h=h.add(l);g=h.length-1}}if(!u){u=E=e;j.show();if(a.returnFocus)try{l.blur();b(l).one(eb,function(){try{this.focus()}catch(a){}})}catch(f){}x.css({opacity:+a.opacity,cursor:a.overlayClose?"pointer":q}).show();a.w=p(a.initialWidth,m);a.h=p(a.initialHeight,o);d.position(0);X&&n.bind(v+P+" scroll."+P,function(){x.css({width:n.width(),height:n.height(),top:n.scrollTop(),left:n.scrollLeft()})}).trigger("scroll."+P);w(fb,a.onOpen);Y.add(H).add(I).add(F).add(Z).hide();ab.html(a.close).show()}d.load(e)}}var gb={transition:"elastic",speed:300,width:c,initialWidth:"600",innerWidth:c,maxWidth:c,height:c,initialHeight:"450",innerHeight:c,maxHeight:c,scalePhotos:e,scrolling:e,inline:c,html:c,iframe:c,photo:c,href:c,title:c,rel:c,opacity:.9,preloading:e,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:c,returnFocus:e,loop:e,slideshow:c,slideshowAuto:e,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:c,onLoad:c,onComplete:c,onCleanup:c,onClosed:c,overlayClose:e,escKey:e,arrowKey:e},r="colorbox",i="cbox",fb=i+"_open",W=i+"_load",V=i+"_complete",N=i+"_cleanup",eb=i+"_closed",Q=i+"_purge",hb=i+"_loaded",A=b.browser.msie&&!b.support.opacity,X=A&&b.browser.version<7,P=i+"_IE6",x,j,B,s,bb,T,R,S,h,n,k,J,K,Z,Y,F,I,H,ab,C,D,y,z,l,g,a,u,E,O=c,d,G=i+"Element";d=b.fn[r]=b[r]=function(c,f){var a=this,d;if(!a[0]&&a.selector)return a;c=c||{};if(f)c.onComplete=f;if(!a[0]||a.selector===undefined){a=b("<a/>");c.open=e}a.each(function(){b.data(this,r,b.extend({},b.data(this,r)||gb,c));b(this).addClass(G)});d=c.open;if(b.isFunction(d))d=d.call(a);d&&db(a[0]);return a};d.init=function(){var l="hover",m="clear:left";n=b(ib);j=f().attr({id:r,"class":A?i+"IE":""});x=f("Overlay",X?"position:absolute":"").hide();B=f("Wrapper");s=f("Content").append(k=f(M,"width:0; height:0; overflow:hidden"),K=f("LoadingOverlay").add(f("LoadingGraphic")),Z=f("Title"),Y=f("Current"),I=f("Next"),H=f("Previous"),F=f("Slideshow").bind(fb,jb),ab=f("Close"));B.append(f().append(f("TopLeft"),bb=f("TopCenter"),f("TopRight")),f(c,m).append(T=f("MiddleLeft"),s,R=f("MiddleRight")),f(c,m).append(f("BottomLeft"),S=f("BottomCenter"),f("BottomRight"))).children().children().css({"float":"left"});J=f(c,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(x,j.append(B,J));s.children().hover(function(){b(this).addClass(l)},function(){b(this).removeClass(l)}).addClass(l);C=bb.height()+S.height()+s.outerHeight(e)-s.height();D=T.width()+R.width()+s.outerWidth(e)-s.width();y=k.outerHeight(e);z=k.outerWidth(e);j.css({"padding-bottom":C,"padding-right":D}).hide();I.click(d.next);H.click(d.prev);ab.click(d.close);s.children().removeClass(l);b("."+G).live("click",function(a){if(!(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)){a.preventDefault();db(this)}});x.click(function(){a.overlayClose&&d.close()});b(document).bind("keydown",function(b){if(u&&a.escKey&&b.keyCode===27){b.preventDefault();d.close()}if(u&&a.arrowKey&&!E&&h[1])if(b.keyCode===37&&(g||a.loop)){b.preventDefault();H.click()}else if(b.keyCode===39&&(g<h.length-1||a.loop)){b.preventDefault();I.click()}})};d.remove=function(){j.add(x).remove();b("."+G).die("click").removeData(r).removeClass(G)};d.position=function(f,d){function b(a){bb[0].style.width=S[0].style.width=s[0].style.width=a.style.width;K[0].style.height=K[1].style.height=s[0].style.height=T[0].style.height=R[0].style.height=a.style.height}var e,h=Math.max(document.documentElement.clientHeight-a.h-y-C,0)/2+n.scrollTop(),g=Math.max(n.width()-a.w-z-D,0)/2+n.scrollLeft();e=j.width()===a.w+z&&j.height()===a.h+y?0:f;B[0].style.width=B[0].style.height="9999px";j.dequeue().animate({width:a.w+z,height:a.h+y,top:h,left:g},{duration:e,complete:function(){b(this);E=c;B[0].style.width=a.w+z+D+"px";B[0].style.height=a.h+y+C+"px";d&&d()},step:function(){b(this)}})};d.resize=function(b){if(u){b=b||{};if(b.width)a.w=p(b.width,m)-z-D;if(b.innerWidth)a.w=p(b.innerWidth,m);k.css({width:a.w});if(b.height)a.h=p(b.height,o)-y-C;if(b.innerHeight)a.h=p(b.innerHeight,o);if(!b.innerHeight&&!b.height){b=k.wrapInner("<div style='overflow:auto'></div>").children();a.h=b.height();b.replaceWith(b.children())}k.css({height:a.h});d.position(a.transition===t?0:a.speed)}};d.prep=function(o){var e="hidden";function m(t){var q,f,o,e,m=h.length,s=a.loop;d.position(t,function(){if(u){A&&p&&k.fadeIn(100);k.show();w(hb);Z.show().html(a.title);if(m>1){typeof a.current==="string"&&Y.html(a.current.replace(/\{current\}/,g+1).replace(/\{total\}/,m)).show();I[s||g<m-1?"show":"hide"]().html(a.next);H[s||g?"show":"hide"]().html(a.previous);q=g?h[g-1]:h[m-1];o=g<m-1?h[g+1]:h[0];a.slideshow&&F.show();if(a.preloading){e=b.data(o,r).href||o.href;f=b.data(q,r).href||q.href;e=b.isFunction(e)?e.call(o):e;f=b.isFunction(f)?f.call(q):f;if(U(e))b("<img/>")[0].src=e;if(U(f))b("<img/>")[0].src=f}}K.hide();if(a.transition==="fade")j.fadeTo(l,1,function(){if(A)j[0].style.filter=c});else if(A)j[0].style.filter=c;n.bind(v+i,function(){d.position(0)});w(V,a.onComplete)}})}if(u){var p,l=a.transition===t?0:a.speed;n.unbind(v+i);k.remove();k=f(M).html(o);k.hide().appendTo(J.show()).css({width:function(){a.w=a.w||k.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.scrolling?q:e}).css({height:function(){a.h=a.h||k.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(s);J.hide();b("#"+i+"Photo").css({cssFloat:t,marginLeft:q,marginRight:q});X&&b("select").not(j.find("select")).filter(function(){return this.style.visibility!==e}).css({visibility:e}).one(N,function(){this.style.visibility="inherit"});a.transition==="fade"?j.fadeTo(l,0,function(){m(0)}):m(l)}};d.load=function(u){var n,c,s,q=d.prep;E=e;l=h[g];u||(a=cb(b.extend({},b.data(l,r))));w(Q);w(W,a.onLoad);a.h=a.height?p(a.height,o)-y-C:a.innerHeight&&p(a.innerHeight,o);a.w=a.width?p(a.width,m)-z-D:a.innerWidth&&p(a.innerWidth,m);a.mw=a.w;a.mh=a.h;if(a.maxWidth){a.mw=p(a.maxWidth,m)-z-D;a.mw=a.w&&a.w<a.mw?a.w:a.mw}if(a.maxHeight){a.mh=p(a.maxHeight,o)-y-C;a.mh=a.h&&a.h<a.mh?a.h:a.mh}n=a.href;K.show();if(a.inline){f().hide().insertBefore(b(n)[0]).one(Q,function(){b(this).replaceWith(k.children())});q(b(n))}else if(a.iframe){j.one(hb,function(){var c=b("<iframe name='"+(new Date).getTime()+"' frameborder=0"+(a.scrolling?"":" scrolling='no'")+(A?" allowtransparency='true'":"")+" style='width:100%; height:100%; border:0; display:block;'/>");c[0].src=a.href;c.appendTo(k).one(Q,function(){c[0].src='//about:blank'})});q(" ")}else if(a.html)q(a.html);else if(U(n)){c=new Image;c.onload=function(){var e;c.onload=null;c.id=i+"Photo";b(c).css({border:t,display:"block",cssFloat:"left"});if(a.scalePhotos){s=function(){c.height-=c.height*e;c.width-=c.width*e};if(a.mw&&c.width>a.mw){e=(c.width-a.mw)/c.width;s()}if(a.mh&&c.height>a.mh){e=(c.height-a.mh)/c.height;s()}}if(a.h)c.style.marginTop=Math.max(a.h-c.height,0)/2+"px";h[1]&&(g<h.length-1||a.loop)&&b(c).css({cursor:"pointer"}).click(d.next);if(A)c.style.msInterpolationMode="bicubic";setTimeout(function(){q(c)},1)};setTimeout(function(){c.src=n},1)}else n&&J.load(n,function(d,c,a){q(c==="error"?"Request unsuccessful: "+a.statusText:b(this).children())})};d.next=function(){if(!E){g=g<h.length-1?g+1:0;d.load()}};d.prev=function(){if(!E){g=g?g-1:h.length-1;d.load()}};d.close=function(){if(u&&!O){O=e;u=c;w(N,a.onCleanup);n.unbind("."+i+" ."+P);x.fadeTo("fast",0);j.stop().fadeTo("fast",0,function(){w(Q);k.remove();j.add(x).css({opacity:1,cursor:q}).hide();setTimeout(function(){O=c;w(eb,a.onClosed)},1)})}};d.element=function(){return b(l)};d.settings=gb;b(d.init)})(jQuery,this)
colorbox/theme1/colorbox.css ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:hidden;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ Example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
22
+ #colorbox{}
23
+ #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
24
+ #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
25
+ #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
26
+ #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
27
+ #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
28
+ #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
29
+ #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
30
+ #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
31
+ #cboxContent{background:#fff;}
32
+ #cboxLoadedContent{margin-bottom:28px;}
33
+ #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
34
+ #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
35
+ #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
36
+ #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
37
+ #cboxPrevious.hover{background-position:-75px -25px;}
38
+ #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
39
+ #cboxNext.hover{background-position:-50px -25px;}
40
+ #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
41
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
42
+ #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
43
+ #cboxClose.hover{background-position:-25px -25px;}
44
+
45
+ /*
46
+ The following fixes png-transparency for IE6.
47
+ It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
48
+
49
+ Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
50
+ Colorbox preloads navigation hover classes to account for this.
51
+
52
+ !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
53
+ while regular CSS background images are relative to the CSS document.
54
+ */
55
+ /*
56
+ .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
57
+ .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
58
+ .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
59
+ .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
60
+ .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
61
+ .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
62
+ .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
63
+ .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
64
+ */
colorbox/theme1/images/border.png ADDED
Binary file
colorbox/theme1/images/controls.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderBottomCenter.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderBottomLeft.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderBottomRight.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderMiddleLeft.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderMiddleRight.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderTopCenter.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderTopLeft.png ADDED
Binary file
colorbox/theme1/images/internet_explorer/borderTopRight.png ADDED
Binary file
colorbox/theme1/images/loading.gif ADDED
Binary file
colorbox/theme1/images/loading_background.png ADDED
Binary file
colorbox/theme1/images/overlay.png ADDED
Binary file
colorbox/theme2/colorbox.css ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:visible;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ ColorBox example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:#fff;}
22
+
23
+ #colorbox{}
24
+ #cboxContent{margin-top:32px;}
25
+ #cboxLoadedContent{background:#000; padding:1px;}
26
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
27
+ #cboxLoadingOverlay{background:#000;}
28
+ #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
29
+ #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
30
+ #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) 0 0 no-repeat;}
31
+ #cboxPrevious{background-position:0px 0px; right:44px;}
32
+ #cboxPrevious.hover{background-position:0px -25px;}
33
+ #cboxNext{background-position:-25px 0px; right:22px;}
34
+ #cboxNext.hover{background-position:-25px -25px;}
35
+ #cboxClose{background-position:-50px 0px; right:0;}
36
+ #cboxClose.hover{background-position:-50px -25px;}
37
+ .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
38
+ .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
39
+ .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
40
+ .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
41
+ .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
colorbox/theme2/images/controls.png ADDED
Binary file
colorbox/theme2/images/loading.gif ADDED
Binary file
colorbox/theme3/colorbox.css ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ ColorBox example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:#000;}
22
+
23
+ #colorbox{}
24
+ #cboxContent{margin-top:20px;}
25
+ #cboxLoadedContent{background:#000; padding:5px;}
26
+ #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
27
+ #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
28
+ #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
29
+ #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;}
30
+ #cboxPrevious.hover{background-position:bottom left;}
31
+ #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) top right no-repeat; width:28px; height:65px; text-indent:-9999px;}
32
+ #cboxNext.hover{background-position:bottom right;}
33
+ #cboxLoadingOverlay{background:#000;}
34
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
35
+ #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) top center no-repeat; width:38px; height:19px; text-indent:-9999px;}
36
+ #cboxClose.hover{background-position:bottom center;}
colorbox/theme3/images/controls.png ADDED
Binary file
colorbox/theme3/images/loading.gif ADDED
Binary file
colorbox/theme4/colorbox.css ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:hidden;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ ColorBox example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:#fff;}
22
+
23
+ #colorBox{}
24
+ #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;}
25
+ #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;}
26
+ #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;}
27
+ #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) 0 -25px no-repeat;}
28
+ #cboxBottomCenter{height:25px; background:url(images/border1.png) 0 -75px repeat-x;}
29
+ #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) -25px -25px no-repeat;}
30
+ #cboxMiddleLeft{width:25px; background:url(images/border2.png) 0 0 repeat-y;}
31
+ #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;}
32
+ #cboxContent{background:#fff;}
33
+ #cboxLoadedContent{margin-bottom:20px;}
34
+ #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
35
+ #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
36
+ #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
37
+ #cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
38
+ #cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
39
+ #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
40
+ #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
41
+
42
+ /*
43
+ The following fixes png-transparency for IE6.
44
+ It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
45
+
46
+ Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
47
+ Colorbox preloads navigation hover classes to account for this.
48
+
49
+ !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
50
+ while regular CSS background images are relative to the CSS document.
51
+ */
52
+ /*
53
+ .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
54
+ .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
55
+ .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
56
+ .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
57
+ .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
58
+ .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
59
+ .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
60
+ .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
61
+ */
colorbox/theme4/images/border1.png ADDED
Binary file
colorbox/theme4/images/border2.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderBottomCenter.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderBottomLeft.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderBottomRight.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderMiddleLeft.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderMiddleRight.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderTopCenter.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderTopLeft.png ADDED
Binary file
colorbox/theme4/images/internet_explorer/borderTopRight.png ADDED
Binary file
colorbox/theme4/images/loading.gif ADDED
Binary file
colorbox/theme5/colorbox.css ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ ColorBox Core Style
3
+ The following rules are the styles that are consistant between themes.
4
+ Avoid changing this area to maintain compatability with future versions of ColorBox.
5
+ */
6
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
7
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
8
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
9
+ #cboxContent{position:relative; overflow:visible;}
10
+ #cboxLoadedContent{overflow:auto;}
11
+ #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
12
+ #cboxTitle{margin:0;}
13
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
14
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
15
+
16
+ /*
17
+ ColorBox example user style
18
+ The following rules are ordered and tabbed in a way that represents the
19
+ order/nesting of the generated HTML, so that the structure easier to understand.
20
+ */
21
+ #cboxOverlay{background:#000;}
22
+
23
+ #colorbox{}
24
+ #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;}
25
+ #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;}
26
+ #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;}
27
+ #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) 0 -32px no-repeat;}
28
+ #cboxBottomCenter{height:43px; background:url(images/border.png) bottom left repeat-x;}
29
+ #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) -36px -32px no-repeat;}
30
+ #cboxMiddleLeft{width:14px; background:url(images/controls.png) -175px 0 repeat-y;}
31
+ #cboxMiddleRight{width:14px; background:url(images/controls.png) -211px 0 repeat-y;}
32
+ #cboxContent{background:#fff;}
33
+ #cboxLoadedContent{margin-bottom:5px;}
34
+ #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
35
+ #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
36
+ #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
37
+ #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
38
+
39
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0px 0px no-repeat; width:23px; height:23px; text-indent:-9999px;}
40
+ #cboxPrevious{left:0px; background-position: -51px -25px;}
41
+ #cboxPrevious.hover{background-position:-51px 0px;}
42
+ #cboxNext{left:27px; background-position:-75px -25px;}
43
+ #cboxNext.hover{background-position:-75px 0px;}
44
+ #cboxClose{right:0; background-position:-100px -25px;}
45
+ #cboxClose.hover{background-position:-100px 0px;}
46
+
47
+ .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
48
+ .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;}
49
+ .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
50
+ .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;}
colorbox/theme5/images/border.png ADDED
Binary file
colorbox/theme5/images/controls.png ADDED
Binary file
colorbox/theme5/images/loading.gif ADDED
Binary file
colorbox/theme5/images/loading_background.png ADDED
Binary file
jquery-lightbox-for-native-galleries.php CHANGED
@@ -4,42 +4,90 @@
4
 
5
  Plugin Name: jQuery Lightbox For Native Galleries
6
  Plugin URI: http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/
7
- Description: Makes the native WordPress galleries use a lightbox to display the fullsize images.
8
- Version: 2.0.1
9
  Author: Viper007Bond
10
  Author URI: http://www.viper007bond.com/
11
 
12
  **************************************************************************/
13
 
14
  class jQueryLightboxForNativeGalleries {
 
 
 
15
 
16
  // Plugin initialization
17
  function jQueryLightboxForNativeGalleries() {
18
- if ( is_admin() || !function_exists('plugins_url') ) return;
 
19
 
20
- wp_enqueue_script( 'jquery-lightbox-leandro-vieira-pinho', plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/js/jquery.lightbox-0.5.pack.js'), array('jquery'), '0.5' );
21
- wp_enqueue_style( 'jquery-lightbox-leandro-vieira-pinho', plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/css/jquery.lightbox-0.5.css'), array(), '0.5', 'screen' );
22
 
23
- add_action( 'wp_head', array(&$this, 'wp_head') );
24
  add_filter( 'attachment_link', array(&$this, 'attachment_link'), 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
 
27
 
28
  // Output the Javascript to create the Lightbox
29
  function wp_head() { ?>
30
- <!-- jQuery Lightbox For Native Galleries v2.0.1 | http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/ -->
31
  <script type="text/javascript">
32
  // <![CDATA[
33
  jQuery(document).ready(function($){
34
  $(".gallery").each(function(index, obj){
35
- $(obj).find("a").lightBox({
36
- imageLoading: "<?php echo js_escape( plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/images/lightbox-ico-loading.gif') ); ?>",
37
- imageBtnClose: "<?php echo js_escape( plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/images/lightbox-btn-close.gif') ); ?>",
38
- imageBtnPrev: "<?php echo js_escape( plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/images/lightbox-btn-prev.gif') ); ?>",
39
- imageBtnNext: "<?php echo js_escape( plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/images/lightbox-btn-next.gif') ); ?>",
40
- imageBlank: "<?php echo js_escape( plugins_url('/jquery-lightbox-for-native-galleries/jquery-lightbox/images/lightbox-blank.gif') ); ?>"
41
- });
42
  });
 
43
  });
44
  // ]]>
45
  </script>
@@ -49,6 +97,10 @@ class jQueryLightboxForNativeGalleries {
49
 
50
  // Make the thumbnails link to the fullsize image rather than a Page with the medium sized image
51
  function attachment_link( $link, $id ) {
 
 
 
 
52
  $post = get_post( $id );
53
 
54
  if ( 'image/' == substr( $post->post_mime_type, 0, 6 ) )
@@ -56,10 +108,61 @@ class jQueryLightboxForNativeGalleries {
56
  else
57
  return $link;
58
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
60
 
61
  // Start the plugin up
62
- add_action( 'init', 'jQueryLightboxForNativeGalleries' );
63
  function jQueryLightboxForNativeGalleries() {
64
  global $jQueryLightboxForNativeGalleries;
65
  $jQueryLightboxForNativeGalleries = new jQueryLightboxForNativeGalleries();
4
 
5
  Plugin Name: jQuery Lightbox For Native Galleries
6
  Plugin URI: http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/
7
+ Description: Makes the native WordPress galleries use a lightbox script called <a href="http://colorpowered.com/colorbox/">ColorBox</a> to display the fullsize images.
8
+ Version: 3.2.2
9
  Author: Viper007Bond
10
  Author URI: http://www.viper007bond.com/
11
 
12
  **************************************************************************/
13
 
14
  class jQueryLightboxForNativeGalleries {
15
+ var $themes = array();
16
+ var $settings = array();
17
+ var $defaultsettings = array();
18
 
19
  // Plugin initialization
20
  function jQueryLightboxForNativeGalleries() {
21
+ if ( !function_exists('plugins_url') )
22
+ return;
23
 
24
+ load_plugin_textdomain( 'viper-jquery-lightbox', false, '/jquery-lightbox-for-native-galleries/localization' );
 
25
 
26
+ add_action( 'wp_head', array(&$this, 'wp_head') );
27
  add_filter( 'attachment_link', array(&$this, 'attachment_link'), 10, 2 );
28
+
29
+ add_action( 'admin_menu', array(&$this, 'register_settings_page') );
30
+ add_action( 'admin_init', array(&$this, 'register_setting') );
31
+
32
+ if ( !is_admin() ) {
33
+ wp_enqueue_script( 'colorbox', plugins_url( 'colorbox/jquery.colorbox-min.js', __FILE__ ), array( 'jquery' ), '1.3.14' );
34
+
35
+ wp_register_style( 'colorbox-theme1', plugins_url( 'colorbox/theme1/colorbox.css', __FILE__ ), array(), '1.3.14', 'screen' );
36
+ wp_register_style( 'colorbox-theme2', plugins_url( 'colorbox/theme2/colorbox.css', __FILE__ ), array(), '1.3.14', 'screen' );
37
+ wp_register_style( 'colorbox-theme3', plugins_url( 'colorbox/theme3/colorbox.css', __FILE__ ), array(), '1.3.14', 'screen' );
38
+ wp_register_style( 'colorbox-theme4', plugins_url( 'colorbox/theme4/colorbox.css', __FILE__ ), array(), '1.3.14', 'screen' );
39
+ wp_register_style( 'colorbox-theme5', plugins_url( 'colorbox/theme5/colorbox.css', __FILE__ ), array(), '1.3.14', 'screen' );
40
+ }
41
+
42
+ // Create list of themes and their human readable names
43
+ $this->themes = (array) apply_filters( 'viper-jquery-lightbox_themes', array(
44
+ 'theme1' => __( 'Theme #1', 'viper-jquery-lightbox' ),
45
+ 'theme2' => __( 'Theme #2', 'viper-jquery-lightbox' ),
46
+ 'theme3' => __( 'Theme #3', 'viper-jquery-lightbox' ),
47
+ 'theme4' => __( 'Theme #4', 'viper-jquery-lightbox' ),
48
+ 'theme5' => __( 'Theme #5', 'viper-jquery-lightbox' ),
49
+ ) );
50
+
51
+ // Create array of default settings (you can use the filter to modify these)
52
+ $defaulttheme = key( $this->themes );
53
+ $this->defaultsettings = (array) apply_filters( 'viper-jquery-lightbox_defaultsettings', array(
54
+ 'theme' => $defaulttheme,
55
+ ) );
56
+
57
+ // Create the settings array by merging the user's settings and the defaults
58
+ $usersettings = (array) get_option('viper-jquery-lightbox_settings');
59
+ $this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
60
+
61
+ // Enqueue the theme
62
+ if ( empty($this->themes[$this->settings['theme']]) )
63
+ $this->settings['theme'] = $this->defaultsettings['theme'];
64
+ wp_enqueue_style( 'colorbox-' . $this->settings['theme'] );
65
+ }
66
+
67
+
68
+ // Register the settings page
69
+ function register_settings_page() {
70
+ add_options_page( __('jQuery Lightbox For Native Galleries', 'viper-jquery-lightbox'), __('jQuery Lightbox', 'viper-jquery-lightbox'), 'manage_options', 'viper-jquery-lightbox', array(&$this, 'settings_page') );
71
+ }
72
+
73
+
74
+ // Register the plugin's setting
75
+ function register_setting() {
76
+ register_setting( 'viper-jquery-lightbox_settings', 'viper-jquery-lightbox_settings', array(&$this, 'validate_settings') );
77
  }
78
 
79
 
80
  // Output the Javascript to create the Lightbox
81
  function wp_head() { ?>
82
+ <!-- jQuery Lightbox For Native Galleries v3.1.3 | http://www.viper007bond.com/wordpress-plugins/jquery-lightbox-for-native-galleries/ -->
83
  <script type="text/javascript">
84
  // <![CDATA[
85
  jQuery(document).ready(function($){
86
  $(".gallery").each(function(index, obj){
87
+ var galleryid = Math.floor(Math.random()*10000);
88
+ $(obj).find("a").colorbox({rel:galleryid, maxWidth:"95%", maxHeight:"95%"});
 
 
 
 
 
89
  });
90
+ $("a.lightbox").colorbox({maxWidth:"95%", maxHeight:"95%"});
91
  });
92
  // ]]>
93
  </script>
97
 
98
  // Make the thumbnails link to the fullsize image rather than a Page with the medium sized image
99
  function attachment_link( $link, $id ) {
100
+ // The lightbox doesn't function inside feeds obviously, so don't modify anything
101
+ if ( is_feed() || is_admin() )
102
+ return $link;
103
+
104
  $post = get_post( $id );
105
 
106
  if ( 'image/' == substr( $post->post_mime_type, 0, 6 ) )
108
  else
109
  return $link;
110
  }
111
+
112
+
113
+ // Settings page
114
+ function settings_page() { ?>
115
+
116
+ <div class="wrap">
117
+ <?php screen_icon(); ?>
118
+ <h2><?php _e( 'jQuery Lightbox For Native Galleries Settings', 'viper-jquery-lightbox' ); ?></h2>
119
+
120
+ <form method="post" action="options.php">
121
+
122
+ <?php settings_fields('viper-jquery-lightbox_settings'); ?>
123
+
124
+
125
+ <p><?php _e( 'Sorry if you were expecting more, but this is all there is at the moment. Nothing else to configure really anyway. :)', 'viper-jquery-lightbox' ); ?></p>
126
+
127
+ <table class="form-table">
128
+ <tr valign="top">
129
+ <th scope="row"><label for="viper-jquery-lightbox-theme"><?php _e('Theme', 'viper-jquery-lightbox'); ?></label></th>
130
+ <td>
131
+ <select name="viper-jquery-lightbox_settings[theme]" id="viper-jquery-lightbox-theme" class="postform">
132
+ <?php
133
+ foreach ( $this->themes as $theme => $name ) {
134
+ echo ' <option value="' . esc_attr($theme) . '"';
135
+ selected( $this->settings['theme'], $theme );
136
+ echo '>' . htmlspecialchars($name) . "</option>\n";
137
+ }
138
+ ?>
139
+ </select>
140
+ </td>
141
+ </tr>
142
+ </table>
143
+
144
+ <p class="submit">
145
+ <input type="submit" name="viper-jquery-lightbox-submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
146
+ </p>
147
+
148
+ </form>
149
+ </div>
150
+
151
+ <?php
152
+ }
153
+
154
+
155
+ // Validate the settings sent from the settings page
156
+ function validate_settings( $settings ) {
157
+ if ( empty($settings['theme']) || empty($this->themes[$settings['theme']]) )
158
+ $settings['theme'] = $this->defaultsettings['theme'];
159
+
160
+ return $settings;
161
+ }
162
  }
163
 
164
  // Start the plugin up
165
+ add_action( 'init', 'jQueryLightboxForNativeGalleries', 7 );
166
  function jQueryLightboxForNativeGalleries() {
167
  global $jQueryLightboxForNativeGalleries;
168
  $jQueryLightboxForNativeGalleries = new jQueryLightboxForNativeGalleries();
jquery-lightbox/css/jquery.lightbox-0.5.css DELETED
@@ -1,101 +0,0 @@
1
- /**
2
- * jQuery lightBox plugin
3
- * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
4
- * and adapted to me for use like a plugin from jQuery.
5
- * @name jquery-lightbox-0.5.css
6
- * @author Leandro Vieira Pinho - http://leandrovieira.com
7
- * @version 0.5
8
- * @date April 11, 2008
9
- * @category jQuery plugin
10
- * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
11
- * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
12
- * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
13
- */
14
- #jquery-overlay {
15
- position: absolute;
16
- top: 0;
17
- left: 0;
18
- z-index: 90;
19
- width: 100%;
20
- height: 500px;
21
- }
22
- #jquery-lightbox {
23
- position: absolute;
24
- top: 0;
25
- left: 0;
26
- width: 100%;
27
- z-index: 100;
28
- text-align: center;
29
- line-height: 0;
30
- }
31
- #jquery-lightbox a img { border: none; }
32
- #lightbox-container-image-box {
33
- position: relative;
34
- background-color: #fff;
35
- width: 250px;
36
- height: 250px;
37
- margin: 0 auto;
38
- }
39
- #lightbox-container-image { padding: 10px; }
40
- #lightbox-loading {
41
- position: absolute;
42
- top: 40%;
43
- left: 0%;
44
- height: 25%;
45
- width: 100%;
46
- text-align: center;
47
- line-height: 0;
48
- }
49
- #lightbox-nav {
50
- position: absolute;
51
- top: 0;
52
- left: 0;
53
- height: 100%;
54
- width: 100%;
55
- z-index: 10;
56
- }
57
- #lightbox-container-image-box > #lightbox-nav { left: 0; }
58
- #lightbox-nav a { outline: none;}
59
- #lightbox-nav-btnPrev, #lightbox-nav-btnNext {
60
- width: 49%;
61
- height: 100%;
62
- zoom: 1;
63
- display: block;
64
- }
65
- #lightbox-nav-btnPrev {
66
- left: 0;
67
- float: left;
68
- }
69
- #lightbox-nav-btnNext {
70
- right: 0;
71
- float: right;
72
- }
73
- #lightbox-container-image-data-box {
74
- font: 10px Verdana, Helvetica, sans-serif;
75
- background-color: #fff;
76
- margin: 0 auto;
77
- line-height: 1.4em;
78
- overflow: auto;
79
- width: 100%;
80
- padding: 0 10px 0;
81
- }
82
- #lightbox-container-image-data {
83
- padding: 0 10px;
84
- color: #666;
85
- }
86
- #lightbox-container-image-data #lightbox-image-details {
87
- width: 70%;
88
- float: left;
89
- text-align: left;
90
- }
91
- #lightbox-image-details-caption { font-weight: bold; }
92
- #lightbox-image-details-currentNumber {
93
- display: block;
94
- clear: left;
95
- padding-bottom: 1.0em;
96
- }
97
- #lightbox-secNav-btnClose {
98
- width: 66px;
99
- float: right;
100
- padding-bottom: 0.7em;
101
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
jquery-lightbox/images/lightbox-blank.gif DELETED
Binary file
jquery-lightbox/images/lightbox-btn-close.gif DELETED
Binary file
jquery-lightbox/images/lightbox-btn-next.gif DELETED
Binary file
jquery-lightbox/images/lightbox-btn-prev.gif DELETED
Binary file
jquery-lightbox/images/lightbox-ico-loading.gif DELETED
Binary file
jquery-lightbox/js/jquery.lightbox-0.5.pack.js DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * jQuery lightBox plugin
3
- * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
4
- * and adapted to me for use like a plugin from jQuery.
5
- * @name jquery-lightbox-0.5.js
6
- * @author Leandro Vieira Pinho - http://leandrovieira.com
7
- * @version 0.5
8
- * @date April 11, 2008
9
- * @category jQuery plugin
10
- * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
11
- * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
12
- * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
13
- */
14
- eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){$.2N.3g=6(4){4=23.2H({2B:\'#34\',2g:0.8,1d:F,1M:\'18/5-33-Y.16\',1v:\'18/5-1u-2Q.16\',1E:\'18/5-1u-2L.16\',1W:\'18/5-1u-2I.16\',19:\'18/5-2F.16\',1f:10,2A:3d,2s:\'1j\',2o:\'32\',2j:\'c\',2f:\'p\',2d:\'n\',h:[],9:0},4);f I=N;6 20(){1X(N,I);u F}6 1X(1e,I){$(\'1U, 1S, 1R\').l({\'1Q\':\'2E\'});1O();4.h.B=0;4.9=0;7(I.B==1){4.h.1J(v 1m(1e.17(\'J\'),1e.17(\'2v\')))}j{36(f i=0;i<I.B;i++){4.h.1J(v 1m(I[i].17(\'J\'),I[i].17(\'2v\')))}}2n(4.h[4.9][0]!=1e.17(\'J\')){4.9++}D()}6 1O(){$(\'m\').31(\'<e g="q-13"></e><e g="q-5"><e g="5-s-b-w"><e g="5-s-b"><1w g="5-b"><e 2V="" g="5-k"><a J="#" g="5-k-V"></a><a J="#" g="5-k-X"></a></e><e g="5-Y"><a J="#" g="5-Y-29"><1w W="\'+4.1M+\'"></a></e></e></e><e g="5-s-b-T-w"><e g="5-s-b-T"><e g="5-b-A"><1i g="5-b-A-1t"></1i><1i g="5-b-A-1g"></1i></e><e g="5-1s"><a J="#" g="5-1s-22"><1w W="\'+4.1W+\'"></a></e></e></e></e>\');f z=1D();$(\'#q-13\').l({2K:4.2B,2J:4.2g,S:z[0],P:z[1]}).1V();f R=1p();$(\'#q-5\').l({1T:R[1]+(z[3]/10),1c:R[0]}).E();$(\'#q-13,#q-5\').C(6(){1a()});$(\'#5-Y-29,#5-1s-22\').C(6(){1a();u F});$(G).2G(6(){f z=1D();$(\'#q-13\').l({S:z[0],P:z[1]});f R=1p();$(\'#q-5\').l({1T:R[1]+(z[3]/10),1c:R[0]})})}6 D(){$(\'#5-Y\').E();7(4.1d){$(\'#5-b,#5-s-b-T-w,#5-b-A-1g\').1b()}j{$(\'#5-b,#5-k,#5-k-V,#5-k-X,#5-s-b-T-w,#5-b-A-1g\').1b()}f Q=v 1j();Q.1P=6(){$(\'#5-b\').2D(\'W\',4.h[4.9][0]);1N(Q.S,Q.P);Q.1P=6(){}};Q.W=4.h[4.9][0]};6 1N(1o,1r){f 1L=$(\'#5-s-b-w\').S();f 1K=$(\'#5-s-b-w\').P();f 1n=(1o+(4.1f*2));f 1y=(1r+(4.1f*2));f 1I=1L-1n;f 2z=1K-1y;$(\'#5-s-b-w\').3f({S:1n,P:1y},4.2A,6(){2y()});7((1I==0)&&(2z==0)){7($.3e.3c){1H(3b)}j{1H(3a)}}$(\'#5-s-b-T-w\').l({S:1o});$(\'#5-k-V,#5-k-X\').l({P:1r+(4.1f*2)})};6 2y(){$(\'#5-Y\').1b();$(\'#5-b\').1V(6(){2u();2t()});2r()};6 2u(){$(\'#5-s-b-T-w\').38(\'35\');$(\'#5-b-A-1t\').1b();7(4.h[4.9][1]){$(\'#5-b-A-1t\').2p(4.h[4.9][1]).E()}7(4.h.B>1){$(\'#5-b-A-1g\').2p(4.2s+\' \'+(4.9+1)+\' \'+4.2o+\' \'+4.h.B).E()}}6 2t(){$(\'#5-k\').E();$(\'#5-k-V,#5-k-X\').l({\'K\':\'1C M(\'+4.19+\') L-O\'});7(4.9!=0){7(4.1d){$(\'#5-k-V\').l({\'K\':\'M(\'+4.1v+\') 1c 15% L-O\'}).11().1k(\'C\',6(){4.9=4.9-1;D();u F})}j{$(\'#5-k-V\').11().2m(6(){$(N).l({\'K\':\'M(\'+4.1v+\') 1c 15% L-O\'})},6(){$(N).l({\'K\':\'1C M(\'+4.19+\') L-O\'})}).E().1k(\'C\',6(){4.9=4.9-1;D();u F})}}7(4.9!=(4.h.B-1)){7(4.1d){$(\'#5-k-X\').l({\'K\':\'M(\'+4.1E+\') 2l 15% L-O\'}).11().1k(\'C\',6(){4.9=4.9+1;D();u F})}j{$(\'#5-k-X\').11().2m(6(){$(N).l({\'K\':\'M(\'+4.1E+\') 2l 15% L-O\'})},6(){$(N).l({\'K\':\'1C M(\'+4.19+\') L-O\'})}).E().1k(\'C\',6(){4.9=4.9+1;D();u F})}}2k()}6 2k(){$(d).30(6(12){2i(12)})}6 1G(){$(d).11()}6 2i(12){7(12==2h){U=2Z.2e;1x=27}j{U=12.2e;1x=12.2Y}14=2X.2W(U).2U();7((14==4.2j)||(14==\'x\')||(U==1x)){1a()}7((14==4.2f)||(U==37)){7(4.9!=0){4.9=4.9-1;D();1G()}}7((14==4.2d)||(U==39)){7(4.9!=(4.h.B-1)){4.9=4.9+1;D();1G()}}}6 2r(){7((4.h.B-1)>4.9){2c=v 1j();2c.W=4.h[4.9+1][0]}7(4.9>0){2b=v 1j();2b.W=4.h[4.9-1][0]}}6 1a(){$(\'#q-5\').2a();$(\'#q-13\').2T(6(){$(\'#q-13\').2a()});$(\'1U, 1S, 1R\').l({\'1Q\':\'2S\'})}6 1D(){f o,r;7(G.1h&&G.28){o=G.26+G.2R;r=G.1h+G.28}j 7(d.m.25>d.m.24){o=d.m.2P;r=d.m.25}j{o=d.m.2O;r=d.m.24}f y,H;7(Z.1h){7(d.t.1l){y=d.t.1l}j{y=Z.26}H=Z.1h}j 7(d.t&&d.t.1A){y=d.t.1l;H=d.t.1A}j 7(d.m){y=d.m.1l;H=d.m.1A}7(r<H){1z=H}j{1z=r}7(o<y){1B=o}j{1B=y}21=v 1m(1B,1z,y,H);u 21};6 1p(){f o,r;7(Z.1Z){r=Z.1Z;o=Z.2M}j 7(d.t&&d.t.1F){r=d.t.1F;o=d.t.1Y}j 7(d.m){r=d.m.1F;o=d.m.1Y}2q=v 1m(o,r);u 2q};6 1H(2C){f 2x=v 2w();1q=2h;3h{f 1q=v 2w()}2n(1q-2x<2C)};u N.11(\'C\').C(20)}})(23);',62,204,'||||settings|lightbox|function|if||activeImage||image||document|div|var|id|imageArray||else|nav|css|body||xScroll||jquery|yScroll|container|documentElement|return|new|box||windowWidth|arrPageSizes|details|length|click|_set_image_to_view|show|false|window|windowHeight|jQueryMatchedObj|href|background|no|url|this|repeat|height|objImagePreloader|arrPageScroll|width|data|keycode|btnPrev|src|btnNext|loading|self||unbind|objEvent|overlay|key||gif|getAttribute|images|imageBlank|_finish|hide|left|fixedNavigation|objClicked|containerBorderSize|currentNumber|innerHeight|span|Image|bind|clientWidth|Array|intWidth|intImageWidth|___getPageScroll|curDate|intImageHeight|secNav|caption|btn|imageBtnPrev|img|escapeKey|intHeight|pageHeight|clientHeight|pageWidth|transparent|___getPageSize|imageBtnNext|scrollTop|_disable_keyboard_navigation|___pause|intDiffW|push|intCurrentHeight|intCurrentWidth|imageLoading|_resize_container_image_box|_set_interface|onload|visibility|select|object|top|embed|fadeIn|imageBtnClose|_start|scrollLeft|pageYOffset|_initialize|arrayPageSize|btnClose|jQuery|offsetHeight|scrollHeight|innerWidth||scrollMaxY|link|remove|objPrev|objNext|keyToNext|keyCode|keyToPrev|overlayOpacity|null|_keyboard_action|keyToClose|_enable_keyboard_navigation|right|hover|while|txtOf|html|arrayPageScroll|_preload_neighbor_images|txtImage|_set_navigation|_show_image_data|title|Date|date|_show_image|intDiffH|containerResizeSpeed|overlayBgColor|ms|attr|hidden|blank|resize|extend|close|opacity|backgroundColor|next|pageXOffset|fn|offsetWidth|scrollWidth|prev|scrollMaxX|visible|fadeOut|toLowerCase|style|fromCharCode|String|DOM_VK_ESCAPE|event|keydown|append|of|ico|000|fast|for||slideDown||100|250|msie|400|browser|animate|lightBox|do'.split('|'),0,{}))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,16 +1,19 @@
1
  === jQuery Lightbox For Native Galleries ===
2
  Contributors: Viper007Bond
3
- Donate link: http://www.viper007bond.com/donate/
4
  Tags: lightbox, jquery, gallery
5
  Requires at least: 2.6
6
- Tested up to: 2.8
7
  Stable tag: trunk
8
 
9
- Makes the native WordPress galleries use a lightbox to display the fullsize images.
10
 
11
  == Description ==
12
 
13
- Makes the native WordPress galleries use a lightbox to display the fullsize images. The lightbox used in this plugin is currently the [jQuery lightBox plugin by Leandro Vieira Pinho](http://leandrovieira.com/projects/jquery/lightbox/).
 
 
 
 
14
 
15
  **Demo**
16
 
@@ -18,35 +21,66 @@ A demo is available at [this plugin's homepage](http://www.viper007bond.com/word
18
 
19
  == Installation ==
20
 
21
- ###Updgrading From A Previous Version###
22
 
23
- To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.
24
 
25
- ###Installing The Plugin###
 
26
 
27
- Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to `/wp-content/plugins/`. Then just visit your admin area and activate the plugin. That's it!
 
28
 
29
- **See Also:** ["Installing Plugins" article on the WP Codex](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
 
30
 
31
- == ChangeLog ==
 
32
 
33
- **Version 2.0.1**
 
34
 
35
- * Remove an extra comma that was breaking stupid Internet Explorer. Props [Troy](http://troycawley.com/).
 
 
36
 
37
- **Version 2.0.0**
 
38
 
39
- * Switched lightbox scripts as I was unhappy with the previous one.
 
 
 
 
 
 
 
 
 
40
 
41
- **Version 1.1.0**
 
42
 
 
 
 
 
 
 
 
43
  * Update jquery_lightbox package. It now supports resizing images that are too large as well as not disabling IE6 support.
44
  * Makes the lightbox gallery-aware, i.e. don't allow next/prev between image sets. Thanks to Benjamin "balupton" Lupton!
45
 
46
- **Version 1.0.1**
47
-
48
  * Better WordPress 2.6 support (i.e. when you have a moved plugins directory).
49
 
50
- **Version 1.0.0**
 
 
 
 
 
 
51
 
52
- * Initial release.
 
1
  === jQuery Lightbox For Native Galleries ===
2
  Contributors: Viper007Bond
 
3
  Tags: lightbox, jquery, gallery
4
  Requires at least: 2.6
5
+ Tested up to: 3.1
6
  Stable tag: trunk
7
 
8
+ Makes the native WordPress galleries use a lightbox script called ColorBox to display the fullsize images.
9
 
10
  == Description ==
11
 
12
+ Makes the native WordPress galleries use a lightbox script called [ColorBox](http://colorpowered.com/colorbox/) to display the fullsize images right there in the page. No modifications required.
13
+
14
+ You can also make single non-`[gallery]` images use the lightbox by giving their links a class of "lightbox", like so:
15
+
16
+ `<a href="..." class="lightbox"><img src="..." alt="..." /></a>`
17
 
18
  **Demo**
19
 
21
 
22
  == Installation ==
23
 
24
+ Log into the administration area of your blog and click on Plugins -> Add New in the menu. Search for the name of this plugin and then click install on the right side, and then again in the pop-up window.
25
 
26
+ == ChangeLog ==
27
 
28
+ = Version 3.2.2 =
29
+ * Update ColorBox to v1.3.14 (see [it's changelog](http://colorpowered.com/colorbox/core/README)). Fixes functionality under WordPress 3.1.
30
 
31
+ = Version 3.2.1 =
32
+ * Update ColorBox to v1.3.8 (see [it's changelog](http://colorpowered.com/colorbox/core/README)).
33
 
34
+ = Version 3.2.0 =
35
+ * Make any link that has the class `lightbox` into a lightbox. No grouping or anything, at least for now.
36
 
37
+ = Version 3.1.4 =
38
+ * Don't change the attachment link inside the admin area.
39
 
40
+ = Version 3.1.3 =
41
+ * Update ColorBox to v1.3.6 (see [it's changelog](http://colorpowered.com/colorbox/core/README)).
42
 
43
+ = Version 3.1.2 =
44
+ * Remove IE PNG fixes as they require a full URL and it's not worth the trouble. Works well enough in IE8.
45
+ * Change how groups of images are labeled (use a random number rather than the gallery's ID so it works with the Twenty Ten theme).
46
 
47
+ = Version 3.1.1 =
48
+ * Update ColorBox to v1.3.4.
49
 
50
+ = Version 3.1.0 =
51
+ * Update ColorBox to v1.3.3.
52
+ * Include all five of the default ColorBox themes and add a settings page to pick between them.
53
+ * Change the lightbox maxwidth and maxheight to 95% as I think it looks better.
54
+
55
+ = Version 3.0.2 =
56
+ * Don't do anything inside of feeds (i.e. modify the thumbnail links).
57
+
58
+ = Version 3.0.1 =
59
+ * Fix spelling mistake on the ColorBox style ID.
60
 
61
+ = Version 3.0.0 =
62
+ * Switch the awesome [ColorBox](http://colorpowered.com/colorbox/). It looks pretty and does large image resizing. Yay!
63
 
64
+ = Version 2.0.1 =
65
+ * Remove an extra comma that was breaking stupid Internet Explorer. Props [Troy](http://troycawley.com/).
66
+
67
+ = Version 2.0.0 =
68
+ * Switched lightbox scripts as I was unhappy with the previous one.
69
+
70
+ = Version 1.1.0 =
71
  * Update jquery_lightbox package. It now supports resizing images that are too large as well as not disabling IE6 support.
72
  * Makes the lightbox gallery-aware, i.e. don't allow next/prev between image sets. Thanks to Benjamin "balupton" Lupton!
73
 
74
+ = Version 1.0.1 =
 
75
  * Better WordPress 2.6 support (i.e. when you have a moved plugins directory).
76
 
77
+ = Version 1.0.0 =
78
+ * Initial release.
79
+
80
+ == Upgrade Notice ==
81
+
82
+ = 3.1.3 =
83
+ Works properly in Internet Explorer now and compatible with more WordPress themes. ColorBox script also updated.
84
 
85
+ = 3.1.2 =
86
+ Works properly in Internet Explorer now and compatible with more WordPress themes.