Photo Gallery by Supsystic - Version 1.13.5

Version Description

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Photo Gallery by Supsystic
Version 1.13.5
Comparing to
See all releases

Code changes from version 1.13.1 to 1.13.5

Files changed (48) hide show
  1. app/assets/img/loader.gif +0 -0
  2. app/assets/js/jquery.lazyload.js +4 -3
  3. app/assets/js/jquery.lazyload.min.js +1 -1
  4. app/langs/sgg-fr_FR.mo +0 -0
  5. app/langs/sgg-fr_FR.po +3 -3
  6. app/langs/sgg-it_IT.po +118 -299
  7. app/templates/grid-gallery.twig +2 -1
  8. index.php +2 -2
  9. readme.txt +31 -3
  10. src/GridGallery/Colorbox/jquery-colorbox/jquery.colorbox.js +4 -2
  11. src/GridGallery/Core/Module.php +3 -1
  12. src/GridGallery/Featuredplugins/views/index.twig +2 -2
  13. src/GridGallery/Galleries/Attachment.php +5 -1
  14. src/GridGallery/Galleries/Controller.php +3 -0
  15. src/GridGallery/Galleries/Model/Galleries.php +1 -1
  16. src/GridGallery/Galleries/Module.php +8 -12
  17. src/GridGallery/Galleries/assets/css/grid-gallery.galleries.effects.css +7 -3
  18. src/GridGallery/Galleries/assets/css/photobox.css +1 -0
  19. src/GridGallery/Galleries/assets/img/cats_pro.gif +0 -0
  20. src/GridGallery/Galleries/assets/img/leer.png +0 -0
  21. src/GridGallery/Galleries/assets/img/pagination_pro.gif +0 -0
  22. src/GridGallery/Galleries/assets/img/posts_pro.gif +0 -0
  23. src/GridGallery/Galleries/assets/js/frontend.js +183 -99
  24. src/GridGallery/Galleries/assets/js/lib/jquery.prettyphoto.js +5 -3
  25. src/GridGallery/Galleries/assets/js/settings.js +65 -8
  26. src/GridGallery/Galleries/configs/tooltips.php +1 -1
  27. src/GridGallery/Galleries/views/add_images.twig +2 -2
  28. src/GridGallery/Galleries/views/gallery_preset.twig +2 -2
  29. src/GridGallery/Galleries/views/index.twig +10 -4
  30. src/GridGallery/Galleries/views/r314/shortcode/gallery.twig +1 -1
  31. src/GridGallery/Galleries/views/settings.twig +61 -30
  32. src/GridGallery/Galleries/views/shortcode/gallery.twig +9 -2
  33. src/GridGallery/Galleries/views/shortcode/helpers.twig +4 -2
  34. src/GridGallery/Galleries/views/sort.twig +2 -2
  35. src/GridGallery/Galleries/views/view.twig +3 -3
  36. src/GridGallery/Insta/views/authorization.twig +2 -2
  37. src/GridGallery/Insta/views/index.twig +2 -2
  38. src/GridGallery/Installer/Model.php +30 -4
  39. src/GridGallery/Installer/Queries.php +10 -0
  40. src/GridGallery/Optimization/views/error.twig +1 -1
  41. src/GridGallery/Optimization/views/index.twig +1 -1
  42. src/GridGallery/Overview/views/index.twig +1 -1
  43. src/GridGallery/Photos/views/index.twig +1 -1
  44. src/GridGallery/Promo/Module.php +41 -7
  45. src/GridGallery/Promo/views/discountMessage.twig +38 -0
  46. src/GridGallery/SocialSharing/Module.php +1 -1
  47. src/GridGallery/Ui/Module.php +6 -2
  48. src/GridGallery/Ui/views/type.twig +20 -7
app/assets/img/loader.gif DELETED
Binary file
app/assets/js/jquery.lazyload.js CHANGED
@@ -112,12 +112,13 @@
112
  } else {
113
  $self.css("background-image", "url('" + original + "')");
114
  }
115
- $self[settings.effect](settings.effect_speed);
116
-
117
- self.loaded = true;
118
  /* for user can reinit LazyLoad */
119
  $self.removeClass('ggLazyImg');
 
 
120
 
 
 
121
  /* Remove image from array so it is not looped next time. */
122
  var temp = $.grep(elements, function(element) {
123
  return !element.loaded;
112
  } else {
113
  $self.css("background-image", "url('" + original + "')");
114
  }
 
 
 
115
  /* for user can reinit LazyLoad */
116
  $self.removeClass('ggLazyImg');
117
+
118
+ $self[settings.effect](settings.effect_speed);
119
 
120
+ self.loaded = true;
121
+
122
  /* Remove image from array so it is not looped next time. */
123
  var temp = $.grep(elements, function(element) {
124
  return !element.loaded;
app/assets/js/jquery.lazyload.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t,i,o){var n=e(t);e.fn.ggLazyLoad=function(r){var f,l=this,a={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function h(){var t=0;l.each(function(){var i=e(this);if(!a.skip_invisible||i.is(":visible"))if(e.abovethetop(this,a)||e.leftofbegin(this,a));else if(e.belowthefold(this,a)||e.rightoffold(this,a)){if(++t>a.failure_limit)return!1}else i.trigger("appear"),t=0})}return r&&(o!==r.failurelimit&&(r.failure_limit=r.failurelimit,delete r.failurelimit),o!==r.effectspeed&&(r.effect_speed=r.effectspeed,delete r.effectspeed),e.extend(a,r)),f=a.container===o||a.container===t?n:e(a.container),0===a.event.indexOf("scroll")&&f.bind(a.event,function(){return h()}),this.each(function(){var t=this,i=e(t);t.loaded=!1,i.attr("src")!==o&&!1!==i.attr("src")||i.is("img")&&i.attr("src",a.placeholder),i.one("appear",function(){if(!this.loaded){if(a.appear){var o=l.length;a.appear.call(t,o,a)}e("<img />").bind("load",function(){var o=i.attr("data-"+a.data_attribute);i.hide(),i.is("img")?i.attr("src",o):i.css("background-image","url('"+o+"')"),i[a.effect](a.effect_speed),t.loaded=!0,i.removeClass("ggLazyImg");var n=e.grep(l,function(e){return!e.loaded});if(l=e(n),a.load){var r=l.length;a.load.call(t,r,a)}}).attr("src",i.attr("data-"+a.data_attribute))}}),0!==a.event.indexOf("scroll")&&i.bind(a.event,function(){t.loaded||i.trigger("appear")})}),n.bind("resize",function(){h()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(i).ready(function(){h()}),this},e.belowthefold=function(i,r){return(r.container===o||r.container===t?(t.innerHeight?t.innerHeight:n.height())+n.scrollTop():e(r.container).offset().top+e(r.container).height())<=e(i).offset().top-r.threshold},e.rightoffold=function(i,r){return(r.container===o||r.container===t?n.width()+n.scrollLeft():e(r.container).offset().left+e(r.container).width())<=e(i).offset().left-r.threshold},e.abovethetop=function(i,r){return(r.container===o||r.container===t?n.scrollTop():e(r.container).offset().top)>=e(i).offset().top+r.threshold+e(i).height()},e.leftofbegin=function(i,r){return(r.container===o||r.container===t?n.scrollLeft():e(r.container).offset().left)>=e(i).offset().left+r.threshold+e(i).width()},e.inviewport=function(t,i){return!(e.rightoffold(t,i)||e.leftofbegin(t,i)||e.belowthefold(t,i)||e.abovethetop(t,i))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(jQuery,window,document);
1
+ !function(e,t,i,o){var n=e(t);e.fn.ggLazyLoad=function(r){var f,l=this,a={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function h(){var t=0;l.each(function(){var i=e(this);if(!a.skip_invisible||i.is(":visible"))if(e.abovethetop(this,a)||e.leftofbegin(this,a));else if(e.belowthefold(this,a)||e.rightoffold(this,a)){if(++t>a.failure_limit)return!1}else i.trigger("appear"),t=0})}return r&&(o!==r.failurelimit&&(r.failure_limit=r.failurelimit,delete r.failurelimit),o!==r.effectspeed&&(r.effect_speed=r.effectspeed,delete r.effectspeed),e.extend(a,r)),f=a.container===o||a.container===t?n:e(a.container),0===a.event.indexOf("scroll")&&f.bind(a.event,function(){return h()}),this.each(function(){var t=this,i=e(t);t.loaded=!1,i.attr("src")!==o&&!1!==i.attr("src")||i.is("img")&&i.attr("src",a.placeholder),i.one("appear",function(){if(!this.loaded){if(a.appear){var o=l.length;a.appear.call(t,o,a)}e("<img />").bind("load",function(){var o=i.attr("data-"+a.data_attribute);i.hide(),i.is("img")?i.attr("src",o):i.css("background-image","url('"+o+"')"),i.removeClass("ggLazyImg"),i[a.effect](a.effect_speed),t.loaded=!0;var n=e.grep(l,function(e){return!e.loaded});if(l=e(n),a.load){var r=l.length;a.load.call(t,r,a)}}).attr("src",i.attr("data-"+a.data_attribute))}}),0!==a.event.indexOf("scroll")&&i.bind(a.event,function(){t.loaded||i.trigger("appear")})}),n.bind("resize",function(){h()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(i).ready(function(){h()}),this},e.belowthefold=function(i,r){return(r.container===o||r.container===t?(t.innerHeight?t.innerHeight:n.height())+n.scrollTop():e(r.container).offset().top+e(r.container).height())<=e(i).offset().top-r.threshold},e.rightoffold=function(i,r){return(r.container===o||r.container===t?n.width()+n.scrollLeft():e(r.container).offset().left+e(r.container).width())<=e(i).offset().left-r.threshold},e.abovethetop=function(i,r){return(r.container===o||r.container===t?n.scrollTop():e(r.container).offset().top)>=e(i).offset().top+r.threshold+e(i).height()},e.leftofbegin=function(i,r){return(r.container===o||r.container===t?n.scrollLeft():e(r.container).offset().left)>=e(i).offset().left+r.threshold+e(i).width()},e.inviewport=function(t,i){return!(e.rightoffold(t,i)||e.leftofbegin(t,i)||e.belowthefold(t,i)||e.abovethetop(t,i))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(jQuery,window,document);
app/langs/sgg-fr_FR.mo CHANGED
Binary file
app/langs/sgg-fr_FR.po CHANGED
@@ -10,7 +10,7 @@ msgstr ""
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
13
- "X-Generator: Poedit 2.0.4\n"
14
 
15
  msgid " Mb "
16
  msgstr " Mb "
@@ -1614,7 +1614,7 @@ msgid "Other"
1614
  msgstr "Autre"
1615
 
1616
  msgid "Over the gallery"
1617
- msgstr "Sous la galerie"
1618
 
1619
  msgid "Overlay color"
1620
  msgstr "Couleur du calque superposé"
@@ -2415,7 +2415,7 @@ msgid "Unable to save chosen photo %s: %s"
2415
  msgstr "Impossible de sauvegarder la photo choisie %s: %s"
2416
 
2417
  msgid "Under the gallery"
2418
- msgstr "Au-dessus de la galerie"
2419
 
2420
  msgid "Unnamed gallery"
2421
  msgstr "Galerie sans nom"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
13
+ "X-Generator: Poedit 2.2.1\n"
14
 
15
  msgid " Mb "
16
  msgstr " Mb "
1614
  msgstr "Autre"
1615
 
1616
  msgid "Over the gallery"
1617
+ msgstr "Au-dessus de la galerie"
1618
 
1619
  msgid "Overlay color"
1620
  msgstr "Couleur du calque superposé"
2415
  msgstr "Impossible de sauvegarder la photo choisie %s: %s"
2416
 
2417
  msgid "Under the gallery"
2418
+ msgstr "Sous la galerie"
2419
 
2420
  msgid "Unnamed gallery"
2421
  msgstr "Galerie sans nom"
app/langs/sgg-it_IT.po CHANGED
@@ -9,7 +9,7 @@ msgstr ""
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.1.1\n"
13
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
 
15
  msgid " Mb "
@@ -229,23 +229,17 @@ msgstr "Si è verificato un errore"
229
  msgid "Animation"
230
  msgstr "Animazione"
231
 
232
- #, fuzzy
233
- #| msgid "Caption effect"
234
  msgid "Animation Effect"
235
- msgstr "Effetto sottotitolo"
236
 
237
- #, fuzzy
238
- #| msgid "Caption effect"
239
  msgid "Animation Effects"
240
- msgstr "Effetto sottotitolo"
241
 
242
  msgid "Animation duration"
243
  msgstr "Durata dell'animazione"
244
 
245
- #, fuzzy
246
- #| msgid "Animation"
247
  msgid "Animation start"
248
- msgstr "Animazione"
249
 
250
  msgid "Another Service"
251
  msgstr "Servizio alternativo"
@@ -259,10 +253,8 @@ msgstr "apertura"
259
  msgid "Apply"
260
  msgstr "Applica"
261
 
262
- #, fuzzy
263
- #| msgid "Upload new images"
264
  msgid "Apply to all images"
265
- msgstr "Carica nuove immagini"
266
 
267
  msgid "Are you really want to delete preset \"%s\"?"
268
  msgstr "Sei sicuro di voler cancellare l'impostazione \"%s\"?"
@@ -288,7 +280,7 @@ msgid "Authorization oauth_verifier is not specified."
288
  msgstr "Autorizzazione oauth_verifier non specificata"
289
 
290
  msgid "Auto Posts Categories"
291
- msgstr "Auto Posts Categories"
292
 
293
  msgid "Auto posts"
294
  msgstr "Auto posts"
@@ -297,27 +289,25 @@ msgid "Auto, Did not fire"
297
  msgstr "Auto, Did not fire"
298
 
299
  msgid "Auto, Did not fire, Red-eye reduction"
300
- msgstr "Auto, Did not fire, Red-eye reduction"
301
 
302
  msgid "Auto, Fired"
303
  msgstr "Auto, Fired"
304
 
305
  msgid "Auto, Fired, Red-eye reduction"
306
- msgstr "Auto, Fired, Red-eye reduction"
307
 
308
- #, fuzzy
309
- #| msgid "Auto, Fired, Red-eye reduction, Return not detected"
310
  msgid "Auto, Fired, Red-eye reduction, Return detected"
311
- msgstr "Auto, Fired, Red-eye reduction, Return not detected"
312
 
313
  msgid "Auto, Fired, Red-eye reduction, Return not detected"
314
- msgstr "Auto, Fired, Red-eye reduction, Return not detected"
315
 
316
  msgid "Auto, Fired, Return detected"
317
- msgstr "Auto, Fired, Return detected"
318
 
319
  msgid "Auto, Fired, Return not detected"
320
- msgstr "Auto, Fired, Return not detected"
321
 
322
  msgid "Autoplay video"
323
  msgstr "Video autoplay"
@@ -334,30 +324,23 @@ msgstr "Disponibile nella versione PRO."
334
  msgid "Back to the gallery"
335
  msgstr "Torna alla galleria"
336
 
337
- #, fuzzy
338
- #| msgid "Background color"
339
  msgid "Background"
340
- msgstr "Colore sfondo"
341
 
342
- #, fuzzy
343
- #| msgid "Scroll Bar Transparency"
344
  msgid "Background Transparency"
345
- msgstr "Trasparenza barra di scorrimento"
346
 
347
  msgid "Background color"
348
  msgstr "Colore sfondo"
349
 
350
- #, fuzzy
351
  msgid "Background color for \"Show on hover\""
352
- msgstr "Colore sfondo"
353
 
354
  msgid "Background hover color"
355
  msgstr "Colore sfondo puntatore sopra"
356
 
357
- #, fuzzy
358
- #| msgid "Scroll Bar Transparency"
359
  msgid "Background transparency"
360
- msgstr "Trasparenza barra di scorrimento"
361
 
362
  msgid "Backup Images Source"
363
  msgstr "Backup immagini sorgente"
@@ -413,35 +396,27 @@ msgstr "Larghezza bordo"
413
  msgid "Bottom"
414
  msgstr "Sotto"
415
 
416
- #, fuzzy
417
- #| msgid "Center"
418
  msgid "Bottom Center"
419
- msgstr "Centro"
420
 
421
- #, fuzzy
422
- #| msgid "Bottom"
423
  msgid "Bottom Left"
424
- msgstr "Sotto"
425
 
426
- #, fuzzy
427
- #| msgid "Bottom"
428
  msgid "Bottom Right"
429
- msgstr "Sotto"
430
 
431
- #, fuzzy
432
- #| msgid "Custom Buttons"
433
  msgid "Buttons"
434
- msgstr "Bottoni personalizzati"
435
 
436
  msgid "Buttons align"
437
  msgstr "Allineamento pulsanti"
438
 
439
  msgid "Buttons position"
440
- msgstr "Posizione bottoni"
441
 
442
  msgid "Buttons preset editor for Paginations, Categories and Load More buttons"
443
  msgstr ""
444
- "Bottone modifica modello per Paginazione, Categorie e bottone Carica altri"
445
 
446
  msgid "Camera"
447
  msgstr "Fotocamera"
@@ -497,10 +472,8 @@ msgstr "Categorizza le immagini nella galleria"
497
  msgid "Center"
498
  msgstr "Centro"
499
 
500
- #, fuzzy
501
- #| msgid "Center"
502
  msgid "Center Center"
503
- msgstr "Centro"
504
 
505
  msgid "Change Details"
506
  msgstr "Cambia dettagli"
@@ -508,23 +481,17 @@ msgstr "Cambia dettagli"
508
  msgid "Check all other FAQs"
509
  msgstr "Controlla gli altri FAQs"
510
 
511
- #, fuzzy
512
- #| msgid "Choose Icon"
513
  msgid "Choose"
514
- msgstr "Scegli icona"
515
 
516
  msgid "Choose Gallery Template."
517
  msgstr "Scegli il template della galleria."
518
 
519
- #, fuzzy
520
- #| msgid ""
521
- #| "Choose Gallery Template.You can change template and settings on the next "
522
- #| "step."
523
  msgid ""
524
  "Choose Gallery Template. You can change template and settings on the next "
525
  "step."
526
  msgstr ""
527
- "Scegli il template della galeria. Puoi cambiare template e impostazioni nel "
528
  "passaggio successivo."
529
 
530
  msgid "Choose Icon"
@@ -536,10 +503,8 @@ msgstr "Scegli effetto"
536
  msgid "Choose icon"
537
  msgstr "Scegli icona"
538
 
539
- #, fuzzy
540
- #| msgid "Choose images"
541
  msgid "Choose image"
542
- msgstr "Scegli immagini"
543
 
544
  msgid "Choose images"
545
  msgstr "Scegli immagini"
@@ -562,15 +527,11 @@ msgstr "Clona"
562
  msgid "Clone type parameter is incorrect"
563
  msgstr "Il parametro del tipo di clone non è corretto"
564
 
565
- #, fuzzy
566
- #| msgid "Upload new images"
567
  msgid "Clone with images"
568
- msgstr "Carica nuove immagini"
569
 
570
- #, fuzzy
571
- #| msgid "Upload new images"
572
  msgid "Clone without images"
573
- msgstr "Carica nuove immagini"
574
 
575
  msgid "Cloned "
576
  msgstr "Clonato"
@@ -678,7 +639,7 @@ msgid "Currently you have no presets."
678
  msgstr "Al momento non hai preipostazioni."
679
 
680
  msgid "Custom Buttons"
681
- msgstr "Bottoni personalizzati"
682
 
683
  msgid "Custom class"
684
  msgstr "Classe personalizzata"
@@ -689,10 +650,8 @@ msgstr "Generatore di tabelle"
689
  msgid "Date"
690
  msgstr "Data"
691
 
692
- #, fuzzy
693
- #| msgid "Overlay color"
694
  msgid "Delay for"
695
- msgstr "Colore sovrapposizione"
696
 
697
  msgid "Delete Image"
698
  msgstr "Cancella immagine"
@@ -728,10 +687,8 @@ msgstr "Disabilita"
728
  msgid "Disable browser history"
729
  msgstr "Disabilita storia del broswer"
730
 
731
- #, fuzzy
732
- #| msgid "Disable on mobile"
733
  msgid "Disable captions on mobile"
734
- msgstr "Disabilita su mobile"
735
 
736
  msgid "Disable on mobile"
737
  msgstr "Disabilita su mobile"
@@ -742,15 +699,11 @@ msgstr "Disabilita click tasto destro"
742
  msgid "Disable source image for Linked Images"
743
  msgstr "Disabilita immagine sorgente per collegamenti immagine"
744
 
745
- #, fuzzy
746
- #| msgid "Disable on mobile"
747
  msgid "Disable title optimize"
748
- msgstr "Disabilita su mobile"
749
 
750
- #, fuzzy
751
- #| msgid "Upload new images"
752
  msgid "Display all images"
753
- msgstr "Carica nuove immagini"
754
 
755
  msgid ""
756
  "Display custom Google Maps. Set markers and locations with text, images, "
@@ -857,13 +810,11 @@ msgstr "Inserisci la tua passoword"
857
  msgid "Enter your username"
858
  msgstr "Inserisci il tuo username"
859
 
860
- #, fuzzy
861
- #| msgid "An error has occurred"
862
  msgid "Error occurred"
863
  msgstr "Si è verificato un errore"
864
 
865
  msgid "Error occurred!"
866
- msgstr "Si è verificato un errore"
867
 
868
  msgid "Error ocured. Optimize process stopped!"
869
  msgstr "C'è stato un'errore. Ottimizzazione del processo si è fermato!"
@@ -883,10 +834,8 @@ msgstr "Errore! Servizio selezionato errato!"
883
  msgid "Expand"
884
  msgstr "Espandi"
885
 
886
- #, fuzzy
887
- #| msgid "Edit image"
888
  msgid "Expand the image"
889
- msgstr "Modifica immagine"
890
 
891
  msgid "Exposure Bias"
892
  msgstr "Compensazione dell'esposizione"
@@ -939,8 +888,6 @@ msgstr "Fired, Return detected"
939
  msgid "Fired, Return not detected"
940
  msgstr "Fired, Return not detected"
941
 
942
- #, fuzzy
943
- #| msgid "First Step"
944
  msgid "First"
945
  msgstr "Primo passo"
946
 
@@ -965,8 +912,6 @@ msgstr "Lunghezza focale"
965
  msgid "Folder name:"
966
  msgstr "Nome cartella:"
967
 
968
- #, fuzzy
969
- #| msgid "Font size"
970
  msgid "Font"
971
  msgstr "Dimensione carattere"
972
 
@@ -976,10 +921,8 @@ msgstr "Famiglia carattere"
976
  msgid "Font size"
977
  msgstr "Dimensione carattere"
978
 
979
- #, fuzzy
980
- #| msgid "Font size"
981
  msgid "Font style"
982
- msgstr "Dimensione carattere"
983
 
984
  msgid "Font weight"
985
  msgstr "Spessore carattere"
@@ -1020,10 +963,8 @@ msgstr "Tipo galleria"
1020
  msgid "Gallery by Supsystic"
1021
  msgstr "Galleria creata da Supsystic"
1022
 
1023
- #, fuzzy
1024
- #| msgid "Gallery Loader"
1025
  msgid "Gallery clone error"
1026
- msgstr "Caricatore galleria"
1027
 
1028
  msgid ""
1029
  "Gallery doesn’t load on the front end. If the loading gallery icon just "
@@ -1126,10 +1067,8 @@ msgstr "Nascondi sfondo container"
1126
  msgid "Hide image title tooltip"
1127
  msgstr "Nascondi il tooltip titolo immagine"
1128
 
1129
- #, fuzzy
1130
- #| msgid "Hide image title tooltip"
1131
  msgid "Hide long titles"
1132
- msgstr "Nascondi il tooltip titolo immagine"
1133
 
1134
  msgid "Hide mouse on"
1135
  msgstr "Nascondi puntatore sopra"
@@ -1140,10 +1079,8 @@ msgstr "Nascondi sfondo testo"
1140
  msgid "Hope you will come back!"
1141
  msgstr "Spero che tornerai"
1142
 
1143
- #, fuzzy
1144
- #| msgid "Horizontal Scroll"
1145
  msgid "Horizontal (normal)"
1146
- msgstr "Scorrimento orizzontale"
1147
 
1148
  msgid "Horizontal Scroll"
1149
  msgstr "Scorrimento orizzontale"
@@ -1169,25 +1106,17 @@ msgstr "Ho trovato un plugin migliore"
1169
  msgid "I no longer need the plugin"
1170
  msgstr "Non ho più bisogno del plugin"
1171
 
1172
- #, fuzzy
1173
- #| msgid "SEO"
1174
  msgid "ISO"
1175
  msgstr "SEO"
1176
 
1177
- #, fuzzy
1178
- #| msgid "Border type"
1179
  msgid "Icon entry type"
1180
- msgstr "Tipo bordo"
1181
 
1182
- #, fuzzy
1183
- #| msgid "Icons size"
1184
  msgid "Icons"
1185
- msgstr "Dimensione icone"
1186
 
1187
- #, fuzzy
1188
- #| msgid "Transparency"
1189
  msgid "Icons Transparency"
1190
- msgstr "Trasparenza"
1191
 
1192
  msgid "Icons color"
1193
  msgstr "Colore icone"
@@ -1218,38 +1147,26 @@ msgstr ""
1218
  msgid "Image"
1219
  msgstr "Immagine"
1220
 
1221
- #, fuzzy
1222
- #| msgid "Images amount"
1223
  msgid "Image Count"
1224
- msgstr "Numero immagini"
1225
 
1226
- #, fuzzy
1227
- #| msgid "Images amount"
1228
  msgid "Image Count Text"
1229
- msgstr "Numero immagini"
1230
 
1231
- #, fuzzy
1232
- #| msgid "Image width"
1233
  msgid "Image Editor"
1234
- msgstr "Larghezza immagine"
1235
 
1236
  msgid "Image List"
1237
  msgstr "Lista immagini"
1238
 
1239
- #, fuzzy
1240
- #| msgid "Image radius"
1241
  msgid "Image Load"
1242
- msgstr "Rotondità angoli immagine"
1243
 
1244
- #, fuzzy
1245
- #| msgid "Polaroid Image Animation"
1246
  msgid "Image Optimization"
1247
- msgstr "Animazione Immagine Polaroid"
1248
 
1249
- #, fuzzy
1250
- #| msgid "Popup Image size"
1251
  msgid "Image Optimize"
1252
- msgstr "Dimesioni popup immagine"
1253
 
1254
  msgid "Image Sharing"
1255
  msgstr "Condivisione immagini"
@@ -1260,15 +1177,11 @@ msgstr "Qualità ritaglio immagine"
1260
  msgid "Image height"
1261
  msgstr "Altezza immagine"
1262
 
1263
- #, fuzzy
1264
- #| msgid "Image height"
1265
  msgid "Image on hover"
1266
- msgstr "Altezza immagine"
1267
 
1268
- #, fuzzy
1269
- #| msgid "Polaroid Image Animation"
1270
  msgid "Image optimization"
1271
- msgstr "Animazione Immagine Polaroid"
1272
 
1273
  msgid "Image radius"
1274
  msgstr "Rotondità angoli immagine"
@@ -1285,16 +1198,12 @@ msgstr "Immagini"
1285
  msgid "Images Import Options"
1286
  msgstr "Opzioni di importo immagini"
1287
 
1288
- #, fuzzy
1289
- #| msgid "Images amount"
1290
  msgid "Images Optimization"
1291
- msgstr "Numero immagini"
1292
 
1293
  msgid "Images amount"
1294
  msgstr "Numero immagini"
1295
 
1296
- #, fuzzy
1297
- #| msgid "Images amount"
1298
  msgid "Images count"
1299
  msgstr "Numero immagini"
1300
 
@@ -1394,10 +1303,8 @@ msgstr ""
1394
  msgid "KeyCDN"
1395
  msgstr "KeyCDN"
1396
 
1397
- #, fuzzy
1398
- #| msgid "Settings"
1399
  msgid "KeyCDN Settings"
1400
- msgstr "Impostazioni"
1401
 
1402
  msgid "Last"
1403
  msgstr "Ultime"
@@ -1405,31 +1312,23 @@ msgstr "Ultime"
1405
  msgid "Last 24 hours"
1406
  msgstr "Ultime 24 ore"
1407
 
1408
- #, fuzzy
1409
- #| msgid "Gallery Loader"
1410
  msgid "Lazy Load"
1411
  msgstr "Caricatore galleria"
1412
 
1413
  msgid "LazyLoad"
1414
- msgstr ""
1415
 
1416
  msgid "Left"
1417
  msgstr "Sinistra"
1418
 
1419
- #, fuzzy
1420
- #| msgid "Bottom"
1421
  msgid "Left Bottom"
1422
- msgstr "Sotto"
1423
 
1424
- #, fuzzy
1425
- #| msgid "Center"
1426
  msgid "Left Center"
1427
- msgstr "Centro"
1428
 
1429
- #, fuzzy
1430
- #| msgid "Left"
1431
  msgid "Left Top"
1432
- msgstr "Sinistra"
1433
 
1434
  msgid "Let user switch gallery pages"
1435
  msgstr "Permetti all'utente di cambiare pagine galleria"
@@ -1440,10 +1339,8 @@ msgstr "Cominciamo!"
1440
  msgid "License"
1441
  msgstr "Licenza"
1442
 
1443
- #, fuzzy
1444
- #| msgid "Right"
1445
  msgid "Lightbox"
1446
- msgstr "Destra"
1447
 
1448
  msgid "Line"
1449
  msgstr "Linea"
@@ -1451,10 +1348,8 @@ msgstr "Linea"
1451
  msgid "Link"
1452
  msgstr "Collegamento"
1453
 
1454
- #, fuzzy
1455
- #| msgid "Link"
1456
  msgid "Link icon"
1457
- msgstr "Collegamento"
1458
 
1459
  msgid "Linked Images"
1460
  msgstr "Immagini Collegate"
@@ -1465,10 +1360,8 @@ msgstr "Immagini collegate"
1465
  msgid "Live Chat Plugin"
1466
  msgstr "Live chat plugin"
1467
 
1468
- #, fuzzy
1469
- #| msgid "Load More Button"
1470
  msgid "Load More"
1471
- msgstr "Bottone Carica altri"
1472
 
1473
  msgid "Load More Button"
1474
  msgstr "Bottone Carica altri"
@@ -1488,8 +1381,6 @@ msgstr "Carica impostazioni da modello"
1488
  msgid "Load with scroll"
1489
  msgstr "Carica con scorrimento"
1490
 
1491
- #, fuzzy
1492
- #| msgid "Loading"
1493
  msgid "Loader"
1494
  msgstr "Caricamento"
1495
 
@@ -1502,10 +1393,8 @@ msgstr "Caricamento testo"
1502
  msgid "Loading..."
1503
  msgstr "Caricamento..."
1504
 
1505
- #, fuzzy
1506
- #| msgid "Show caption"
1507
  msgid "Location"
1508
- msgstr "Mostra didascalia"
1509
 
1510
  msgid "Login with Facebook"
1511
  msgstr "Accedi con facebook"
@@ -1528,18 +1417,14 @@ msgstr "Margine"
1528
  msgid "Mb"
1529
  msgstr "Mb"
1530
 
1531
- #, fuzzy
1532
- #| msgid "Slider by Supsystic"
1533
  msgid "Membership by Supsystic"
1534
- msgstr "Slider creata da Supsystic"
1535
 
1536
  msgid "Message"
1537
  msgstr "Messaggio"
1538
 
1539
- #, fuzzy
1540
- #| msgid "Center"
1541
  msgid "Middle Center"
1542
- msgstr "Centro"
1543
 
1544
  msgid "Middle Left"
1545
  msgstr "Centro sinistra"
@@ -1639,10 +1524,8 @@ msgstr ""
1639
  msgid "Number of Columns"
1640
  msgstr "Numero di colonne"
1641
 
1642
- #, fuzzy
1643
- #| msgid "Number of Columns"
1644
  msgid "Number of images"
1645
- msgstr "Numero di colonne"
1646
 
1647
  msgid "Number of posts"
1648
  msgstr "Numero di posts"
@@ -1702,10 +1585,8 @@ msgstr "Apri in nuova finestra"
1702
  msgid "Open next slide"
1703
  msgstr "Apri diapositiva successiva"
1704
 
1705
- #, fuzzy
1706
- #| msgid "Animation"
1707
  msgid "Optimization"
1708
- msgstr "Animazione"
1709
 
1710
  msgid "Optimization complete"
1711
  msgstr "Ottimizzazione completata"
@@ -1758,10 +1639,8 @@ msgstr "PHPCode:"
1758
  msgid "PRO option"
1759
  msgstr "Opzioni PRO"
1760
 
1761
- #, fuzzy
1762
- #| msgid "Loading"
1763
  msgid "Paddings"
1764
- msgstr "Caricamento"
1765
 
1766
  msgid "Page "
1767
  msgstr "PAgina"
@@ -1837,15 +1716,11 @@ msgstr "Popup testo immagine"
1837
  msgid "Popup Image size"
1838
  msgstr "Dimesioni popup immagine"
1839
 
1840
- #, fuzzy
1841
- #| msgid "Pop-up Image"
1842
  msgid "Popup Images"
1843
- msgstr "Immagine popup"
1844
 
1845
- #, fuzzy
1846
- #| msgid "Linked Images"
1847
  msgid "Popup Linked Image Text"
1848
- msgstr "Immagini Collegate"
1849
 
1850
  msgid "Popup Plugin"
1851
  msgstr "Popup Plugin"
@@ -1853,10 +1728,8 @@ msgstr "Popup Plugin"
1853
  msgid "Popup box theme"
1854
  msgstr "Tema box popup"
1855
 
1856
- #, fuzzy
1857
- #| msgid "Popup Image size"
1858
  msgid "Popup image icon"
1859
- msgstr "Dimesioni popup immagine"
1860
 
1861
  msgid "Port"
1862
  msgstr "Porta"
@@ -1900,10 +1773,8 @@ msgstr "Anteprima"
1900
  msgid "Preview of Gallery settings"
1901
  msgstr "Anteprima delle impostazioni della galleria"
1902
 
1903
- #, fuzzy
1904
- #| msgid "Preview"
1905
  msgid "Previous"
1906
- msgstr "Anteprima"
1907
 
1908
  msgid "Pricing Table"
1909
  msgstr "Tabella prezzi"
@@ -1944,10 +1815,8 @@ msgstr "Richiedi una nuova funzionalità"
1944
  msgid "Resources are does not exists"
1945
  msgstr "Le risorse non esistono"
1946
 
1947
- #, fuzzy
1948
- #| msgid "Responsive columns"
1949
  msgid "Responsive Mode"
1950
- msgstr "Colonne responsive"
1951
 
1952
  msgid "Responsive columns"
1953
  msgstr "Colonne responsive"
@@ -1961,20 +1830,14 @@ msgstr "Torna alla galleria"
1961
  msgid "Right"
1962
  msgstr "Destra"
1963
 
1964
- #, fuzzy
1965
- #| msgid "Bottom"
1966
  msgid "Right Bottom"
1967
- msgstr "Sotto"
1968
 
1969
- #, fuzzy
1970
- #| msgid "Center"
1971
  msgid "Right Center"
1972
- msgstr "Centro"
1973
 
1974
- #, fuzzy
1975
- #| msgid "Right"
1976
  msgid "Right Top"
1977
- msgstr "Destra"
1978
 
1979
  msgid "Roles"
1980
  msgstr "Ruoli"
@@ -2036,10 +1899,8 @@ msgstr "Seleziona un tema"
2036
  msgid "Select categories"
2037
  msgstr "Seleziona categorie"
2038
 
2039
- #, fuzzy
2040
- #| msgid "Select icons effects"
2041
  msgid "Select clone type"
2042
- msgstr "Seleziona effeto icone"
2043
 
2044
  msgid "Select clone type:"
2045
  msgstr "Seleziona effeto icone"
@@ -2053,15 +1914,11 @@ msgstr "Seleziona effeto icone"
2053
  msgid "Select image on hover"
2054
  msgstr "Seleziona tema \"Big image\" "
2055
 
2056
- #, fuzzy
2057
- #| msgid "Images per page"
2058
  msgid "Select images per page"
2059
- msgstr "Immagini per pagina"
2060
 
2061
- #, fuzzy
2062
- #| msgid "Select effect"
2063
  msgid "Select one icon"
2064
- msgstr "Seleziona effetto"
2065
 
2066
  msgid "Select overlay effect"
2067
  msgstr "Seleziona effetti sovrapposizione"
@@ -2101,7 +1958,7 @@ msgid ""
2101
  "\n"
2102
  " <div id=\"effectDialog\" title=\"{{ translate('Select overlay effect"
2103
  msgstr ""
2104
- "Selected ' ~ name) }}</div>\n"
2105
  "\t\t\t\t\t\t</div>\n"
2106
  " </div>\n"
2107
  " {% endfor %}\n"
@@ -2117,10 +1974,8 @@ msgstr "Invia statistiche utilizzo"
2117
  msgid "Server internal error"
2118
  msgstr "Errore interno server"
2119
 
2120
- #, fuzzy
2121
- #| msgid "Overview"
2122
  msgid "Service"
2123
- msgstr "Descrizione"
2124
 
2125
  msgid "Service data was saved!"
2126
  msgstr "I dati del servizio sono stati salvati!"
@@ -2158,28 +2013,20 @@ msgstr "Impostazione ombra"
2158
  msgid "Shortcode:"
2159
  msgstr "Shortcode:"
2160
 
2161
- #, fuzzy
2162
- #| msgid "Show caption"
2163
  msgid "Show EXIF as caption"
2164
- msgstr "Mostra didascalia"
2165
 
2166
- #, fuzzy
2167
- #| msgid "Show caption"
2168
  msgid "Show EXIF as description"
2169
- msgstr "Mostra didascalia"
2170
 
2171
- #, fuzzy
2172
- #| msgid "Show date"
2173
  msgid "Show EXIF data"
2174
- msgstr "Mostra data"
2175
 
2176
  msgid "Show EXIF on Lightbox image"
2177
  msgstr "Mostra EXIF ​​su immagine lightbox"
2178
 
2179
- #, fuzzy
2180
- #| msgid "Show icons"
2181
  msgid "Show Original"
2182
- msgstr "Mostra icone"
2183
 
2184
  msgid "Show Posts and Pages"
2185
  msgstr "Mostra post e pagine"
@@ -2187,15 +2034,11 @@ msgstr "Mostra post e pagine"
2187
  msgid "Show Previous/Next Arrows"
2188
  msgstr "Show Previous/Next Arrows"
2189
 
2190
- #, fuzzy
2191
- #| msgid "Show date"
2192
  msgid "Show Watermark"
2193
- msgstr "Mostra data"
2194
 
2195
- #, fuzzy
2196
- #| msgid "Show author"
2197
  msgid "Show Watermark for"
2198
- msgstr "Mostra autore"
2199
 
2200
  msgid "Show author"
2201
  msgstr "Mostra autore"
@@ -2221,10 +2064,8 @@ msgstr "Mostra il confronto delle immagini"
2221
  msgid "Show mouse on"
2222
  msgstr "Mostra puntatore sopra"
2223
 
2224
- #, fuzzy
2225
- #| msgid "Show caption"
2226
  msgid "Show options"
2227
- msgstr "Mostra didascalia"
2228
 
2229
  msgid "Show overlay"
2230
  msgstr "Mostra sovrapposizione"
@@ -2263,12 +2104,10 @@ msgid "Social"
2263
  msgstr "Social"
2264
 
2265
  msgid "Social Buttons Project"
2266
- msgstr "Social Buttons Project\""
2267
 
2268
- #, fuzzy
2269
- #| msgid "Load More Button"
2270
  msgid "Social Share Buttons"
2271
- msgstr "Bottone Carica altri"
2272
 
2273
  msgid "Social Sharing"
2274
  msgstr "Condivisione social"
@@ -2305,13 +2144,11 @@ msgstr "Inizio ottimizzazione"
2305
  msgid "Start Transfer"
2306
  msgstr "Inizio trasferimento"
2307
 
2308
- #, fuzzy
2309
- #| msgid "Step-by-step tutorial"
2310
  msgid "Start step-by-step tutorial"
2311
- msgstr "Tutorial passo passo"
2312
 
2313
  msgid "Step-by-step tutorial"
2314
- msgstr "Tutorial passo passo"
2315
 
2316
  msgid "Subject"
2317
  msgstr "Oggetto"
@@ -2345,15 +2182,11 @@ msgstr ""
2345
  msgid "Template: SuperMega"
2346
  msgstr "Template: SuperMega"
2347
 
2348
- #, fuzzy
2349
- #| msgid "Text size"
2350
  msgid "Text"
2351
- msgstr "Dimensione testo"
2352
 
2353
- #, fuzzy
2354
- #| msgid "Text color"
2355
  msgid "Text Highlight Color"
2356
- msgstr "Colore testo"
2357
 
2358
  msgid "Text Highlight Color Transparency"
2359
  msgstr "Testo Evidenzia Colore Trasparenza"
@@ -2423,6 +2256,20 @@ msgid ""
2423
  " {\n"
2424
  " $resourceId = $request->post->get('resources"
2425
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2426
 
2427
  msgid "The title can't be empty"
2428
  msgstr "Il titolo non può essere vuoto"
@@ -2458,10 +2305,8 @@ msgstr "Immagini di anteprima"
2458
  msgid "TinyPNG"
2459
  msgstr "TinyPNG"
2460
 
2461
- #, fuzzy
2462
- #| msgid "Settings"
2463
  msgid "TinyPNG Settings"
2464
- msgstr "Impostazioni"
2465
 
2466
  msgid "Title"
2467
  msgstr "Titolo"
@@ -2496,20 +2341,14 @@ msgstr ""
2496
  msgid "Top"
2497
  msgstr "Sopra"
2498
 
2499
- #, fuzzy
2500
- #| msgid "Center"
2501
  msgid "Top Center"
2502
- msgstr "Centro"
2503
 
2504
- #, fuzzy
2505
- #| msgid "Left"
2506
  msgid "Top Left"
2507
- msgstr "Sinistra"
2508
 
2509
- #, fuzzy
2510
- #| msgid "Right"
2511
  msgid "Top Right"
2512
- msgstr "Destra"
2513
 
2514
  msgid "Topic"
2515
  msgstr "Argomento"
@@ -2517,10 +2356,8 @@ msgstr "Argomento"
2517
  msgid "Total Images"
2518
  msgstr "Immagini totali:"
2519
 
2520
- #, fuzzy
2521
- #| msgid "Total Images: "
2522
  msgid "Total Saving:"
2523
- msgstr "Immagini totali:"
2524
 
2525
  msgid "Total Size"
2526
  msgstr "Dimensione totale"
@@ -2528,10 +2365,8 @@ msgstr "Dimensione totale"
2528
  msgid "Total images"
2529
  msgstr "Immagini totali:"
2530
 
2531
- #, fuzzy
2532
- #| msgid "Font size"
2533
  msgid "Total size"
2534
- msgstr "Dimensione carattere"
2535
 
2536
  msgid "Total size after"
2537
  msgstr "Dimensione totale dopo"
@@ -2545,15 +2380,11 @@ msgstr "Touch Scroll Step"
2545
  msgid "Tranfer images to CDN"
2546
  msgstr "Trasferire le immagini su CDN"
2547
 
2548
- #, fuzzy
2549
- #| msgid "New Gallery"
2550
  msgid "Transfer Gallery to"
2551
- msgstr "Nuova Galleria"
2552
 
2553
- #, fuzzy
2554
- #| msgid "Position updated successfully!"
2555
  msgid "Transfer completed successfully!"
2556
- msgstr "Posizione modificata con successo!"
2557
 
2558
  msgid "Transfer ending with errors!"
2559
  msgstr "Trasferimento terminato con errori!"
@@ -2570,10 +2401,8 @@ msgstr "Trasferisci a"
2570
  msgid "Transfer to CDN"
2571
  msgstr "Trasferisci a CND"
2572
 
2573
- #, fuzzy
2574
- #| msgid "Transparency"
2575
  msgid "Transfered"
2576
- msgstr "Trasparenza"
2577
 
2578
  msgid "Transparency"
2579
  msgstr "Trasparenza"
@@ -2599,10 +2428,8 @@ msgstr "Galleria senza nome"
2599
  msgid "Upload"
2600
  msgstr "Carica"
2601
 
2602
- #, fuzzy
2603
- #| msgid "Upload new images"
2604
  msgid "Upload Image"
2605
- msgstr "Carica nuove immagini"
2606
 
2607
  msgid "Upload from Flickr"
2608
  msgstr "Carica da Flickr"
@@ -2664,10 +2491,8 @@ msgstr "Video tutorial"
2664
  msgid "Video URL"
2665
  msgstr "Video URL"
2666
 
2667
- #, fuzzy
2668
- #| msgid "Video size"
2669
  msgid "Video icon"
2670
- msgstr "Dimensione video"
2671
 
2672
  msgid "Video size"
2673
  msgstr "Dimensione video"
@@ -2814,10 +2639,8 @@ msgstr "http://example.com/"
2814
  msgid "image"
2815
  msgstr "immagine"
2816
 
2817
- #, fuzzy
2818
- #| msgid "Images"
2819
  msgid "images"
2820
- msgstr "Immagini"
2821
 
2822
  msgid "images (preview and original images)"
2823
  msgstr "immagini (anteprima e immagine originale"
@@ -2843,10 +2666,8 @@ msgstr "prev"
2843
  msgid "previous"
2844
  msgstr "precedente"
2845
 
2846
- #, fuzzy
2847
- #| msgid "Overview"
2848
  msgid "service"
2849
- msgstr "Descrizione"
2850
 
2851
  msgid "start slideshow"
2852
  msgstr "Inizia slideshow"
@@ -2862,8 +2683,6 @@ msgstr ""
2862
  "galleria, e vedrai la lista con i progetti social disponibili per la tua "
2863
  "galleria."
2864
 
2865
- #, fuzzy
2866
- #| msgid "Website"
2867
  msgid "website"
2868
  msgstr "Sito web"
2869
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.2.1\n"
13
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
 
15
  msgid " Mb "
229
  msgid "Animation"
230
  msgstr "Animazione"
231
 
 
 
232
  msgid "Animation Effect"
233
+ msgstr "Effetto animazione"
234
 
 
 
235
  msgid "Animation Effects"
236
+ msgstr "Effetti animazione"
237
 
238
  msgid "Animation duration"
239
  msgstr "Durata dell'animazione"
240
 
 
 
241
  msgid "Animation start"
242
+ msgstr "Inizio animazione"
243
 
244
  msgid "Another Service"
245
  msgstr "Servizio alternativo"
253
  msgid "Apply"
254
  msgstr "Applica"
255
 
 
 
256
  msgid "Apply to all images"
257
+ msgstr "Applica a tutte le nuove immagini"
258
 
259
  msgid "Are you really want to delete preset \"%s\"?"
260
  msgstr "Sei sicuro di voler cancellare l'impostazione \"%s\"?"
280
  msgstr "Autorizzazione oauth_verifier non specificata"
281
 
282
  msgid "Auto Posts Categories"
283
+ msgstr "Auto Posts Categorie"
284
 
285
  msgid "Auto posts"
286
  msgstr "Auto posts"
289
  msgstr "Auto, Did not fire"
290
 
291
  msgid "Auto, Did not fire, Red-eye reduction"
292
+ msgstr "Auto, Did not fire, riduzione occhi rossi"
293
 
294
  msgid "Auto, Fired"
295
  msgstr "Auto, Fired"
296
 
297
  msgid "Auto, Fired, Red-eye reduction"
298
+ msgstr "Auto, Fired, riduzione occhi rossi"
299
 
 
 
300
  msgid "Auto, Fired, Red-eye reduction, Return detected"
301
+ msgstr "Auto, Fired, riduzione occhi rossi, ritorno trovato"
302
 
303
  msgid "Auto, Fired, Red-eye reduction, Return not detected"
304
+ msgstr "Auto, Fired, riduzione occhi rossi, ritorno non trovato"
305
 
306
  msgid "Auto, Fired, Return detected"
307
+ msgstr "Auto, Fired, ritorno trovato"
308
 
309
  msgid "Auto, Fired, Return not detected"
310
+ msgstr "Auto, Fired, ritorno non trovato"
311
 
312
  msgid "Autoplay video"
313
  msgstr "Video autoplay"
324
  msgid "Back to the gallery"
325
  msgstr "Torna alla galleria"
326
 
 
 
327
  msgid "Background"
328
+ msgstr "sfondo"
329
 
 
 
330
  msgid "Background Transparency"
331
+ msgstr "Trasparenza sfondo"
332
 
333
  msgid "Background color"
334
  msgstr "Colore sfondo"
335
 
 
336
  msgid "Background color for \"Show on hover\""
337
+ msgstr "Colore sfondo 'mostra al puntatore sopra'"
338
 
339
  msgid "Background hover color"
340
  msgstr "Colore sfondo puntatore sopra"
341
 
 
 
342
  msgid "Background transparency"
343
+ msgstr "Trasparenza sfondo"
344
 
345
  msgid "Backup Images Source"
346
  msgstr "Backup immagini sorgente"
396
  msgid "Bottom"
397
  msgstr "Sotto"
398
 
 
 
399
  msgid "Bottom Center"
400
+ msgstr "In basso al centro"
401
 
 
 
402
  msgid "Bottom Left"
403
+ msgstr "In basso a sinistra"
404
 
 
 
405
  msgid "Bottom Right"
406
+ msgstr "In basso a destra"
407
 
 
 
408
  msgid "Buttons"
409
+ msgstr "Pulsanti"
410
 
411
  msgid "Buttons align"
412
  msgstr "Allineamento pulsanti"
413
 
414
  msgid "Buttons position"
415
+ msgstr "Posizione pulsanti"
416
 
417
  msgid "Buttons preset editor for Paginations, Categories and Load More buttons"
418
  msgstr ""
419
+ "Pulsante modifica modello per Paginazione, Categorie e pulsante Carica altri"
420
 
421
  msgid "Camera"
422
  msgstr "Fotocamera"
472
  msgid "Center"
473
  msgstr "Centro"
474
 
 
 
475
  msgid "Center Center"
476
+ msgstr "Al centro in centro"
477
 
478
  msgid "Change Details"
479
  msgstr "Cambia dettagli"
481
  msgid "Check all other FAQs"
482
  msgstr "Controlla gli altri FAQs"
483
 
 
 
484
  msgid "Choose"
485
+ msgstr "Scegli"
486
 
487
  msgid "Choose Gallery Template."
488
  msgstr "Scegli il template della galleria."
489
 
 
 
 
 
490
  msgid ""
491
  "Choose Gallery Template. You can change template and settings on the next "
492
  "step."
493
  msgstr ""
494
+ "Scegli il template della galleria. Puoi cambiare template e impostazioni nel "
495
  "passaggio successivo."
496
 
497
  msgid "Choose Icon"
503
  msgid "Choose icon"
504
  msgstr "Scegli icona"
505
 
 
 
506
  msgid "Choose image"
507
+ msgstr "Scegli immagine"
508
 
509
  msgid "Choose images"
510
  msgstr "Scegli immagini"
527
  msgid "Clone type parameter is incorrect"
528
  msgstr "Il parametro del tipo di clone non è corretto"
529
 
 
 
530
  msgid "Clone with images"
531
+ msgstr "Clona con le immagini"
532
 
 
 
533
  msgid "Clone without images"
534
+ msgstr "Clona senza le immagini"
535
 
536
  msgid "Cloned "
537
  msgstr "Clonato"
639
  msgstr "Al momento non hai preipostazioni."
640
 
641
  msgid "Custom Buttons"
642
+ msgstr "Pulsanti personalizzati"
643
 
644
  msgid "Custom class"
645
  msgstr "Classe personalizzata"
650
  msgid "Date"
651
  msgstr "Data"
652
 
 
 
653
  msgid "Delay for"
654
+ msgstr "Ritardo per"
655
 
656
  msgid "Delete Image"
657
  msgstr "Cancella immagine"
687
  msgid "Disable browser history"
688
  msgstr "Disabilita storia del broswer"
689
 
 
 
690
  msgid "Disable captions on mobile"
691
+ msgstr "disabilita didascalia su mobile"
692
 
693
  msgid "Disable on mobile"
694
  msgstr "Disabilita su mobile"
699
  msgid "Disable source image for Linked Images"
700
  msgstr "Disabilita immagine sorgente per collegamenti immagine"
701
 
 
 
702
  msgid "Disable title optimize"
703
+ msgstr "Disabilita ottimizzazione titolo"
704
 
 
 
705
  msgid "Display all images"
706
+ msgstr "Mostra tutte le immagini"
707
 
708
  msgid ""
709
  "Display custom Google Maps. Set markers and locations with text, images, "
810
  msgid "Enter your username"
811
  msgstr "Inserisci il tuo username"
812
 
 
 
813
  msgid "Error occurred"
814
  msgstr "Si è verificato un errore"
815
 
816
  msgid "Error occurred!"
817
+ msgstr "Si è verificato un errore!"
818
 
819
  msgid "Error ocured. Optimize process stopped!"
820
  msgstr "C'è stato un'errore. Ottimizzazione del processo si è fermato!"
834
  msgid "Expand"
835
  msgstr "Espandi"
836
 
 
 
837
  msgid "Expand the image"
838
+ msgstr "Ingrandisci immagine"
839
 
840
  msgid "Exposure Bias"
841
  msgstr "Compensazione dell'esposizione"
888
  msgid "Fired, Return not detected"
889
  msgstr "Fired, Return not detected"
890
 
 
 
891
  msgid "First"
892
  msgstr "Primo passo"
893
 
912
  msgid "Folder name:"
913
  msgstr "Nome cartella:"
914
 
 
 
915
  msgid "Font"
916
  msgstr "Dimensione carattere"
917
 
921
  msgid "Font size"
922
  msgstr "Dimensione carattere"
923
 
 
 
924
  msgid "Font style"
925
+ msgstr "Stile carattere"
926
 
927
  msgid "Font weight"
928
  msgstr "Spessore carattere"
963
  msgid "Gallery by Supsystic"
964
  msgstr "Galleria creata da Supsystic"
965
 
 
 
966
  msgid "Gallery clone error"
967
+ msgstr "Errore clonazione galleria"
968
 
969
  msgid ""
970
  "Gallery doesn’t load on the front end. If the loading gallery icon just "
1067
  msgid "Hide image title tooltip"
1068
  msgstr "Nascondi il tooltip titolo immagine"
1069
 
 
 
1070
  msgid "Hide long titles"
1071
+ msgstr "Nascondi titoli lunghi"
1072
 
1073
  msgid "Hide mouse on"
1074
  msgstr "Nascondi puntatore sopra"
1079
  msgid "Hope you will come back!"
1080
  msgstr "Spero che tornerai"
1081
 
 
 
1082
  msgid "Horizontal (normal)"
1083
+ msgstr "Orizzontale (normale)"
1084
 
1085
  msgid "Horizontal Scroll"
1086
  msgstr "Scorrimento orizzontale"
1106
  msgid "I no longer need the plugin"
1107
  msgstr "Non ho più bisogno del plugin"
1108
 
 
 
1109
  msgid "ISO"
1110
  msgstr "SEO"
1111
 
 
 
1112
  msgid "Icon entry type"
1113
+ msgstr "Inserimento tipo icona"
1114
 
 
 
1115
  msgid "Icons"
1116
+ msgstr "Icone"
1117
 
 
 
1118
  msgid "Icons Transparency"
1119
+ msgstr "Trasparenza icone"
1120
 
1121
  msgid "Icons color"
1122
  msgstr "Colore icone"
1147
  msgid "Image"
1148
  msgstr "Immagine"
1149
 
 
 
1150
  msgid "Image Count"
1151
+ msgstr "Numero immagine"
1152
 
 
 
1153
  msgid "Image Count Text"
1154
+ msgstr "Conteggio testo immagine"
1155
 
 
 
1156
  msgid "Image Editor"
1157
+ msgstr "Editor immagine"
1158
 
1159
  msgid "Image List"
1160
  msgstr "Lista immagini"
1161
 
 
 
1162
  msgid "Image Load"
1163
+ msgstr "Carica immagine"
1164
 
 
 
1165
  msgid "Image Optimization"
1166
+ msgstr "Ottimizzazione immagine"
1167
 
 
 
1168
  msgid "Image Optimize"
1169
+ msgstr "Ottimizza immagine"
1170
 
1171
  msgid "Image Sharing"
1172
  msgstr "Condivisione immagini"
1177
  msgid "Image height"
1178
  msgstr "Altezza immagine"
1179
 
 
 
1180
  msgid "Image on hover"
1181
+ msgstr "Immagine al passaggio del mouse"
1182
 
 
 
1183
  msgid "Image optimization"
1184
+ msgstr "Ottimizzazione immagine"
1185
 
1186
  msgid "Image radius"
1187
  msgstr "Rotondità angoli immagine"
1198
  msgid "Images Import Options"
1199
  msgstr "Opzioni di importo immagini"
1200
 
 
 
1201
  msgid "Images Optimization"
1202
+ msgstr "Ottimizzazione immagini"
1203
 
1204
  msgid "Images amount"
1205
  msgstr "Numero immagini"
1206
 
 
 
1207
  msgid "Images count"
1208
  msgstr "Numero immagini"
1209
 
1303
  msgid "KeyCDN"
1304
  msgstr "KeyCDN"
1305
 
 
 
1306
  msgid "KeyCDN Settings"
1307
+ msgstr "Impostazioni KeyCDN"
1308
 
1309
  msgid "Last"
1310
  msgstr "Ultime"
1312
  msgid "Last 24 hours"
1313
  msgstr "Ultime 24 ore"
1314
 
 
 
1315
  msgid "Lazy Load"
1316
  msgstr "Caricatore galleria"
1317
 
1318
  msgid "LazyLoad"
1319
+ msgstr "Caricatore galleria"
1320
 
1321
  msgid "Left"
1322
  msgstr "Sinistra"
1323
 
 
 
1324
  msgid "Left Bottom"
1325
+ msgstr "In basso a sinistra"
1326
 
 
 
1327
  msgid "Left Center"
1328
+ msgstr "A sinistra al centro"
1329
 
 
 
1330
  msgid "Left Top"
1331
+ msgstr "In alto a sinistra"
1332
 
1333
  msgid "Let user switch gallery pages"
1334
  msgstr "Permetti all'utente di cambiare pagine galleria"
1339
  msgid "License"
1340
  msgstr "Licenza"
1341
 
 
 
1342
  msgid "Lightbox"
1343
+ msgstr "Lightbox"
1344
 
1345
  msgid "Line"
1346
  msgstr "Linea"
1348
  msgid "Link"
1349
  msgstr "Collegamento"
1350
 
 
 
1351
  msgid "Link icon"
1352
+ msgstr "Icona collegamento"
1353
 
1354
  msgid "Linked Images"
1355
  msgstr "Immagini Collegate"
1360
  msgid "Live Chat Plugin"
1361
  msgstr "Live chat plugin"
1362
 
 
 
1363
  msgid "Load More"
1364
+ msgstr "Carica altri"
1365
 
1366
  msgid "Load More Button"
1367
  msgstr "Bottone Carica altri"
1381
  msgid "Load with scroll"
1382
  msgstr "Carica con scorrimento"
1383
 
 
 
1384
  msgid "Loader"
1385
  msgstr "Caricamento"
1386
 
1393
  msgid "Loading..."
1394
  msgstr "Caricamento..."
1395
 
 
 
1396
  msgid "Location"
1397
+ msgstr "Luogo"
1398
 
1399
  msgid "Login with Facebook"
1400
  msgstr "Accedi con facebook"
1417
  msgid "Mb"
1418
  msgstr "Mb"
1419
 
 
 
1420
  msgid "Membership by Supsystic"
1421
+ msgstr "Membership di Supsystic"
1422
 
1423
  msgid "Message"
1424
  msgstr "Messaggio"
1425
 
 
 
1426
  msgid "Middle Center"
1427
+ msgstr "Centro in mezzo"
1428
 
1429
  msgid "Middle Left"
1430
  msgstr "Centro sinistra"
1524
  msgid "Number of Columns"
1525
  msgstr "Numero di colonne"
1526
 
 
 
1527
  msgid "Number of images"
1528
+ msgstr "Numero di immagini"
1529
 
1530
  msgid "Number of posts"
1531
  msgstr "Numero di posts"
1585
  msgid "Open next slide"
1586
  msgstr "Apri diapositiva successiva"
1587
 
 
 
1588
  msgid "Optimization"
1589
+ msgstr "Ottimizzazione"
1590
 
1591
  msgid "Optimization complete"
1592
  msgstr "Ottimizzazione completata"
1639
  msgid "PRO option"
1640
  msgstr "Opzioni PRO"
1641
 
 
 
1642
  msgid "Paddings"
1643
+ msgstr "Imbottiture"
1644
 
1645
  msgid "Page "
1646
  msgstr "PAgina"
1716
  msgid "Popup Image size"
1717
  msgstr "Dimesioni popup immagine"
1718
 
 
 
1719
  msgid "Popup Images"
1720
+ msgstr "Popup immagini"
1721
 
 
 
1722
  msgid "Popup Linked Image Text"
1723
+ msgstr "Link testo immagini popup"
1724
 
1725
  msgid "Popup Plugin"
1726
  msgstr "Popup Plugin"
1728
  msgid "Popup box theme"
1729
  msgstr "Tema box popup"
1730
 
 
 
1731
  msgid "Popup image icon"
1732
+ msgstr "Dimensioni popup icona"
1733
 
1734
  msgid "Port"
1735
  msgstr "Porta"
1773
  msgid "Preview of Gallery settings"
1774
  msgstr "Anteprima delle impostazioni della galleria"
1775
 
 
 
1776
  msgid "Previous"
1777
+ msgstr "Precedente"
1778
 
1779
  msgid "Pricing Table"
1780
  msgstr "Tabella prezzi"
1815
  msgid "Resources are does not exists"
1816
  msgstr "Le risorse non esistono"
1817
 
 
 
1818
  msgid "Responsive Mode"
1819
+ msgstr "Modo responsive"
1820
 
1821
  msgid "Responsive columns"
1822
  msgstr "Colonne responsive"
1830
  msgid "Right"
1831
  msgstr "Destra"
1832
 
 
 
1833
  msgid "Right Bottom"
1834
+ msgstr "A destra in basso"
1835
 
 
 
1836
  msgid "Right Center"
1837
+ msgstr "Al centro a destra"
1838
 
 
 
1839
  msgid "Right Top"
1840
+ msgstr "In alto a destra"
1841
 
1842
  msgid "Roles"
1843
  msgstr "Ruoli"
1899
  msgid "Select categories"
1900
  msgstr "Seleziona categorie"
1901
 
 
 
1902
  msgid "Select clone type"
1903
+ msgstr "Seleziona tipo clonazione"
1904
 
1905
  msgid "Select clone type:"
1906
  msgstr "Seleziona effeto icone"
1914
  msgid "Select image on hover"
1915
  msgstr "Seleziona tema \"Big image\" "
1916
 
 
 
1917
  msgid "Select images per page"
1918
+ msgstr "Seleziona immagini per pagina"
1919
 
 
 
1920
  msgid "Select one icon"
1921
+ msgstr "Seleziona una icona"
1922
 
1923
  msgid "Select overlay effect"
1924
  msgstr "Seleziona effetti sovrapposizione"
1958
  "\n"
1959
  " <div id=\"effectDialog\" title=\"{{ translate('Select overlay effect"
1960
  msgstr ""
1961
+ "Selezionato ' ~ name) }}</div>\n"
1962
  "\t\t\t\t\t\t</div>\n"
1963
  " </div>\n"
1964
  " {% endfor %}\n"
1974
  msgid "Server internal error"
1975
  msgstr "Errore interno server"
1976
 
 
 
1977
  msgid "Service"
1978
+ msgstr "Servizio"
1979
 
1980
  msgid "Service data was saved!"
1981
  msgstr "I dati del servizio sono stati salvati!"
2013
  msgid "Shortcode:"
2014
  msgstr "Shortcode:"
2015
 
 
 
2016
  msgid "Show EXIF as caption"
2017
+ msgstr "Mostra EXIF come didascalia"
2018
 
 
 
2019
  msgid "Show EXIF as description"
2020
+ msgstr "Mostra EXIF come descrizione "
2021
 
 
 
2022
  msgid "Show EXIF data"
2023
+ msgstr "Mostra data EXIF"
2024
 
2025
  msgid "Show EXIF on Lightbox image"
2026
  msgstr "Mostra EXIF ​​su immagine lightbox"
2027
 
 
 
2028
  msgid "Show Original"
2029
+ msgstr "Mostra originale"
2030
 
2031
  msgid "Show Posts and Pages"
2032
  msgstr "Mostra post e pagine"
2034
  msgid "Show Previous/Next Arrows"
2035
  msgstr "Show Previous/Next Arrows"
2036
 
 
 
2037
  msgid "Show Watermark"
2038
+ msgstr "Mostra autore"
2039
 
 
 
2040
  msgid "Show Watermark for"
2041
+ msgstr "Mostra autore per"
2042
 
2043
  msgid "Show author"
2044
  msgstr "Mostra autore"
2064
  msgid "Show mouse on"
2065
  msgstr "Mostra puntatore sopra"
2066
 
 
 
2067
  msgid "Show options"
2068
+ msgstr "Mostra opzioni"
2069
 
2070
  msgid "Show overlay"
2071
  msgstr "Mostra sovrapposizione"
2104
  msgstr "Social"
2105
 
2106
  msgid "Social Buttons Project"
2107
+ msgstr "Progetto Pulsante Social"
2108
 
 
 
2109
  msgid "Social Share Buttons"
2110
+ msgstr "Pulsante Carica altri"
2111
 
2112
  msgid "Social Sharing"
2113
  msgstr "Condivisione social"
2144
  msgid "Start Transfer"
2145
  msgstr "Inizio trasferimento"
2146
 
 
 
2147
  msgid "Start step-by-step tutorial"
2148
+ msgstr "Inizia tutorial passo per passo"
2149
 
2150
  msgid "Step-by-step tutorial"
2151
+ msgstr "Tutorial passo per passo"
2152
 
2153
  msgid "Subject"
2154
  msgstr "Oggetto"
2182
  msgid "Template: SuperMega"
2183
  msgstr "Template: SuperMega"
2184
 
 
 
2185
  msgid "Text"
2186
+ msgstr "Testo"
2187
 
 
 
2188
  msgid "Text Highlight Color"
2189
+ msgstr "Colore del testo evidenziato"
2190
 
2191
  msgid "Text Highlight Color Transparency"
2192
  msgstr "Testo Evidenzia Colore Trasparenza"
2256
  " {\n"
2257
  " $resourceId = $request->post->get('resources"
2258
  msgstr ""
2259
+ "Le risorse sono state incluse con successo a '.$gallery->title),\n"
2260
+ "\t\t\t\t'galleryId' => (int)$gallery->id,\n"
2261
+ "\t\t\t\t'redirectUrl' => $this->getEnvironment()->generateUrl(\n"
2262
+ "\t\t\t\t\t'galleries',\n"
2263
+ "\t\t\t\t\t'view',\n"
2264
+ "\t\t\t\t\tarray('gallery_id' => $gallery->id)\n"
2265
+ "\t\t\t\t)\n"
2266
+ "\t\t\t)\n"
2267
+ "\t\t);\n"
2268
+ " }\n"
2269
+ "\n"
2270
+ " public function chooseAction(Rsc_Http_Request $request)\n"
2271
+ " {\n"
2272
+ " $resourceId = $request->post->get('resources"
2273
 
2274
  msgid "The title can't be empty"
2275
  msgstr "Il titolo non può essere vuoto"
2305
  msgid "TinyPNG"
2306
  msgstr "TinyPNG"
2307
 
 
 
2308
  msgid "TinyPNG Settings"
2309
+ msgstr "Impostazioni TinyPNG"
2310
 
2311
  msgid "Title"
2312
  msgstr "Titolo"
2341
  msgid "Top"
2342
  msgstr "Sopra"
2343
 
 
 
2344
  msgid "Top Center"
2345
+ msgstr "In alto al centro"
2346
 
 
 
2347
  msgid "Top Left"
2348
+ msgstr "In alto a sinistra"
2349
 
 
 
2350
  msgid "Top Right"
2351
+ msgstr "In alto a destra"
2352
 
2353
  msgid "Topic"
2354
  msgstr "Argomento"
2356
  msgid "Total Images"
2357
  msgstr "Immagini totali:"
2358
 
 
 
2359
  msgid "Total Saving:"
2360
+ msgstr "Risparmio totale:"
2361
 
2362
  msgid "Total Size"
2363
  msgstr "Dimensione totale"
2365
  msgid "Total images"
2366
  msgstr "Immagini totali:"
2367
 
 
 
2368
  msgid "Total size"
2369
+ msgstr "Dimensione totale"
2370
 
2371
  msgid "Total size after"
2372
  msgstr "Dimensione totale dopo"
2380
  msgid "Tranfer images to CDN"
2381
  msgstr "Trasferire le immagini su CDN"
2382
 
 
 
2383
  msgid "Transfer Gallery to"
2384
+ msgstr "trasferire alla galleria a"
2385
 
 
 
2386
  msgid "Transfer completed successfully!"
2387
+ msgstr "Trasferimento completato con successo!"
2388
 
2389
  msgid "Transfer ending with errors!"
2390
  msgstr "Trasferimento terminato con errori!"
2401
  msgid "Transfer to CDN"
2402
  msgstr "Trasferisci a CND"
2403
 
 
 
2404
  msgid "Transfered"
2405
+ msgstr "trasferito"
2406
 
2407
  msgid "Transparency"
2408
  msgstr "Trasparenza"
2428
  msgid "Upload"
2429
  msgstr "Carica"
2430
 
 
 
2431
  msgid "Upload Image"
2432
+ msgstr "Carica immagini"
2433
 
2434
  msgid "Upload from Flickr"
2435
  msgstr "Carica da Flickr"
2491
  msgid "Video URL"
2492
  msgstr "Video URL"
2493
 
 
 
2494
  msgid "Video icon"
2495
+ msgstr "Icona video"
2496
 
2497
  msgid "Video size"
2498
  msgstr "Dimensione video"
2639
  msgid "image"
2640
  msgstr "immagine"
2641
 
 
 
2642
  msgid "images"
2643
+ msgstr "immagini"
2644
 
2645
  msgid "images (preview and original images)"
2646
  msgstr "immagini (anteprima e immagine originale"
2666
  msgid "previous"
2667
  msgstr "precedente"
2668
 
 
 
2669
  msgid "service"
2670
+ msgstr "servizio"
2671
 
2672
  msgid "start slideshow"
2673
  msgstr "Inizia slideshow"
2683
  "galleria, e vedrai la lista con i progetti social disponibili per la tua "
2684
  "galleria."
2685
 
 
 
2686
  msgid "website"
2687
  msgstr "Sito web"
2688
 
app/templates/grid-gallery.twig CHANGED
@@ -11,7 +11,7 @@
11
  <div class="supsystic-plugin{% if pageOptions.isSettingPage == 1 %} {{ ' sgg-setting-page' }} {% endif %}">
12
  {% block header %}
13
  <div class="supsystic-breadcrumbs">
14
- Gallery by Supsystic
15
  </div>
16
  {% endblock %}
17
  <section class="supsystic-content">
@@ -131,6 +131,7 @@
131
  </ul>
132
  </nav>
133
  <div class="supsystic-container supsystic-item supsystic-panel" {% if request.query.module == 'galleries' %}style="min-height: 500px"{% endif %}>
 
134
  {% block preview %}{% endblock %}
135
  {% block content %}{% endblock %}
136
  <div class="clear"></div>
11
  <div class="supsystic-plugin{% if pageOptions.isSettingPage == 1 %} {{ ' sgg-setting-page' }} {% endif %}">
12
  {% block header %}
13
  <div class="supsystic-breadcrumbs">
14
+ Galleries
15
  </div>
16
  {% endblock %}
17
  <section class="supsystic-content">
131
  </ul>
132
  </nav>
133
  <div class="supsystic-container supsystic-item supsystic-panel" {% if request.query.module == 'galleries' %}style="min-height: 500px"{% endif %}>
134
+ {{ environment.getDispatcher().dispatch('messages') }}
135
  {% block preview %}{% endblock %}
136
  {% block content %}{% endblock %}
137
  <div class="clear"></div>
index.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * Plugin Name: Photo Gallery by Supsystic
5
  * Description: Easy to use Gallery by Supsystic with professional gallery templates. Show off your best design, photography and creative work
6
- * Version: 1.13.1
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: grid-gallery
@@ -11,5 +11,5 @@
11
 
12
  require_once dirname(__FILE__) . '/app/SupsysticGallery.php';
13
 
14
- $supsysticGallery = new SupsysticGallery('1.13.1');
15
  $supsysticGallery->run();
3
  /**
4
  * Plugin Name: Photo Gallery by Supsystic
5
  * Description: Easy to use Gallery by Supsystic with professional gallery templates. Show off your best design, photography and creative work
6
+ * Version: 1.13.5
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: grid-gallery
11
 
12
  require_once dirname(__FILE__) . '/app/SupsysticGallery.php';
13
 
14
+ $supsysticGallery = new SupsysticGallery('1.13.5');
15
  $supsysticGallery->run();
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: supsystic.com
3
  Donate link: https://supsystic.com/plugins/gallery
4
  Tags: gallery, wordpress gallery plugin, photo gallery, grid gallery, image gallery, video gallery, responsive gallery, polaroid gallery
5
- Tested up to: 5.1.1
6
- Stable tag: 1.13.1
7
 
8
  Photo Gallery with template editor to build amazing media gallery. Responsive mobile gallery with grid, masonry, carousel, polaroid and more gallery
9
 
@@ -171,8 +171,36 @@ Add watermark on each image in your gallery and you protect your photos from the
171
  14. Photo gallery plugin admin area. Captions and Icons tab. Create impressive gallery with icons and fantastic caption effect.
172
  == Changelog ==
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  = Gallery 1.13.1 / 25.02.2019 =
175
- * inor issues fixes
176
  * Code review
177
 
178
  = Gallery 1.13.0 / 20.02.2019 =
2
  Contributors: supsystic.com
3
  Donate link: https://supsystic.com/plugins/gallery
4
  Tags: gallery, wordpress gallery plugin, photo gallery, grid gallery, image gallery, video gallery, responsive gallery, polaroid gallery
5
+ Tested up to: 5.2
6
+ Stable tag: 1.13.5
7
 
8
  Photo Gallery with template editor to build amazing media gallery. Responsive mobile gallery with grid, masonry, carousel, polaroid and more gallery
9
 
171
  14. Photo gallery plugin admin area. Captions and Icons tab. Create impressive gallery with icons and fantastic caption effect.
172
  == Changelog ==
173
 
174
+ = Gallery 1.13.5 / 13.05.2019 =
175
+ * Fix for personal hover and lazyload
176
+ * Fix caption margin
177
+ * Added save only links for Google drive
178
+ * Added mimeType=image/gif for Google drive import
179
+ * Fix for Horizontal scroll on mobile devices
180
+ * Minor issues fixes
181
+
182
+ = Gallery 1.13.4 / 23.04.2019 =
183
+ * Fix: Fix load more bug
184
+ * Fix: Fix for horizontal scroll
185
+ * Fix: Fixed polaroid style
186
+ * Minor issues fixes
187
+
188
+ = Gallery 1.13.3 / 01.04.2019 =
189
+ * Google fonts fix for old Pro versions
190
+ * Minor issues fixes
191
+
192
+ = Gallery 1.13.2 / 27.03.2019 =
193
+ * Added option Flexible Height for categories
194
+ * Updated IT translation
195
+ * Moved big ad files to cdn server
196
+ * Fix translation FR
197
+ * Add link to Video documentation
198
+ * Added effects to Lazyload
199
+ * Remove Google Font Loader
200
+ * Minor issues fixes
201
+
202
  = Gallery 1.13.1 / 25.02.2019 =
203
+ * Minor issues fixes
204
  * Code review
205
 
206
  = Gallery 1.13.0 / 20.02.2019 =
src/GridGallery/Colorbox/jquery-colorbox/jquery.colorbox.js CHANGED
@@ -90,7 +90,8 @@
90
  },
91
  title: function () {
92
  return this.title;
93
- }
 
94
  },
95
 
96
 
@@ -554,7 +555,8 @@
554
 
555
  // Don't do anything if Colorbox already exists.
556
  if ($.colorbox) {
557
- return;
 
558
  }
559
 
560
  // Append the HTML when the DOM loads
90
  },
91
  title: function () {
92
  return this.title;
93
+ },
94
+ supsysticGallery: true
95
  },
96
 
97
 
555
 
556
  // Don't do anything if Colorbox already exists.
557
  if ($.colorbox) {
558
+ if(typeof $.colorbox.settings.supsysticGallery != 'undefined') return;
559
+ $.colorbox = null;
560
  }
561
 
562
  // Append the HTML when the DOM loads
src/GridGallery/Core/Module.php CHANGED
@@ -35,7 +35,6 @@ class GridGallery_Core_Module extends Rsc_Mvc_Module
35
  add_filter('gg_hooks_prefix', array($this, 'addHooksPrefix'), 10, 1);
36
  add_action('init', array($this, 'registerTwigFunctions'), 10, 1);
37
  }
38
-
39
  /**
40
  * Adds the plugin's hooks prefix to the hook name
41
  *
@@ -84,6 +83,9 @@ class GridGallery_Core_Module extends Rsc_Mvc_Module
84
  {
85
  return plugin_dir_url($this->getEnvironment()->getPluginPath() . '/index.php') . '/' . $path;
86
  }
 
 
 
87
 
88
  public function registerTwigFunctions()
89
  {
35
  add_filter('gg_hooks_prefix', array($this, 'addHooksPrefix'), 10, 1);
36
  add_action('init', array($this, 'registerTwigFunctions'), 10, 1);
37
  }
 
38
  /**
39
  * Adds the plugin's hooks prefix to the hook name
40
  *
83
  {
84
  return plugin_dir_url($this->getEnvironment()->getPluginPath() . '/index.php') . '/' . $path;
85
  }
86
+ public function getCdnUrl() {
87
+ return (is_ssl() ? 'https' : 'http').'://supsystic-42d7.kxcdn.com/';
88
+ }
89
 
90
  public function registerTwigFunctions()
91
  {
src/GridGallery/Featuredplugins/views/index.twig CHANGED
@@ -3,8 +3,8 @@
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
7
- <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Featured Plugins') }}</a>
9
  </nav>
10
 
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
7
+ {#<i class="fa fa-angle-right"></i>#}
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Featured Plugins') }}</a>
9
  </nav>
10
 
src/GridGallery/Galleries/Attachment.php CHANGED
@@ -159,7 +159,11 @@ class GridGallery_Galleries_Attachment
159
  */
160
  public function getMetadata($attachmentId)
161
  {
162
- return wp_prepare_attachment_for_js($attachmentId);
 
 
 
 
163
  }
164
 
165
  /**
159
  */
160
  public function getMetadata($attachmentId)
161
  {
162
+ $data = wp_prepare_attachment_for_js($attachmentId);
163
+ if(substr($data['url'], 0, 1) == '/') {
164
+ $data['url'] = get_site_url().$data['url'];
165
+ }
166
+ return $data;
167
  }
168
 
169
  /**
src/GridGallery/Galleries/Controller.php CHANGED
@@ -1254,6 +1254,9 @@ class GridGallery_Galleries_Controller extends GridGallery_Core_BaseController
1254
  */
1255
  public function rewrite($element)
1256
  {
 
 
 
1257
  $url = $this->getEnvironment()->getConfig()->get('plugin_url');
1258
 
1259
  return str_replace('@url', $url . '/app/assets/img', $element);
1254
  */
1255
  public function rewrite($element)
1256
  {
1257
+ $cdnUrl = $this->getEnvironment()->getModule('core')->getCdnUrl();
1258
+ $element = str_replace('@cdn_url', $cdnUrl, $element);
1259
+
1260
  $url = $this->getEnvironment()->getConfig()->get('plugin_url');
1261
 
1262
  return str_replace('@url', $url . '/app/assets/img', $element);
src/GridGallery/Galleries/Model/Galleries.php CHANGED
@@ -74,7 +74,7 @@ class GridGallery_Galleries_Model_Galleries extends GridGallery_Core_BaseModel
74
  {
75
 
76
  $query = array(
77
- 'SELECT {prefix}gg_galleries.*, {prefix}gg_photos.attachment_id, r.total, {prefix}gg_settings_sets.data as settings',
78
  'FROM {prefix}gg_galleries',
79
  'LEFT JOIN',
80
  '(SELECT count(resource_id) as total, resource_id, gallery_id',
74
  {
75
 
76
  $query = array(
77
+ 'SELECT {prefix}gg_galleries.*, {prefix}gg_photos.attachment_id, r.total, {prefix}gg_settings_sets.data as settings, {prefix}gg_photos.link_default',
78
  'FROM {prefix}gg_galleries',
79
  'LEFT JOIN',
80
  '(SELECT count(resource_id) as total, resource_id, gallery_id',
src/GridGallery/Galleries/Module.php CHANGED
@@ -117,10 +117,6 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
117
  $url = $this->getEnvironment()->getConfig()->get('plugin_url');
118
  return array(
119
  'jquery',
120
- array(
121
- 'handle' => 'webfont-js',
122
- 'source' => '//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'
123
- ),
124
  $this->getLocationUrl() . '/assets/js/lib/imagesLoaded.min.js',
125
  $this->getLocationUrl() . '/assets/js/lib/jquery.easing.js',
126
  $this->getLocationUrl() . '/assets/js/lib/jquery.prettyphoto.js',
@@ -136,6 +132,7 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
136
  $this->getLocationUrl() . '/assets/js/jquery.photobox.js',
137
  $this->getLocationUrl() . '/assets/js/jquery.sliphover.js',
138
  array(
 
139
  'source' => $this->getLocationUrl() . '/assets/js/frontend.js',
140
  'dependencies' => array(
141
  'jquery',
@@ -256,8 +253,9 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
256
  }
257
  wp_enqueue_script($handle);
258
  }
259
- wp_localize_script('webfont-js', 'sggStandartFontsList', $this->getModule('ui')->getStandardFontsList());
260
-
 
261
  //on shutdown check is footer is printed , if not print scripts for our gallery
262
  //add_action('shutdown', array($this,'shutdown'));
263
  }
@@ -464,8 +462,10 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
464
  }
465
 
466
  foreach($gallery->photos as $photo) {
467
- $photo->attachment['caption'] = html_entity_decode($photo->attachment['caption']);
468
- $photo->attachment['description'] = html_entity_decode($photo->attachment['description']);
 
 
469
  }
470
  }
471
 
@@ -688,10 +688,6 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
688
  $this->getLocationUrl() . '/assets/js/frontend.js',
689
  $this->getLocationUrl() . '/assets/js/jquery.photobox.js',
690
  $this->getLocationUrl() . '/assets/js/jquery.sliphover.js',
691
- array(
692
- 'handle' => 'webfont-js',
693
- '//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'
694
- ),
695
  );
696
 
697
  wp_enqueue_script('jquery.colorbox.js');
117
  $url = $this->getEnvironment()->getConfig()->get('plugin_url');
118
  return array(
119
  'jquery',
 
 
 
 
120
  $this->getLocationUrl() . '/assets/js/lib/imagesLoaded.min.js',
121
  $this->getLocationUrl() . '/assets/js/lib/jquery.easing.js',
122
  $this->getLocationUrl() . '/assets/js/lib/jquery.prettyphoto.js',
132
  $this->getLocationUrl() . '/assets/js/jquery.photobox.js',
133
  $this->getLocationUrl() . '/assets/js/jquery.sliphover.js',
134
  array(
135
+ 'handle' => 'sgg-frontend-js',
136
  'source' => $this->getLocationUrl() . '/assets/js/frontend.js',
137
  'dependencies' => array(
138
  'jquery',
253
  }
254
  wp_enqueue_script($handle);
255
  }
256
+ wp_localize_script('sgg-frontend-js', 'sggStandartFontsList', $this->getModule('ui')->getStandardFontsList());
257
+ wp_localize_script('sgg-frontend-js', 'sggIsMobile', array($this->getModel('settings')->isMobile(true) ? 1 : 0));
258
+
259
  //on shutdown check is footer is printed , if not print scripts for our gallery
260
  //add_action('shutdown', array($this,'shutdown'));
261
  }
462
  }
463
 
464
  foreach($gallery->photos as $photo) {
465
+ if(!is_null($photo->attachment)) {
466
+ $photo->attachment['caption'] = html_entity_decode($photo->attachment['caption']);
467
+ $photo->attachment['description'] = html_entity_decode($photo->attachment['description']);
468
+ }
469
  }
470
  }
471
 
688
  $this->getLocationUrl() . '/assets/js/frontend.js',
689
  $this->getLocationUrl() . '/assets/js/jquery.photobox.js',
690
  $this->getLocationUrl() . '/assets/js/jquery.sliphover.js',
 
 
 
 
691
  );
692
 
693
  wp_enqueue_script('jquery.colorbox.js');
src/GridGallery/Galleries/assets/css/grid-gallery.galleries.effects.css CHANGED
@@ -32,9 +32,9 @@ a.post .grid-gallery-caption {
32
  }*/
33
 
34
  .grid-gallery-caption img {
35
- -webkit-transition: 500ms;
36
  -o-transition: 500ms;
37
- transition: 500ms;
38
  /* width: 100%;
39
  height: 100%;*/
40
  width: 100%;
@@ -62,6 +62,7 @@ a.post .grid-gallery-caption {
62
  font-size: 0.8em;
63
  padding: 10px;
64
  line-height: normal;
 
65
  }
66
 
67
  .grid-gallery-caption[data-grid-gallery-type="none"] figcaption {
@@ -2015,10 +2016,13 @@ a.post .grid-gallery-caption {
2015
  .gg-caption-row:nth-child(3) {
2016
  height: 34%;
2017
  }
2018
- .gg-caption-row.top, .gg-caption-row.middle, .gg-caption-row.bottom {
2019
  position: absolute;
2020
  width: 100%;
2021
  }
 
 
 
2022
  .gg-caption-row.top {
2023
  top: 0;
2024
  }
32
  }*/
33
 
34
  .grid-gallery-caption img {
35
+ /*-webkit-transition: 500ms;
36
  -o-transition: 500ms;
37
+ transition: 500ms;*/
38
  /* width: 100%;
39
  height: 100%;*/
40
  width: 100%;
62
  font-size: 0.8em;
63
  padding: 10px;
64
  line-height: normal;
65
+ margin-top: 0;
66
  }
67
 
68
  .grid-gallery-caption[data-grid-gallery-type="none"] figcaption {
2016
  .gg-caption-row:nth-child(3) {
2017
  height: 34%;
2018
  }
2019
+ .gg-caption-row.top, .gg-caption-row.middle, .gg-caption-row.bottom, .gg-caption-row.center {
2020
  position: absolute;
2021
  width: 100%;
2022
  }
2023
+ .grid-gallery-caption[data-grid-gallery-type="polaroid"] .gg-caption-row {
2024
+ left: 0;
2025
+ }
2026
  .gg-caption-row.top {
2027
  top: 0;
2028
  }
src/GridGallery/Galleries/assets/css/photobox.css CHANGED
@@ -59,6 +59,7 @@
59
 
60
  -webkit-backface-visibility:hidden;
61
  box-shadow:0 0 20px #000;
 
62
  }
63
 
64
  /* FOR MOBILE */
59
 
60
  -webkit-backface-visibility:hidden;
61
  box-shadow:0 0 20px #000;
62
+ margin: auto;
63
  }
64
 
65
  /* FOR MOBILE */
src/GridGallery/Galleries/assets/img/cats_pro.gif DELETED
Binary file
src/GridGallery/Galleries/assets/img/leer.png ADDED
Binary file
src/GridGallery/Galleries/assets/img/pagination_pro.gif DELETED
Binary file
src/GridGallery/Galleries/assets/img/posts_pro.gif DELETED
Binary file
src/GridGallery/Galleries/assets/js/frontend.js CHANGED
@@ -19,8 +19,12 @@
19
  autoInit = autoInit || false;
20
  var $deferred = jQuery.Deferred(),
21
  self = this;
 
22
 
23
  this.$container = $(selector);
 
 
 
24
  this.$container.addClass('fitvidsignore');
25
  this.$elements = this.$container.find('figure.grid-gallery-caption').fadeIn();
26
  this.initialMargin = this.$elements.first().css('margin-bottom');
@@ -153,7 +157,8 @@
153
  offset = 0,
154
  outerOffset = 0,
155
  spacing,
156
- windowWidth = $(window).width();
 
157
  // if responsive mode = 'one by one' and mobile -> run this method
158
  if (horizontalScroll && horizontalScroll.enabled) {
159
  if(horizontalScroll.responsiveMode == 1 && isMobile) {} else {
@@ -186,6 +191,11 @@
186
  });
187
  }
188
 
 
 
 
 
 
189
 
190
  function resizeColumns() {
191
  var columnsNumber = self.getResponsiveColumnsNumber();
@@ -204,6 +214,10 @@
204
  aspectRatio = elWidth / elHeight,
205
  height = width / aspectRatio;
206
 
 
 
 
 
207
  $el.css({
208
  width: width,
209
  height: height,
@@ -1191,17 +1205,35 @@
1191
  } : null;
1192
  };
1193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1194
  Gallery.prototype.loadFontFamily = (function () {
1195
  font = this.$container.data('caption-font-family');
1196
  if(window && window.sggStandartFontsList && $.inArray(font.replace(/\"/g, ''), window.sggStandartFontsList) != -1) {
1197
  return false;
1198
  }
1199
  if (font && font !== 'Default') {
1200
- WebFont.load({
1201
- google: {
1202
- families: [font + ':400,800']
1203
- }
1204
- });
1205
  }
1206
  });
1207
 
@@ -1236,33 +1268,33 @@
1236
  return Math.round(( ( ( Math.atan2(y, x) * (180 / Math.PI) ) + 180 ) / 90 ) + 3) % 4;
1237
  };
1238
 
1239
- Gallery.prototype.initCaptionEffects = (function () {
1240
- var self = this,
1241
- allwaysShowCaptionOnMobile = this.$container.data('caption-mobile'),
1242
- disableCaptionOnMobile = this.$container.data('caption-disabled-on-mobile'),
1243
- isMobile = !!parseInt(this.$container.data('is-mobile'));
1244
-
1245
- function generateOverlayColor(overlayColor, alpha) {
1246
- if(typeof(overlayColor) == 'string'){
1247
- overlayColor = overlayColor.split(')');
1248
 
1249
- if(overlayColor.length > 0) {
1250
- overlayColor = overlayColor[0].split('(');
1251
 
1252
- if(overlayColor.length > 1) {
1253
- var chanels = overlayColor[1].split(',');
1254
 
1255
- if(chanels.length == 4) { // it is already rgba (fix for IE)
1256
- overlayColor[0] = overlayColor[0].replace('a', '');
1257
- chanels.splice(-1,1);
1258
- overlayColor[1] = chanels.join(',');
1259
- }
1260
- return overlayColor[0] + 'a(' + overlayColor[1] + ', ' + (1 - alpha/10) + ')';
1261
- }
1262
- }
1263
  }
1264
- return overlayColor;
1265
  }
 
 
 
 
 
 
 
 
1266
 
1267
  if(isMobile && navigator && navigator.userAgent && navigator.userAgent.indexOf("Safari") > -1) {
1268
  var $3dCubeCaptions = this.$container.find('.grid-gallery-caption[data-grid-gallery-type="3d-cube"]');
@@ -1305,60 +1337,8 @@
1305
  }
1306
 
1307
  if ($el.data('grid-gallery-type') == 'polaroid') {
1308
- if (!$(this).find('.post-feed-crop').length && !$el.hasClass('initialized')) {
1309
- $el.addClass('initialized');
1310
-
1311
- var width = $el.width(),
1312
- frameWidth = parseInt(self.$container.data('polaroid-frame-width'), 10) || 20,
1313
- $img = $(this).find('img'),
1314
- $figcaption = $(this).find('figcaption'),
1315
- scaleRatio = $img.width() / $img.height(),
1316
- imageWidth = $img.width() - frameWidth * 2,
1317
- imageHeight = imageWidth / scaleRatio;
1318
-
1319
- $img.css({
1320
- 'width': imageWidth + 'px',
1321
- 'height': imageHeight + 'px',
1322
- 'margin': frameWidth + 'px auto 0',
1323
- });
1324
-
1325
- $(this).find('.crop').css({
1326
- 'height': imageHeight + frameWidth + 'px',
1327
- });
1328
-
1329
- $(this).css({
1330
- 'background': overlayColor
1331
- })
1332
-
1333
- $(this).css({
1334
- 'width': $(this).width(),
1335
- 'background': generateOverlayColor(overlayColor, alpha)
1336
- });
1337
-
1338
- $figcaption.css({
1339
- 'padding': frameWidth + 'px',
1340
- 'background': 'none'
1341
- });
1342
-
1343
- if ($figcaption.find('.grid-gallery-figcaption-wrap').text().length === 0) {
1344
- $figcaption
1345
- .find('.grid-gallery-figcaption-wrap')
1346
- .append('<span></span>');
1347
- }
1348
-
1349
-
1350
- if (self.$container.data('polaroid-animation')) {
1351
- $el.addClass('polaroid-animation');
1352
- }
1353
-
1354
- if (self.$container.data('polaroid-scattering')) {
1355
- $(this).css({
1356
- 'transform': 'rotate(' + (-3 + Math.random() * (10 - 3)) + 'deg)'
1357
- });
1358
- $el.addClass('polaroid-scattering');
1359
- }
1360
- }
1361
- }
1362
 
1363
  if ($el.data('grid-gallery-type') == 'direction-aware') {
1364
  var color = $el.find('figcaption').css('color'),
@@ -1384,7 +1364,7 @@
1384
 
1385
  $el.sliphover({
1386
  target: $el,
1387
- backgroundColor: generateOverlayColor(overlayColor, alpha),
1388
  fontColor: color,
1389
  textAlign: align,
1390
  caption: 'data-caption'
@@ -1454,6 +1434,77 @@
1454
 
1455
  });
1456
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1457
  Gallery.prototype.changeImageHeightFor3dCubeEffect = (function($figure, cubeWidth, cubeHeight) {
1458
  // check params
1459
  if(!$figure) {
@@ -1584,12 +1635,12 @@
1584
  this.$container.css({
1585
  width: windowWidth,
1586
  left: '-' + containerOffsetLeft + 'px',
1587
- 'max-width': '100%'
1588
  });
1589
  this.$container.find('.grid-gallery-nav').css('width', windowWidth + 'px');
1590
  } else {
1591
  this.$container.css({
1592
- width: windowWidth , 'max-width': '100%'
1593
  }).offset(function(i, coords) {
1594
  return {'top' : coords.top, 'left' : 0};
1595
  });
@@ -1673,7 +1724,8 @@
1673
  $image = $figure.find('img');
1674
  sizes = self.getOriginalImageSizes($image.get(0));
1675
  $image.css('max-width', 'none');
1676
- $figure.width(Math.floor((height / sizes.height) * sizes.width));
 
1677
  });
1678
  }
1679
 
@@ -1745,7 +1797,10 @@
1745
  'min-height': height,
1746
  });
1747
  }
1748
- this.resizeHorizontalElements();
 
 
 
1749
  });
1750
 
1751
  Gallery.prototype.hidePreloader = function() {
@@ -2341,20 +2396,36 @@
2341
  Gallery.prototype.lazyLoadTriggerHandler = (function() {
2342
  $(document).trigger('scroll');
2343
  });
2344
- Gallery.prototype.lazyLoadDistanceRefresh = (function() {
2345
- var self = this
2346
- , galleryType = this.$container.data('gridType')
2347
- ;
 
 
 
 
2348
  // need run function once at every load
2349
  if(self.ggLazyTimeOut) {
2350
  clearTimeout(self.ggLazyTimeOut);
2351
  }
2352
  self.ggLazyTimeOut = setTimeout(function() {
 
 
 
 
 
 
 
 
 
2353
  switch(galleryType) {
2354
  case 4:
2355
  $(document).trigger('ggMosaicResizedEvent');
2356
  break;
2357
  case 0:
 
 
 
2358
  // if hidden images not showing
2359
  setTimeout(function() {
2360
  self.lazyLoadTriggerHandler();
@@ -2363,7 +2434,7 @@
2363
  self.wookmark.trigger('refreshWookmark');
2364
  }
2365
  }, 50);
2366
- }, 450); // animation transition time
2367
  break;
2368
  case 1:
2369
  if(typeof(self.setCaptionOnHoverImage) == 'function') {
@@ -2378,16 +2449,17 @@
2378
  case 2:
2379
  case 3:
2380
  default:
2381
- self.initWookmark();
2382
  // if hidden images not showing
2383
  setTimeout(function() {
2384
  self.lazyLoadTriggerHandler();
2385
  self.initWookmark();
2386
- }, 450); // animation transition time
2387
  break;
2388
  }
2389
  }, 200);
2390
  });
 
2391
  Gallery.prototype.initLazyLoad = (function() {
2392
  var self = this
2393
  , hoverImgSrc = this.$container.data('image-on-hover');
@@ -2395,22 +2467,34 @@
2395
  // lazy load not work for image on hover
2396
  return;
2397
  }*/
2398
- var showMoreCategory = this.$container.find('.showMoreCategory');
 
 
 
 
 
 
 
 
2399
 
2400
  self.ggLazyTimeOut = null;
2401
  this.$container.find('.ggLazyImg').ggLazyLoad({
2402
  'data_attribute': 'gg-real-image-href',
2403
- 'threshold': 200,
 
 
2404
  'skip_invisible': (showMoreCategory.length > 0),
2405
  'load': function(event) {
2406
  var image = $(this);
2407
- self.lazyLoadDistanceRefresh();
2408
- image.closest('div .crop').css('height', '');
 
 
2409
  image.closest('figure').css('height', 'auto');
2410
  if(self.$container.data('gridType') == 2 && self.$elements) {
2411
  setTimeout(function() {
2412
  self.resizeElementHeight(image, image.closest('figure'));
2413
- }, 460); // animation transition time + 10ms
2414
  }
2415
  },
2416
  });
19
  autoInit = autoInit || false;
20
  var $deferred = jQuery.Deferred(),
21
  self = this;
22
+ this.loadedFonts = [];
23
 
24
  this.$container = $(selector);
25
+ if(window.sggIsMobile) {
26
+ this.$container.attr('data-is-mobile', window.sggIsMobile[0]);
27
+ }
28
  this.$container.addClass('fitvidsignore');
29
  this.$elements = this.$container.find('figure.grid-gallery-caption').fadeIn();
30
  this.initialMargin = this.$elements.first().css('margin-bottom');
157
  offset = 0,
158
  outerOffset = 0,
159
  spacing,
160
+ windowWidth = $(window).width(),
161
+ isFixedColumn = this.$container.data('gridType') == 3;
162
  // if responsive mode = 'one by one' and mobile -> run this method
163
  if (horizontalScroll && horizontalScroll.enabled) {
164
  if(horizontalScroll.responsiveMode == 1 && isMobile) {} else {
191
  });
192
  }
193
 
194
+ if(isFixedColumn) {
195
+ var defaultWidth = parseInt(width),
196
+ defaultHeight = parseInt(this.$container.data('height')),
197
+ koefWidthHeigth = defaultWidth > 0 && defaultHeight > 0 ? defaultHeight/defaultWidth : 1;
198
+ }
199
 
200
  function resizeColumns() {
201
  var columnsNumber = self.getResponsiveColumnsNumber();
214
  aspectRatio = elWidth / elHeight,
215
  height = width / aspectRatio;
216
 
217
+ if(isFixedColumn && $img.attr('data-gg-remote-image') == 1) {
218
+ height = width * koefWidthHeigth;
219
+ }
220
+
221
  $el.css({
222
  width: width,
223
  height: height,
1205
  } : null;
1206
  };
1207
 
1208
+ Gallery.prototype.importFontFamily = (function(familyName) {
1209
+ var styleId = 'sggFontFamilyStyle',
1210
+ $style = $('#' + styleId);
1211
+ if (!$style.length) {
1212
+ $style = $('<style/>', { id: styleId });
1213
+ $('head').append($style);
1214
+ }
1215
+ familyName = familyName.replace(/\s+/g, '+').replace(/"/g, '');
1216
+
1217
+ var obj = document.getElementById(styleId),
1218
+ sheet = obj.sheet || obj.styleSheet;
1219
+ if(this.loadedFonts.indexOf(familyName) === -1) {
1220
+ if(sheet.insertRule) {
1221
+ sheet.insertRule('@import url("//fonts.googleapis.com/css?family=' + familyName + '"); ', 0);
1222
+ } else if(sheet.addImport) {
1223
+ sheet.addImport('//fonts.googleapis.com/css?family=' + familyName);
1224
+ }
1225
+ this.loadedFonts.push(familyName);
1226
+ }
1227
+ });
1228
+
1229
+
1230
  Gallery.prototype.loadFontFamily = (function () {
1231
  font = this.$container.data('caption-font-family');
1232
  if(window && window.sggStandartFontsList && $.inArray(font.replace(/\"/g, ''), window.sggStandartFontsList) != -1) {
1233
  return false;
1234
  }
1235
  if (font && font !== 'Default') {
1236
+ this.importFontFamily(font);
 
 
 
 
1237
  }
1238
  });
1239
 
1268
  return Math.round(( ( ( Math.atan2(y, x) * (180 / Math.PI) ) + 180 ) / 90 ) + 3) % 4;
1269
  };
1270
 
1271
+ Gallery.prototype.generateOverlayCaptionColor = (function (overlayColor, alpha) {
1272
+ if(typeof(overlayColor) == 'string'){
1273
+ overlayColor = overlayColor.split(')');
 
 
 
 
 
 
1274
 
1275
+ if(overlayColor.length > 0) {
1276
+ overlayColor = overlayColor[0].split('(');
1277
 
1278
+ if(overlayColor.length > 1) {
1279
+ var chanels = overlayColor[1].split(',');
1280
 
1281
+ if(chanels.length == 4) { // it is already rgba (fix for IE)
1282
+ overlayColor[0] = overlayColor[0].replace('a', '');
1283
+ chanels.splice(-1,1);
1284
+ overlayColor[1] = chanels.join(',');
1285
+ }
1286
+ return overlayColor[0] + 'a(' + overlayColor[1] + ', ' + (1 - alpha/10) + ')';
1287
+ }
 
1288
  }
 
1289
  }
1290
+ return overlayColor;
1291
+ });
1292
+
1293
+ Gallery.prototype.initCaptionEffects = (function () {
1294
+ var self = this,
1295
+ allwaysShowCaptionOnMobile = this.$container.data('caption-mobile'),
1296
+ disableCaptionOnMobile = this.$container.data('caption-disabled-on-mobile'),
1297
+ isMobile = !!parseInt(this.$container.data('is-mobile'));
1298
 
1299
  if(isMobile && navigator && navigator.userAgent && navigator.userAgent.indexOf("Safari") > -1) {
1300
  var $3dCubeCaptions = this.$container.find('.grid-gallery-caption[data-grid-gallery-type="3d-cube"]');
1337
  }
1338
 
1339
  if ($el.data('grid-gallery-type') == 'polaroid') {
1340
+ self.polaroidCaptionCalculate($el);
1341
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1342
 
1343
  if ($el.data('grid-gallery-type') == 'direction-aware') {
1344
  var color = $el.find('figcaption').css('color'),
1364
 
1365
  $el.sliphover({
1366
  target: $el,
1367
+ backgroundColor: self.generateOverlayCaptionColor(overlayColor, alpha),
1368
  fontColor: color,
1369
  textAlign: align,
1370
  caption: 'data-caption'
1434
 
1435
  });
1436
 
1437
+ Gallery.prototype.polaroidCaptionCalculate = (function ($el) {
1438
+ if ($el.data('grid-gallery-type') != 'polaroid' || $(this).find('.post-feed-crop').length || $el.hasClass('initialized')) return;
1439
+ var $img = $el.find('img');
1440
+
1441
+ if($img.hasClass('ggLazyImg')) return;
1442
+
1443
+ $el.addClass('initialized');
1444
+ var width = $el.width(),
1445
+ frameWidth = parseInt(this.$container.data('polaroid-frame-width'), 10) || 20,
1446
+ captionHeight = this.$container.data('polaroid-caption-height'),
1447
+ clearHeight = captionHeight ? parseInt(captionHeight.toString().match(/\d.?\d*.?\d*/)[0]) : 0,
1448
+ overlayColor = $el.find('figcaption').css('backgroundColor'),
1449
+ alpha = parseInt($el.find('figcaption').data('alpha')),
1450
+ $figcaption = $el.find('figcaption'),
1451
+ scaleRatio = $img.width() / $img.height(),
1452
+ imageWidth = $img.width() - frameWidth * 2,
1453
+ imageHeight = imageWidth / scaleRatio,
1454
+ figcaptionHeight = !isNaN(clearHeight) && clearHeight != 0 ? (captionHeight.toString().indexOf('%') > 0 ? (imageHeight * clearHeight / 100) : clearHeight) + 'px' : 0;
1455
+
1456
+ $img.css({
1457
+ 'width': imageWidth + 'px',
1458
+ 'height': imageHeight + 'px',
1459
+ 'margin': frameWidth + 'px auto 0',
1460
+ });
1461
+ $el.find('.gg-caption-table').css('height', '1px');
1462
+
1463
+ $el.find('.crop').css({
1464
+ 'height': imageHeight + frameWidth + 'px'
1465
+ });
1466
+ if(this.$container.data('gridType') == 0) {
1467
+ $el.find('.crop').css('overflow', 'visible');
1468
+ }
1469
+
1470
+ $el.css({
1471
+ 'background': overlayColor
1472
+ });
1473
+ $el.css({
1474
+ 'width': $el.width(),
1475
+ 'background': this.generateOverlayCaptionColor(overlayColor, alpha)
1476
+ });
1477
+
1478
+ $figcaption.css({
1479
+ 'background': 'none',
1480
+ 'transition': 'none',
1481
+ });
1482
+ if(figcaptionHeight) {
1483
+ $figcaption.css('height', figcaptionHeight);
1484
+ $el.find('.gg-caption-row').css({'max-height': figcaptionHeight ? figcaptionHeight : '100%', 'height': 'auto'});
1485
+ $el.find('.gg-caption-cell').css('height', '100%');
1486
+ } else {
1487
+ $figcaption.css('padding', frameWidth + 'px');
1488
+ }
1489
+
1490
+ if ($figcaption.find('.grid-gallery-figcaption-wrap').text().length === 0) {
1491
+ $figcaption
1492
+ .find('.grid-gallery-figcaption-wrap')
1493
+ .append('<span></span>');
1494
+ }
1495
+
1496
+ if (this.$container.data('polaroid-animation')) {
1497
+ $el.addClass('polaroid-animation');
1498
+ }
1499
+
1500
+ if (this.$container.data('polaroid-scattering')) {
1501
+ $el.css({
1502
+ 'transform': 'rotate(' + (-3 + Math.random() * (10 - 3)) + 'deg)'
1503
+ });
1504
+ $el.addClass('polaroid-scattering');
1505
+ }
1506
+ });
1507
+
1508
  Gallery.prototype.changeImageHeightFor3dCubeEffect = (function($figure, cubeWidth, cubeHeight) {
1509
  // check params
1510
  if(!$figure) {
1635
  this.$container.css({
1636
  width: windowWidth,
1637
  left: '-' + containerOffsetLeft + 'px',
1638
+ //'max-width': '100%'
1639
  });
1640
  this.$container.find('.grid-gallery-nav').css('width', windowWidth + 'px');
1641
  } else {
1642
  this.$container.css({
1643
+ width: windowWidth //, 'max-width': '100%'
1644
  }).offset(function(i, coords) {
1645
  return {'top' : coords.top, 'left' : 0};
1646
  });
1724
  $image = $figure.find('img');
1725
  sizes = self.getOriginalImageSizes($image.get(0));
1726
  $image.css('max-width', 'none');
1727
+ if(!$image.hasClass('ggLazyImg'))
1728
+ $figure.width(Math.floor((height / sizes.height) * sizes.width));
1729
  });
1730
  }
1731
 
1797
  'min-height': height,
1798
  });
1799
  }
1800
+ var self = this;
1801
+ setTimeout(function() {
1802
+ self.resizeHorizontalElements();
1803
+ }, 50);
1804
  });
1805
 
1806
  Gallery.prototype.hidePreloader = function() {
2396
  Gallery.prototype.lazyLoadTriggerHandler = (function() {
2397
  $(document).trigger('scroll');
2398
  });
2399
+ Gallery.prototype.lazyLoadDistanceRefresh = (function(waitTime) {
2400
+ var self = this,
2401
+ galleryType = this.$container.data('gridType');
2402
+
2403
+ if(typeof(waitTime) == 'undefined') {
2404
+ waitTime = 400;
2405
+ }
2406
+
2407
  // need run function once at every load
2408
  if(self.ggLazyTimeOut) {
2409
  clearTimeout(self.ggLazyTimeOut);
2410
  }
2411
  self.ggLazyTimeOut = setTimeout(function() {
2412
+ setTimeout(function() {
2413
+ $.each(self.$elements, function(index, el) {
2414
+ var $el = $(el);
2415
+ if ($el.data('grid-gallery-type') == 'polaroid'){
2416
+ self.polaroidCaptionCalculate($el);
2417
+ }
2418
+ });
2419
+ }, waitTime + 10);
2420
+
2421
  switch(galleryType) {
2422
  case 4:
2423
  $(document).trigger('ggMosaicResizedEvent');
2424
  break;
2425
  case 0:
2426
+ if(typeof(self.setCaptionOnHoverImage) == 'function') {
2427
+ self.setCaptionOnHoverImage();
2428
+ }
2429
  // if hidden images not showing
2430
  setTimeout(function() {
2431
  self.lazyLoadTriggerHandler();
2434
  self.wookmark.trigger('refreshWookmark');
2435
  }
2436
  }, 50);
2437
+ }, waitTime + 10);//450); // animation transition time
2438
  break;
2439
  case 1:
2440
  if(typeof(self.setCaptionOnHoverImage) == 'function') {
2449
  case 2:
2450
  case 3:
2451
  default:
2452
+ //self.initWookmark();
2453
  // if hidden images not showing
2454
  setTimeout(function() {
2455
  self.lazyLoadTriggerHandler();
2456
  self.initWookmark();
2457
+ }, waitTime + 50);//450); // animation transition time
2458
  break;
2459
  }
2460
  }, 200);
2461
  });
2462
+
2463
  Gallery.prototype.initLazyLoad = (function() {
2464
  var self = this
2465
  , hoverImgSrc = this.$container.data('image-on-hover');
2467
  // lazy load not work for image on hover
2468
  return;
2469
  }*/
2470
+ var showMoreCategory = this.$container.find('.showMoreCategory'),
2471
+ effect = this.$container.data('lazyload-effect'),
2472
+ duration = this.$container.data('lazyload-effect-duration');
2473
+
2474
+ if(typeof(effect) == 'undefined') {
2475
+ effect = 'show';
2476
+ duration = 400;
2477
+ }
2478
+ var waitTime = effect == 'fadeIn' ? 200 : duration;
2479
 
2480
  self.ggLazyTimeOut = null;
2481
  this.$container.find('.ggLazyImg').ggLazyLoad({
2482
  'data_attribute': 'gg-real-image-href',
2483
+ 'threshold': 50,
2484
+ 'effect': effect,
2485
+ 'effectspeed': duration,
2486
  'skip_invisible': (showMoreCategory.length > 0),
2487
  'load': function(event) {
2488
  var image = $(this);
2489
+ self.lazyLoadDistanceRefresh(waitTime);
2490
+ if(self.$container.data('gridType') != 0) {
2491
+ image.closest('div .crop').css('height', '');
2492
+ }
2493
  image.closest('figure').css('height', 'auto');
2494
  if(self.$container.data('gridType') == 2 && self.$elements) {
2495
  setTimeout(function() {
2496
  self.resizeElementHeight(image, image.closest('figure'));
2497
+ }, waitTime + 20);//460); // animation transition time + 20ms
2498
  }
2499
  },
2500
  });
src/GridGallery/Galleries/assets/js/lib/jquery.prettyphoto.js CHANGED
@@ -1079,13 +1079,15 @@ Version: 3.1.6
1079
  currentGalleryPage = 0;
1080
  toInject = "";
1081
  for (var i=0; i < pp_images.length; i++) {
1082
- if(!pp_images[i].match(/\b(jpg|jpeg|png|gif)\b/gi)){
 
 
1083
  classname = 'default';
1084
  img_src = '';
1085
  }else{
1086
  classname = '';
1087
- img_src = pp_images[i];
1088
- thumbnail = $('[href="' +img_src + '"]').find('.crop > img');
1089
  if(thumbnail.length) {
1090
  if(pp_settings.is_lazy_load) {
1091
  img_src = thumbnail.attr('data-gg-real-image-href');
1079
  currentGalleryPage = 0;
1080
  toInject = "";
1081
  for (var i=0; i < pp_images.length; i++) {
1082
+ img_src = pp_images[i];
1083
+ thumbnail = $('[href="' +img_src + '"]').find('.crop > img');
1084
+ if(!(thumbnail.length && thumbnail.attr('data-gg-remote-image') == '1') && !pp_images[i].match(/\b(jpg|jpeg|png|gif)\b/gi)){
1085
  classname = 'default';
1086
  img_src = '';
1087
  }else{
1088
  classname = '';
1089
+ //img_src = pp_images[i];
1090
+ //thumbnail = $('[href="' +img_src + '"]').find('.crop > img');
1091
  if(thumbnail.length) {
1092
  if(pp_settings.is_lazy_load) {
1093
  img_src = thumbnail.attr('data-gg-real-image-href');
src/GridGallery/Galleries/assets/js/settings.js CHANGED
@@ -990,6 +990,22 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
990
  .trigger('change');
991
  });
992
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
993
  Controller.prototype.toggleIcons = (function() {
994
  var $table = $('#photo-icon').closest('table');
995
 
@@ -1701,6 +1717,13 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
1701
  });
1702
 
1703
  Controller.prototype.initOtherPluginsConf = (function() {
 
 
 
 
 
 
 
1704
  $('#enableForMembership').on('change', function() {
1705
  $('#hiddenInpMembershipEnableVal').val($(this).val());
1706
  });
@@ -2209,6 +2232,7 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
2209
  controller.toggleBorder();
2210
  controller.toggleCaptions();
2211
  controller.togglePopUp();
 
2212
  controller.toggleIcons();
2213
  controller.toggleHorizontallScroll();
2214
 
@@ -2374,6 +2398,7 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
2374
 
2375
  function ImagePreview(enabled) {
2376
  this.$window = $('#preview.gallery-preview');
 
2377
 
2378
  if (enabled) {
2379
  this.init();
@@ -2384,6 +2409,27 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
2384
  }, this));
2385
  }
2386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2387
  ImagePreview.prototype.setProp = (function (selector, props) {
2388
  this.$window.find(selector).css(props);
2389
  });
@@ -2639,6 +2685,7 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
2639
  };
2640
 
2641
  ImagePreview.prototype.previewCaptionShow = function(fields) {
 
2642
  $('#preview figcaption').show();
2643
  this.setDataset('figure', 'data-grid-gallery-type', $('#overlayEffect').val());
2644
 
@@ -2719,11 +2766,7 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
2719
  var fontFamily = $(getSelector(fields.fontFamily)).val();
2720
  if(!fontFamily || fontFamily == 'Default') return;
2721
  if(!window || !window.sggStandartFontsList || $.inArray(fontFamily.replace(/\"/g, ''), window.sggStandartFontsList) == -1) {
2722
- WebFont.load({
2723
- google: {
2724
- families: [fontFamily]
2725
- }
2726
- });
2727
  }
2728
  this.setProp('figcaption', { fontFamily: '"' + fontFamily + '"' + ', serif' });
2729
  }, this)).trigger('change');
@@ -3082,7 +3125,9 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
3082
  this.initOverlayShadow();
3083
  this.initSharedPropsForIcons();
3084
 
3085
- this.previewSettingsKeys = {};
 
 
3086
  this.objectsData = new sggDataSelectorsCache();
3087
  this.objectsData.init({
3088
  'keys': this.previewSettingsKeys,
@@ -3154,6 +3199,7 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
3154
 
3155
  ImagePreview.prototype.initCaptionEffects = (function () {
3156
  var self = this, figure = $('#preview figure.grid-gallery-caption');
 
3157
 
3158
  if(figure.attr('data-grid-gallery-type') == 'polaroid') {
3159
  if (!this.defaultStyles) {
@@ -3229,6 +3275,9 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
3229
  , $polaroidWrapper = $('.polaroid-bg-wrap')
3230
  , imageWidth
3231
  , imageHeight
 
 
 
3232
  ;
3233
 
3234
  if($galleryType.val() == 2) {
@@ -3244,17 +3293,25 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
3244
  imageWidth = parseInt($polaroidWrapper.outerWidth()) - (frameWidth*2);
3245
  imageHeight = imageWidth / scaleRatio;
3246
  }
 
 
 
 
 
 
 
3247
 
3248
  $img[0].style.setProperty('width', imageWidth + 'px', 'important');
3249
  $img[0].style.setProperty('height', imageHeight + 'px', 'important');
3250
  $img[0].style.setProperty('margin', '0 auto', 'important');
3251
  $img[0].style.setProperty('padding-top', frameWidth + 'px', 'important');
 
3252
 
3253
  $(this).css({
3254
  'width': $(this).width(),
3255
  });
3256
 
3257
- $figcaption.css('padding', frameWidth + 'px');
3258
 
3259
  var $backgroundColor = $('input[name="thumbnail[overlay][background]"]').val()
3260
  , $transparency = $('select[name="thumbnail[overlay][transparency]"]').val()
@@ -3263,7 +3320,7 @@ sggDataSelectorsCache.prototype.getFromArray = (function(key) {
3263
  $(this).css({
3264
  'background-color': css
3265
  });
3266
- $(this).find('figcaption').css({'background': 'none'});
3267
 
3268
  if ($('#polaroid-scattering select').val() == 'true') {
3269
  $(this).css({
990
  .trigger('change');
991
  });
992
 
993
+ Controller.prototype.toggleLazyload = (function() {
994
+ $lazyloadTable = $('#sgg-t-lazyload-enable').closest('table');
995
+
996
+ $('#lazyLoadEnabled').on('change', function () {
997
+ $lazyloadTable.find('tbody').show();
998
+ });
999
+
1000
+ $('#lazyLoadDisabled').on('change', function () {
1001
+ $lazyloadTable.find('tbody').hide();
1002
+ });
1003
+
1004
+ $lazyloadTable.find('thead input[type="radio"]:checked')
1005
+ .trigger('click')
1006
+ .trigger('change');
1007
+ });
1008
+
1009
  Controller.prototype.toggleIcons = (function() {
1010
  var $table = $('#photo-icon').closest('table');
1011
 
1717
  });
1718
 
1719
  Controller.prototype.initOtherPluginsConf = (function() {
1720
+ $('#enableForMembershipFake').on('change', function() {
1721
+ if($(this).val() == 1) {
1722
+ $('.gg-membership-plug-info').show();
1723
+ } else {
1724
+ $('.gg-membership-plug-info').hide();
1725
+ }
1726
+ });
1727
  $('#enableForMembership').on('change', function() {
1728
  $('#hiddenInpMembershipEnableVal').val($(this).val());
1729
  });
2232
  controller.toggleBorder();
2233
  controller.toggleCaptions();
2234
  controller.togglePopUp();
2235
+ controller.toggleLazyload();
2236
  controller.toggleIcons();
2237
  controller.toggleHorizontallScroll();
2238
 
2398
 
2399
  function ImagePreview(enabled) {
2400
  this.$window = $('#preview.gallery-preview');
2401
+ this.loadedFonts = [];
2402
 
2403
  if (enabled) {
2404
  this.init();
2409
  }, this));
2410
  }
2411
 
2412
+ ImagePreview.prototype.importFontFamily = (function(familyName) {
2413
+ var styleId = 'sggFontFamilyStyle',
2414
+ $style = $('#' + styleId);
2415
+ if (!$style.length) {
2416
+ $style = $('<style/>', { id: styleId });
2417
+ $('head').append($style);
2418
+ }
2419
+ familyName = familyName.replace(/\s+/g, '+').replace(/"/g, '');
2420
+
2421
+ var obj = document.getElementById(styleId),
2422
+ sheet = obj.sheet || obj.styleSheet;
2423
+ if(this.loadedFonts.indexOf(familyName) === -1) {
2424
+ if(sheet.insertRule) {
2425
+ sheet.insertRule('@import url("//fonts.googleapis.com/css?family=' + familyName + '"); ', 0);
2426
+ } else if(sheet.addImport) {
2427
+ sheet.addImport('//fonts.googleapis.com/css?family=' + familyName);
2428
+ }
2429
+ this.loadedFonts.push(familyName);
2430
+ }
2431
+ });
2432
+
2433
  ImagePreview.prototype.setProp = (function (selector, props) {
2434
  this.$window.find(selector).css(props);
2435
  });
2685
  };
2686
 
2687
  ImagePreview.prototype.previewCaptionShow = function(fields) {
2688
+ var imgPreview = this;
2689
  $('#preview figcaption').show();
2690
  this.setDataset('figure', 'data-grid-gallery-type', $('#overlayEffect').val());
2691
 
2766
  var fontFamily = $(getSelector(fields.fontFamily)).val();
2767
  if(!fontFamily || fontFamily == 'Default') return;
2768
  if(!window || !window.sggStandartFontsList || $.inArray(fontFamily.replace(/\"/g, ''), window.sggStandartFontsList) == -1) {
2769
+ imgPreview.importFontFamily(fontFamily);
 
 
 
 
2770
  }
2771
  this.setProp('figcaption', { fontFamily: '"' + fontFamily + '"' + ', serif' });
2772
  }, this)).trigger('change');
3125
  this.initOverlayShadow();
3126
  this.initSharedPropsForIcons();
3127
 
3128
+ if(typeof this.previewSettingsKeys == 'undefined') {
3129
+ this.previewSettingsKeys = {};
3130
+ }
3131
  this.objectsData = new sggDataSelectorsCache();
3132
  this.objectsData.init({
3133
  'keys': this.previewSettingsKeys,
3199
 
3200
  ImagePreview.prototype.initCaptionEffects = (function () {
3201
  var self = this, figure = $('#preview figure.grid-gallery-caption');
3202
+ figure.find('figcaption').css('height', '100%');
3203
 
3204
  if(figure.attr('data-grid-gallery-type') == 'polaroid') {
3205
  if (!this.defaultStyles) {
3275
  , $polaroidWrapper = $('.polaroid-bg-wrap')
3276
  , imageWidth
3277
  , imageHeight
3278
+ , captionHeight = $('input[name="captionBuilder[title][height]"]').val()
3279
+ , clearHeight = captionHeight ? parseInt(captionHeight.toString().match(/\d.?\d*.?\d*/)[0]) : 0
3280
+ , figcaptionHeight = 0
3281
  ;
3282
 
3283
  if($galleryType.val() == 2) {
3293
  imageWidth = parseInt($polaroidWrapper.outerWidth()) - (frameWidth*2);
3294
  imageHeight = imageWidth / scaleRatio;
3295
  }
3296
+ if(!isNaN(clearHeight) && clearHeight != 0) {
3297
+ figcaptionHeight = (captionHeight.toString().indexOf('%') > 0 ? (imageHeight * clearHeight / 100) : clearHeight) + 'px';
3298
+ }
3299
+ $(this).find('.gg-caption-table').css('height', '1px');
3300
+ $(this).find('.gg-caption-row').css({'max-height': figcaptionHeight ? figcaptionHeight : '100%', 'height': 'auto'});
3301
+ $figcaption.css({'background': 'none', 'height': figcaptionHeight});
3302
+
3303
 
3304
  $img[0].style.setProperty('width', imageWidth + 'px', 'important');
3305
  $img[0].style.setProperty('height', imageHeight + 'px', 'important');
3306
  $img[0].style.setProperty('margin', '0 auto', 'important');
3307
  $img[0].style.setProperty('padding-top', frameWidth + 'px', 'important');
3308
+ $img[0].style.setProperty('padding-bottom', frameWidth + 'px', 'important');
3309
 
3310
  $(this).css({
3311
  'width': $(this).width(),
3312
  });
3313
 
3314
+ //$figcaption.css('padding', frameWidth + 'px');
3315
 
3316
  var $backgroundColor = $('input[name="thumbnail[overlay][background]"]').val()
3317
  , $transparency = $('select[name="thumbnail[overlay][transparency]"]').val()
3320
  $(this).css({
3321
  'background-color': css
3322
  });
3323
+ //$(this).find('figcaption').css({'background': 'none'});
3324
 
3325
  if ($('#polaroid-scattering select').val() == 'true') {
3326
  $(this).css({
src/GridGallery/Galleries/configs/tooltips.php CHANGED
@@ -77,7 +77,7 @@ return array(
77
  'caption-settings-type-pro' => __('Caption builder enables a wide range of options and detailed caption settings. Note: you will not be able to display descriptions of your images if Caption builder will be disabled. ', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/blog/caption-builder-of-photo-gallery/\'>https://supsystic.com/blog/caption-builder-of-photo-gallery/</a>',
78
  'overlay-effect-image-on-hover-enable' => __('If this effect is enabled, the other image will be shown on the place of the current one, when a mouse cursor is over it. The other image could be selected in the option below (\'Select Image on hover\') and will be shown for all images in this gallery. In case you want to show different pictures, upload them for each image separately on Images List section (\'Hover Caption Image\' tab). Please note, that \'Personal Captions\' option should be enabled', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/example/two-side-images-gallery/\'>https://supsystic.com/example/two-side-images-gallery/</a>',
79
  'showExifDataPro' => __('This option helps you display image metadata from Exchangeable Image File Format to give your gallery more professional details.', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/example/exif-meta-data/\'>https://supsystic.com/example/exif-meta-data/</a>',
80
- 'chooseIconPro' => __('Choose an icon to indicate that the gallery is loading. </br><img style=\'max-width:200px\' src=@url/loader.gif />', 'sgg'),
81
  'categoriesPro' => __('This option allows you to arrange your gallery images by categories. It may be useful for galleries with a great number of images.', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/example/categories-gallery-example/\'>https://supsystic.com/example/categories-gallery-example/</a>',
82
  'paginationPro' => __('This option allows you to split your gallery images to several pages for comfortable navigation. It may be useful for galleries with a great number of images.', 'sgg') . '</br><a target=\'_blank\' href=\'https://supsystic.com/documentation/pagination/\'>https://supsystic.com/documentation/pagination/</a></br></br>' . __('Use a Custom Buttons to establish a personal design for Load More Button, Pagination and Categories Buttons.', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/documentation/custom-buttons/\'>https://supsystic.com/documentation/custom-buttons/</a>',
83
  'postsLayoutPro' => __('This feature enables post layout for your gallery.', 'sgg') . '</br><a target=\'_blank\' href=\'https://supsystic.com/documentation/posts/\'>https://supsystic.com/documentation/posts/</a>',
77
  'caption-settings-type-pro' => __('Caption builder enables a wide range of options and detailed caption settings. Note: you will not be able to display descriptions of your images if Caption builder will be disabled. ', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/blog/caption-builder-of-photo-gallery/\'>https://supsystic.com/blog/caption-builder-of-photo-gallery/</a>',
78
  'overlay-effect-image-on-hover-enable' => __('If this effect is enabled, the other image will be shown on the place of the current one, when a mouse cursor is over it. The other image could be selected in the option below (\'Select Image on hover\') and will be shown for all images in this gallery. In case you want to show different pictures, upload them for each image separately on Images List section (\'Hover Caption Image\' tab). Please note, that \'Personal Captions\' option should be enabled', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/example/two-side-images-gallery/\'>https://supsystic.com/example/two-side-images-gallery/</a>',
79
  'showExifDataPro' => __('This option helps you display image metadata from Exchangeable Image File Format to give your gallery more professional details.', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/example/exif-meta-data/\'>https://supsystic.com/example/exif-meta-data/</a>',
80
+ 'chooseIconPro' => __('Choose an icon to indicate that the gallery is loading.', 'sgg') . '</br><img style=\'max-width:200px\' src=@cdn_url_assets/gallery/img/settings/loader.gif />',
81
  'categoriesPro' => __('This option allows you to arrange your gallery images by categories. It may be useful for galleries with a great number of images.', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/example/categories-gallery-example/\'>https://supsystic.com/example/categories-gallery-example/</a>',
82
  'paginationPro' => __('This option allows you to split your gallery images to several pages for comfortable navigation. It may be useful for galleries with a great number of images.', 'sgg') . '</br><a target=\'_blank\' href=\'https://supsystic.com/documentation/pagination/\'>https://supsystic.com/documentation/pagination/</a></br></br>' . __('Use a Custom Buttons to establish a personal design for Load More Button, Pagination and Categories Buttons.', 'sgg') . ' <a target=\'_blank\' href=\'https://supsystic.com/documentation/custom-buttons/\'>https://supsystic.com/documentation/custom-buttons/</a>',
83
  'postsLayoutPro' => __('This feature enables post layout for your gallery.', 'sgg') . '</br><a target=\'_blank\' href=\'https://supsystic.com/documentation/posts/\'>https://supsystic.com/documentation/posts/</a>',
src/GridGallery/Galleries/views/add_images.twig CHANGED
@@ -3,8 +3,8 @@
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
7
- <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
9
  <i class="fa fa-angle-right"></i>
10
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': gallery.id }) }}">{{ gallery.title }}</a>
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
7
+ {#<i class="fa fa-angle-right"></i>#}
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
9
  <i class="fa fa-angle-right"></i>
10
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': gallery.id }) }}">{{ gallery.title }}</a>
src/GridGallery/Galleries/views/gallery_preset.twig CHANGED
@@ -26,8 +26,8 @@
26
 
27
  {% block header %}
28
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
29
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
30
- <i class="fa fa-angle-right"></i>
31
  <a href="{{ environment.generateUrl('galleries', 'showPresets') }}">{{ translate('Create new gallery') }}</a>
32
  </nav>
33
  {% endblock %}
26
 
27
  {% block header %}
28
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
29
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
30
+ {#<i class="fa fa-angle-right"></i>#}
31
  <a href="{{ environment.generateUrl('galleries', 'showPresets') }}">{{ translate('Create new gallery') }}</a>
32
  </nav>
33
  {% endblock %}
src/GridGallery/Galleries/views/index.twig CHANGED
@@ -3,8 +3,8 @@
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
7
- <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
9
  </nav>
10
 
@@ -53,14 +53,20 @@
53
  <i class="fa fa-fw fa-pencil"></i>
54
  </td>
55
  <td>
56
- {% set cover = get_attachment(gallery.attachment_id, '155', '100', 'true') %}
 
 
 
 
57
 
58
  {% if cover|length < 1 %}
59
  {% if gallery.settings.posts.postCover|length > 1 %}
60
  {% set cover = gallery.settings.posts.postCover %}
61
  {% endif %}
62
  {% endif %}
63
- <img src="{{ cover|default('holder.js/350x220?theme=gray&text=' ~ gallery.title|raw) }}" alt="{{ gallery.title|raw }}" width="155px" height="100px"/>
 
 
64
  </td>
65
  <td>
66
  <input type="text" id="shortcode-{{ gallery.id }}" class="ggCopyTextCode shortcode" value="[supsystic-gallery id='{{ gallery.id }}']">
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
7
+ {#<i class="fa fa-angle-right"></i>#}
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
9
  </nav>
10
 
53
  <i class="fa fa-fw fa-pencil"></i>
54
  </td>
55
  <td>
56
+ {% if gallery.attachment_id == 0 and gallery.link_default|length > 1 %}
57
+ {% set cover = gallery.link_default %}
58
+ {% else %}
59
+ {% set cover = get_attachment(gallery.attachment_id, '155', '100', 'true') %}
60
+ {% endif %}
61
 
62
  {% if cover|length < 1 %}
63
  {% if gallery.settings.posts.postCover|length > 1 %}
64
  {% set cover = gallery.settings.posts.postCover %}
65
  {% endif %}
66
  {% endif %}
67
+ <div style="width:155px;height:100px;overflow:hidden;">
68
+ <img src="{{ cover|default('holder.js/350x220?theme=gray&text=' ~ gallery.title|raw) }}" alt="{{ gallery.title|raw }}" width="155px" height="100px" style="height:auto"/>
69
+ </div>
70
  </td>
71
  <td>
72
  <input type="text" id="shortcode-{{ gallery.id }}" class="ggCopyTextCode shortcode" value="[supsystic-gallery id='{{ gallery.id }}']">
src/GridGallery/Galleries/views/r314/shortcode/gallery.twig CHANGED
@@ -21,7 +21,7 @@
21
  {% endif %}
22
  data-width="{{ settings.area.photo_width }}{% if settings.area.photo_width_unit == 1 %}%{% endif %}"
23
  data-height="{{ settings.area.photo_height }}{% if settings.area.photo_height_unit == 1 %}%{% endif %}"
24
- data-quicksand = "{% if settings.quicksand.enabled == '1' %}enabled{% else %}disabled{% endif %}"
25
  data-quicksand-duration = "{% if settings.quicksand.duration is not empty %}{{ settings.quicksand.duration }}{% else %}none{% endif %}"
26
  {% if settings.box.type == '0' and mobile != 'true' %}
27
  data-popup-type ="colorbox"
21
  {% endif %}
22
  data-width="{{ settings.area.photo_width }}{% if settings.area.photo_width_unit == 1 %}%{% endif %}"
23
  data-height="{{ settings.area.photo_height }}{% if settings.area.photo_height_unit == 1 %}%{% endif %}"
24
+ data-quicksand = "{% if settings.categories is defined and settings.categories.enabled == 'true' and settings.quicksand.enabled == '1' %}enabled{% else %}disabled{% endif %}"
25
  data-quicksand-duration = "{% if settings.quicksand.duration is not empty %}{{ settings.quicksand.duration }}{% else %}none{% endif %}"
26
  {% if settings.box.type == '0' and mobile != 'true' %}
27
  data-popup-type ="colorbox"
src/GridGallery/Galleries/views/settings.twig CHANGED
@@ -35,8 +35,8 @@
35
  </li>
36
  </ul>
37
  #}
38
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
39
- <i class="fa fa-angle-right"></i>
40
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
41
  <i class="fa fa-angle-right"></i>
42
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': gallery.id }) }}">{{ gallery.title|raw }}</a>
@@ -177,7 +177,12 @@
177
  {% endif %}
178
  <img
179
  {% block gallery_preview_image_attributes %}
180
- src="{{ get_attachment(gallery.photos[0].attachment.id, width, height, crop, cropQuality) }}" data-src="{{ 'holder.js/350x250?theme=simple&text=' ~ gallery.title|raw }}" alt="{{ gallery.title|raw }}"
 
 
 
 
 
181
  style="
182
  max-width: 290px; max-height: 290px;
183
  {% if settings.area.photo_width_unit == 0 and settings.area.photo_width is not empty %}
@@ -259,7 +264,15 @@
259
  </option>
260
  </select>
261
  {% else %}
262
- <div class="gg-membership-plug-info">
 
 
 
 
 
 
 
 
263
  {{ translate('You need to install Membership by Supsystic to use this feature. ') }}
264
  <a target="_blank" href="{{ pageOptions.membershipInstallUrl }}">Install</a>
265
  {{ translate(' plugin from your admin area, or visit it\'s official page on Wordpress.org ') }}
@@ -1247,35 +1260,53 @@
1247
  {% endblock %}
1248
 
1249
  {% block lazyload %}
1250
- <table class="form-table" id="gg-anl-lazyload">
1251
  <thead>
1252
  {# Enable/Disable LazyLoad #}
1253
  {{ form.row(translate('Lazy Load'),
1254
- form.radio(
1255
- 'lazyload[enabled]',
1256
- '1',
1257
- {'id':'lazyLoadEnabled'}| merge(settings.lazyload.enabled == '1' ? {'checked':'checked'} : {})
1258
- ) ~
1259
- f.label(
1260
- translate('Enable'),
1261
- 'lazyLoadEnabled'
1262
- ) ~
1263
- form.radio(
1264
- 'lazyload[enabled]',
1265
- '0',
1266
- {'id':'lazyLoadDisabled'}|merge(settings.lazyload.enabled == '1' ? {} : {'checked':'checked'})
1267
- ) ~
1268
- f.label(
1269
- translate('Disable'),
1270
- 'lazyLoadDisabled'
1271
- ),
1272
- 'sgg-t-lazyload-enable',
1273
- true,
1274
- 'sggLazyLoadEnableRow'
1275
- )}}
1276
  </thead>
1277
  <tbody>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1278
  <input type="hidden" value="{{ pluginUrl ~ '/assets/img/loading.gif' }}" name="lazyload[defaultImgUrl]"/>
 
1279
  </tbody>
1280
  </table>
1281
  {% endblock %}
@@ -1399,7 +1430,7 @@
1399
 
1400
  <div>
1401
  <a href="{{ getProUrl('?utm_source=plugin&utm_medium=postfeed&utm_campaign=gallery') }}" target="_blank">
1402
- <img src="{{ environment.module('galleries').getLocationUrl() }}/assets/img/posts_pro.gif" />
1403
  </a>
1404
  </div>
1405
  </div>
@@ -1916,7 +1947,7 @@
1916
 
1917
  <div>
1918
  <a href="{{ getProUrl('?utm_source=plugin&utm_medium=categories&utm_campaign=gallery') }}" target="_blank">
1919
- <img style="max-width:600px;" src="{{ environment.module('galleries').getLocationUrl() }}/assets/img/cats_pro.gif" />
1920
  </a>
1921
  </div>
1922
  {% block pagination %}
@@ -1930,7 +1961,7 @@
1930
  <div name="pagination">
1931
  <div>
1932
  <a href="{{ getProUrl('?utm_source=plugin&utm_medium=pages&utm_campaign=gallery') }}" target="_blank">
1933
- <img src="{{ environment.module('galleries').getLocationUrl() }}/assets/img/pagination_pro.gif" />
1934
  </a>
1935
  </div>
1936
  </div>
35
  </li>
36
  </ul>
37
  #}
38
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
39
+ {#<i class="fa fa-angle-right"></i>#}
40
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
41
  <i class="fa fa-angle-right"></i>
42
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': gallery.id }) }}">{{ gallery.title|raw }}</a>
177
  {% endif %}
178
  <img
179
  {% block gallery_preview_image_attributes %}
180
+ {% if gallery.photos[0].attachment.isRemoteImage is defined and gallery.photos[0].attachment.isRemoteImage == 1 %}
181
+ src="{{ gallery.photos[0].attachment.thumbUrl }}"
182
+ {% else %}
183
+ src="{{ get_attachment(gallery.photos[0].attachment.id, width, height, crop, cropQuality) }}"
184
+ {% endif %}
185
+ data-src="{{ 'holder.js/350x250?theme=simple&text=' ~ gallery.title|raw }}" alt="{{ gallery.title|raw }}"
186
  style="
187
  max-width: 290px; max-height: 290px;
188
  {% if settings.area.photo_width_unit == 0 and settings.area.photo_width is not empty %}
264
  </option>
265
  </select>
266
  {% else %}
267
+ <select id="enableForMembershipFake" style="width: auto;" name="membership_feick" >
268
+ <option value="0" selected="selected">
269
+ {{ translate('No') }}
270
+ </option>
271
+ <option value="1">
272
+ {{ translate('Yes') }}
273
+ </option>
274
+ </select>
275
+ <div class="gg-membership-plug-info" style="display: none;">
276
  {{ translate('You need to install Membership by Supsystic to use this feature. ') }}
277
  <a target="_blank" href="{{ pageOptions.membershipInstallUrl }}">Install</a>
278
  {{ translate(' plugin from your admin area, or visit it\'s official page on Wordpress.org ') }}
1260
  {% endblock %}
1261
 
1262
  {% block lazyload %}
1263
+ <table class="form-table" name="lazyload" id="gg-anl-lazyload">
1264
  <thead>
1265
  {# Enable/Disable LazyLoad #}
1266
  {{ form.row(translate('Lazy Load'),
1267
+ form.radio('lazyload[enabled]', '1', {'id':'lazyLoadEnabled'}| merge(settings.lazyload.enabled == '1' ? {'checked':'checked'} : {})) ~
1268
+ f.label(translate('Enable'), 'lazyLoadEnabled') ~
1269
+ form.radio('lazyload[enabled]', '0', {'id':'lazyLoadDisabled'}|merge(settings.lazyload.enabled == '1' ? {} : {'checked':'checked'})) ~
1270
+ f.label(translate('Disable'), 'lazyLoadDisabled'), 'sgg-t-lazyload-enable', true, 'sggLazyLoadEnableRow')}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1271
  </thead>
1272
  <tbody>
1273
+ {{ form.row(
1274
+ translate('Hide loader'),
1275
+ form.checkbox(
1276
+ 'lazyload[hideLoader]',
1277
+ 'true',
1278
+ settings.lazyload.hideLoader == 'true' ? {'checked':'checked'} : {}
1279
+ ),
1280
+ 'lazyload-hideLoader'
1281
+ ) }}
1282
+ {{ form.row(
1283
+ translate('Animation effect'),
1284
+ form.select(
1285
+ 'lazyload[animationEffect]',
1286
+ {
1287
+ 'show':translate('show'),
1288
+ 'fadeIn':translate('fade'),
1289
+ 'slideDown':translate('slide')
1290
+ },
1291
+ settings.lazyload.animationEffect|default('0')
1292
+ ))
1293
+ }}
1294
+ {{ form.row(
1295
+ translate('Effect duration'),
1296
+ form.select(
1297
+ 'lazyload[effectDuration]',
1298
+ {
1299
+ '400':translate('default'),
1300
+ '0':translate('none'),
1301
+ '200':translate('fast'),
1302
+ '600':translate('slow'),
1303
+ '2000':translate('very slow'),
1304
+ },
1305
+ settings.lazyload.effectDuration|default('400')
1306
+ ))
1307
+ }}
1308
  <input type="hidden" value="{{ pluginUrl ~ '/assets/img/loading.gif' }}" name="lazyload[defaultImgUrl]"/>
1309
+ <input type="hidden" value="{{ pluginUrl ~ '/assets/img/leer.png' }}" name="lazyload[leerImgUrl]"/>
1310
  </tbody>
1311
  </table>
1312
  {% endblock %}
1430
 
1431
  <div>
1432
  <a href="{{ getProUrl('?utm_source=plugin&utm_medium=postfeed&utm_campaign=gallery') }}" target="_blank">
1433
+ <img style="max-width:796px;" src="{{ environment.getModule('core').getCdnUrl() }}_assets/gallery/img/settings/posts_layout.gif" title="Available in PRO version" />
1434
  </a>
1435
  </div>
1436
  </div>
1947
 
1948
  <div>
1949
  <a href="{{ getProUrl('?utm_source=plugin&utm_medium=categories&utm_campaign=gallery') }}" target="_blank">
1950
+ <img style="max-width:600px;" src="{{ environment.getModule('core').getCdnUrl() }}_assets/gallery/img/settings/categories.gif" title="Available in PRO version" />
1951
  </a>
1952
  </div>
1953
  {% block pagination %}
1961
  <div name="pagination">
1962
  <div>
1963
  <a href="{{ getProUrl('?utm_source=plugin&utm_medium=pages&utm_campaign=gallery') }}" target="_blank">
1964
+ <img style="max-width:600px;" src="{{ environment.getModule('core').getCdnUrl() }}_assets/gallery/img/settings/pagination.gif" title="Available in PRO version" />
1965
  </a>
1966
  </div>
1967
  </div>
src/GridGallery/Galleries/views/shortcode/gallery.twig CHANGED
@@ -29,7 +29,7 @@
29
  {% endif %}
30
  data-height="{{ settings.area.photo_height }}{% if settings.area.photo_height_unit == 1 %}%{% endif %}"
31
  data-padding="{{ settings.area.padding }}"
32
- data-quicksand="{% if settings.quicksand.enabled == '1' %}enabled{% else %}disabled{% endif %}"
33
  data-quicksand-duration="{% if settings.quicksand.duration is not empty %}{{ settings.quicksand.duration }}{% else %}none{% endif %}"
34
  {% if settings.browserUrlTooltipHide is defined and settings.browserUrlTooltipHide == 1 %}
35
  data-popup-type="disable"
@@ -94,11 +94,18 @@
94
  data-caption-mobile="{{ settings.thumbnail.isMobile|default('false') }}" {# Always show in mobile #}
95
  data-hide-long-tltp-title="{{ settings.hideLongTooltipTitles == 'on' ? '1' : '0' }}"
96
  data-caption-disabled-on-mobile="{{ settings.thumbnail.isDisableMobileCaption|default('false') }}"
97
- {% if settings.lazyload.enabled == '1' %} data-lazyload-enable='1' {% endif %}
 
 
 
 
98
  {% if settings.thumbnail.overlay.effect == 'polaroid' %}
99
  data-polaroid-animation="{{ settings.thumbnail.overlay.polaroidAnimation | default('true') }}"
100
  data-polaroid-scattering="{{ settings.thumbnail.overlay.polaroidScattering | default('true') }}"
101
  data-polaroid-frame-width="{{ settings.thumbnail.overlay.polaroidFrameWidth | default(20) }}"
 
 
 
102
  {% endif %}
103
  {% if settings.area.grid == '3' %}
104
  data-responsive-colums="{{ settings.general.responsiveColumns|default("")|json_encode|e }}"
29
  {% endif %}
30
  data-height="{{ settings.area.photo_height }}{% if settings.area.photo_height_unit == 1 %}%{% endif %}"
31
  data-padding="{{ settings.area.padding }}"
32
+ data-quicksand="{% if settings.categories is defined and settings.categories.enabled == 'true' and settings.quicksand.enabled == '1' %}enabled{% else %}disabled{% endif %}"
33
  data-quicksand-duration="{% if settings.quicksand.duration is not empty %}{{ settings.quicksand.duration }}{% else %}none{% endif %}"
34
  {% if settings.browserUrlTooltipHide is defined and settings.browserUrlTooltipHide == 1 %}
35
  data-popup-type="disable"
94
  data-caption-mobile="{{ settings.thumbnail.isMobile|default('false') }}" {# Always show in mobile #}
95
  data-hide-long-tltp-title="{{ settings.hideLongTooltipTitles == 'on' ? '1' : '0' }}"
96
  data-caption-disabled-on-mobile="{{ settings.thumbnail.isDisableMobileCaption|default('false') }}"
97
+ {% if settings.lazyload.enabled == '1' %}
98
+ data-lazyload-enable='1'
99
+ data-lazyload-effect="{{ settings.lazyload.animationEffect | default('show') }}"
100
+ data-lazyload-effect-duration="{{ settings.lazyload.effectDuration | default('400') }}"
101
+ {% endif %}
102
  {% if settings.thumbnail.overlay.effect == 'polaroid' %}
103
  data-polaroid-animation="{{ settings.thumbnail.overlay.polaroidAnimation | default('true') }}"
104
  data-polaroid-scattering="{{ settings.thumbnail.overlay.polaroidScattering | default('true') }}"
105
  data-polaroid-frame-width="{{ settings.thumbnail.overlay.polaroidFrameWidth | default(20) }}"
106
+ {% if settings.captionBuilder.enabled == '1' %}
107
+ data-polaroid-caption-height="{{ settings.captionBuilder.title.height | default(50) }}"
108
+ {% endif %}
109
  {% endif %}
110
  {% if settings.area.grid == '3' %}
111
  data-responsive-colums="{{ settings.general.responsiveColumns|default("")|json_encode|e }}"
src/GridGallery/Galleries/views/shortcode/helpers.twig CHANGED
@@ -237,13 +237,15 @@
237
 
238
  {% set var_image_attributes %}
239
  {% block image_attributes %}
240
- {% set imgSrcStr = previewImgUrl|trim|replace('/%20$/', '') %}
241
  {% set imgClassStr = 'ggImg' %}
242
  {% if settings.lazyload.enabled == '1' %}
243
  data-gg-real-image-href="{{ imgSrcStr }}"
244
  {# {% if settings.thumbnail.overlay.imageOnHoverEnable != '1' %} #}
245
- {% if settings.lazyload.defaultImgUrl | length %}
246
  {% set imgSrcStr = settings.lazyload.defaultImgUrl %}
 
 
247
  {% endif %}
248
  {% set imgClassStr = imgClassStr ~ ' ggLazyImg' %}
249
  {# {% endif %} #}
237
 
238
  {% set var_image_attributes %}
239
  {% block image_attributes %}
240
+ {% set imgSrcStr = previewImgUrl|trim|replace('/%20$/', '')|htmlspecialchars_decode %}
241
  {% set imgClassStr = 'ggImg' %}
242
  {% if settings.lazyload.enabled == '1' %}
243
  data-gg-real-image-href="{{ imgSrcStr }}"
244
  {# {% if settings.thumbnail.overlay.imageOnHoverEnable != '1' %} #}
245
+ {% if settings.lazyload.hideLoader != 'true' and settings.lazyload.defaultImgUrl | length %}
246
  {% set imgSrcStr = settings.lazyload.defaultImgUrl %}
247
+ {% else %}
248
+ {% set imgSrcStr = settings.lazyload.leerImgUrl %}
249
  {% endif %}
250
  {% set imgClassStr = imgClassStr ~ ' ggLazyImg' %}
251
  {# {% endif %} #}
src/GridGallery/Galleries/views/sort.twig CHANGED
@@ -2,8 +2,8 @@
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs" style="float: left; padding: 20px 0 0 20px;">
5
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
6
- <i class="fa fa-angle-right"></i>
7
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('galleries', 'settings', { 'gallery_id': gallery.id }) }}">{{ gallery.title }}</a>
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs" style="float: left; padding: 20px 0 0 20px;">
5
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
6
+ {#<i class="fa fa-angle-right"></i>#}
7
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('galleries', 'settings', { 'gallery_id': gallery.id }) }}">{{ gallery.title }}</a>
src/GridGallery/Galleries/views/view.twig CHANGED
@@ -2,8 +2,8 @@
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs" style="float: left; padding: 20px 0 0 20px;">
5
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
6
- <i class="fa fa-angle-right"></i>
7
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('galleries', 'settings', { 'gallery_id': gallery.id }) }}">{{ gallery.title }}</a>
@@ -25,7 +25,7 @@
25
  <a href="{{ environment.generateUrl('galleries', 'sort', { 'gallery_id': gallery.id }) }}"
26
  class="button">
27
  <i class="fa fa-fw fa-sort"></i>
28
- {{ translate('Sort Images Mode') }}
29
  </a>
30
  </li>
31
  </ul>
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs" style="float: left; padding: 20px 0 0 20px;">
5
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
6
+ {#<i class="fa fa-angle-right"></i>#}
7
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('galleries', 'settings', { 'gallery_id': gallery.id }) }}">{{ gallery.title }}</a>
25
  <a href="{{ environment.generateUrl('galleries', 'sort', { 'gallery_id': gallery.id }) }}"
26
  class="button">
27
  <i class="fa fa-fw fa-sort"></i>
28
+ {{ translate('Grid View') }}
29
  </a>
30
  </li>
31
  </ul>
src/GridGallery/Insta/views/authorization.twig CHANGED
@@ -2,8 +2,8 @@
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
5
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
6
- <i class="fa fa-angle-right"></i>
7
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': id }) }}">{{ galleryName|capitalize }}</a>
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
5
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
6
+ {#<i class="fa fa-angle-right"></i>#}
7
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': id }) }}">{{ galleryName|capitalize }}</a>
src/GridGallery/Insta/views/index.twig CHANGED
@@ -3,8 +3,8 @@
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
7
- <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
9
  <i class="fa fa-angle-right"></i>
10
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': id }) }}">{{ galleryName|capitalize }}</a>
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
+ {#<a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>#}
7
+ {#<i class="fa fa-angle-right"></i>#}
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
9
  <i class="fa fa-angle-right"></i>
10
  <a href="{{ environment.generateUrl('galleries', 'view', { 'gallery_id': id }) }}">{{ galleryName|capitalize }}</a>
src/GridGallery/Installer/Model.php CHANGED
@@ -41,7 +41,9 @@ class GridGallery_Installer_Model extends GridGallery_Core_BaseModel
41
  }
42
 
43
  foreach ($queries as $table => $query) {
44
- $this->delta($this->prefix($query));
 
 
45
  }
46
 
47
  return true;
@@ -59,7 +61,9 @@ class GridGallery_Installer_Model extends GridGallery_Core_BaseModel
59
  }
60
 
61
  foreach ($queries as $table => $query) {
62
- $this->dropTable($table);
 
 
63
  }
64
 
65
  return true;
@@ -72,12 +76,34 @@ class GridGallery_Installer_Model extends GridGallery_Core_BaseModel
72
  public function update($queries)
73
  {
74
  foreach ($queries as $table => $query) {
75
- if (!$this->tableExists($table)) {
76
- $this->delta($this->prefix($query));
 
 
 
 
77
  }
78
  }
79
  }
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  protected function dropTable($table)
82
  {
83
  $importantTable = array(
41
  }
42
 
43
  foreach ($queries as $table => $query) {
44
+ if($this->isCreateTable($table)) {
45
+ $this->delta($this->prefix($query));
46
+ }
47
  }
48
 
49
  return true;
61
  }
62
 
63
  foreach ($queries as $table => $query) {
64
+ if($this->isCreateTable($table)) {
65
+ $this->dropTable($table);
66
+ }
67
  }
68
 
69
  return true;
76
  public function update($queries)
77
  {
78
  foreach ($queries as $table => $query) {
79
+ if($this->isCreateTable($table)) {
80
+ if(!$this->tableExists($table)) {
81
+ $this->delta($this->prefix($query));
82
+ }
83
+ } else {
84
+ $this->alterTable($table, $this->prefix($query));
85
  }
86
  }
87
  }
88
 
89
+ public function isCreateTable($table)
90
+ {
91
+ return strpos($table, '{prefix}') === 0;
92
+ }
93
+
94
+ public function alterTable($params, $query)
95
+ {
96
+ $parts = explode(':', $params);
97
+ if(sizeof($parts) != 3) return;
98
+
99
+ if($parts[0] == 'altercolumn') {
100
+ $existsColumn = $this->db->get_results('Show columns from `'.str_replace('{prefix}', $this->db->prefix, $parts[2]).'` like \''.$parts[1].'\'');
101
+ if(!$this->db->last_error && (!isset($existsColumn) || !is_array($existsColumn) || sizeof($existsColumn) == 0)) {
102
+ $this->db->query($query);
103
+ }
104
+ }
105
+ }
106
+
107
  protected function dropTable($table)
108
  {
109
  $importantTable = array(
src/GridGallery/Installer/Queries.php CHANGED
@@ -29,6 +29,10 @@
29
  `attachment_id` int(11) NOT NULL,
30
  `position` int(11) NOT NULL DEFAULT \'9000\',
31
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
 
 
 
 
32
  PRIMARY KEY (`id`)
33
  ) AUTO_INCREMENT=0 DEFAULT CHARSET=utf8',
34
 
@@ -119,4 +123,10 @@
119
  `allow_use` TINYINT(1) NOT NULL DEFAULT 0,
120
  PRIMARY KEY (`gallery_id`)
121
  ) DEFAULT CHARSET=utf8',
 
 
 
 
 
 
122
  );
29
  `attachment_id` int(11) NOT NULL,
30
  `position` int(11) NOT NULL DEFAULT \'9000\',
31
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
32
+ `link_type` TINYINT(4) NOT NULL DEFAULT 0,
33
+ `link_full` varchar(255) CHARACTER SET utf8 NOT NULL,
34
+ `link_thumb` varchar(255) CHARACTER SET utf8 NOT NULL,
35
+ `link_default` varchar(255) CHARACTER SET utf8 NOT NULL,
36
  PRIMARY KEY (`id`)
37
  ) AUTO_INCREMENT=0 DEFAULT CHARSET=utf8',
38
 
123
  `allow_use` TINYINT(1) NOT NULL DEFAULT 0,
124
  PRIMARY KEY (`gallery_id`)
125
  ) DEFAULT CHARSET=utf8',
126
+
127
+ 'altercolumn:link_type:{prefix}gg_photos' => 'ALTER TABLE `{prefix}gg_photos`
128
+ ADD COLUMN `link_type` TINYINT(4) NOT NULL DEFAULT 0,
129
+ ADD COLUMN `link_full` varchar(255) CHARACTER SET utf8 NOT NULL,
130
+ ADD COLUMN `link_thumb` varchar(255) CHARACTER SET utf8 NOT NULL,
131
+ ADD COLUMN `link_default` varchar(255) CHARACTER SET utf8 NOT NULL',
132
  );
src/GridGallery/Optimization/views/error.twig CHANGED
@@ -2,7 +2,7 @@
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
5
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
6
  <i class="fa fa-angle-right"></i>
7
  <a href="{{ environment.generateUrl('optimization') }}">{{ translate('Image Optimization') }}</a>
8
  </nav>
2
 
3
  {% block header %}
4
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
5
+ <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
6
  <i class="fa fa-angle-right"></i>
7
  <a href="{{ environment.generateUrl('optimization') }}">{{ translate('Image Optimization') }}</a>
8
  </nav>
src/GridGallery/Optimization/views/index.twig CHANGED
@@ -4,7 +4,7 @@
4
  {% import '@core/helpers.twig' as hlp %}
5
 
6
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
7
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('optimization') }}">{{ translate('Image Optimization') }}</a>
10
  </nav>
4
  {% import '@core/helpers.twig' as hlp %}
5
 
6
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
7
+ <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
8
  <i class="fa fa-angle-right"></i>
9
  <a href="{{ environment.generateUrl('optimization') }}">{{ translate('Image Optimization') }}</a>
10
  </nav>
src/GridGallery/Overview/views/index.twig CHANGED
@@ -3,7 +3,7 @@
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
7
  <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Overview') }}</a>
9
  </nav>
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
+ <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
7
  <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Overview') }}</a>
9
  </nav>
src/GridGallery/Photos/views/index.twig CHANGED
@@ -3,7 +3,7 @@
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
- <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Gallery by Supsystic') }}</a>
7
  <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('photos', 'index') }}">{{ translate('Images') }}</a>
9
  </nav>
3
  {% block header %}
4
 
5
  <nav id="supsystic-breadcrumbs" class="supsystic-breadcrumbs">
6
+ <a href="{{ environment.generateUrl('galleries') }}">{{ translate('Galleries') }}</a>
7
  <i class="fa fa-angle-right"></i>
8
  <a href="{{ environment.generateUrl('photos', 'index') }}">{{ translate('Images') }}</a>
9
  </nav>
src/GridGallery/Promo/Module.php CHANGED
@@ -14,15 +14,13 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
14
  {
15
  parent::onInit();
16
 
17
- add_action(
18
- //$this->getConfig()->get('hooks_prefix') . 'after_ui_loaded',
19
- 'admin_init',
20
- array($this, 'loadAdminPromoAssets')
21
- );
22
-
23
  add_action('admin_footer', array($this, 'checkPluginDeactivation'));
24
-
25
  add_action('wp_ajax_sgg-tutorial-close', array($this, 'endTutorial'));
 
 
 
26
  }
27
  public function loadAdminPromoAssets() {
28
  $ui = $this->getEnvironment()->getModule('Ui');
@@ -246,4 +244,40 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
246
  }
247
  return preg_replace('/\s+/', ' ', trim($twig->render($template, $parameters)));
248
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  }
14
  {
15
  parent::onInit();
16
 
17
+ //add_action($this->getConfig()->get('hooks_prefix') . 'after_ui_loaded', array($this, 'loadAdminPromoAssets'));
18
+ add_action('admin_init', array($this, 'loadAdminPromoAssets'));
 
 
 
 
19
  add_action('admin_footer', array($this, 'checkPluginDeactivation'));
 
20
  add_action('wp_ajax_sgg-tutorial-close', array($this, 'endTutorial'));
21
+
22
+ $dispatcher = $this->getEnvironment()->getDispatcher();
23
+ $dispatcher->on('messages', array($this, 'renderDiscountMsg'));
24
  }
25
  public function loadAdminPromoAssets() {
26
  $ui = $this->getEnvironment()->getModule('Ui');
244
  }
245
  return preg_replace('/\s+/', ' ', trim($twig->render($template, $parameters)));
246
  }
247
+ public function renderDiscountMsg()
248
+ {
249
+ $environment = $this->getEnvironment();
250
+ if($environment->isPro() && $environment->isModule('license') && $environment->getModule('license')->isActive()) {
251
+ $proPluginsList = array(
252
+ 'ultimate-maps-by-supsystic-pro', 'newsletters-by-supsystic-pro', 'contact-form-by-supsystic-pro', 'live-chat-pro',
253
+ 'digital-publications-supsystic-pro', 'coming-soon-supsystic-pro', 'price-table-supsystic-pro', 'tables-generator-pro',
254
+ 'social-share-pro', 'popup-by-supsystic-pro', 'supsystic_slider_pro', 'supsystic-gallery-pro', 'google-maps-easy-pro',
255
+ 'backup-supsystic-pro',
256
+ );
257
+ $activePluginsList = get_option('active_plugins', array());
258
+ $activeProPluginsCount = 0;
259
+ foreach($activePluginsList as $actPl) {
260
+ foreach($proPluginsList as $proPl) {
261
+ if(strpos($actPl, $proPl) !== false) {
262
+ $activeProPluginsCount++;
263
+ }
264
+ }
265
+ }
266
+ if($activeProPluginsCount === 1) {
267
+ $twig = $this->getEnvironment()->getTwig();
268
+ $twig->display('@promo/discountMessage.twig', array(
269
+ 'bundlePageLink' => '//supsystic.com/all-plugins/',
270
+ 'buyLink' => $this->getDiscountBuyUrl(),
271
+ ));
272
+ }
273
+ }
274
+ }
275
+ public function getDiscountBuyUrl() {
276
+ $environment = $this->getEnvironment();
277
+ $pluginCode = $environment->getConfig()->get('plugin_product_code');
278
+ $license = $environment->getModule('license')->getHelper()->getCredentials();
279
+ $license['key'] = md5($license['key']);
280
+ $license = urlencode(base64_encode(implode('|', $license)));
281
+ return 'http://supsystic.com/?mod=manager&pl=lms&action=extend&plugin_code='. $pluginCode. '&lic='. $license;
282
+ }
283
  }
src/GridGallery/Promo/views/discountMessage.twig ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ .supsystic-container .bundleMessageShell {
3
+ background-color: #ffffff;
4
+ padding: 10px 10px 0 10px;
5
+ margin-bottom: -20px;
6
+ }
7
+ .supsystic-container .bundleMessage {
8
+ border: 3px solid #52bac5;
9
+ text-align: center;
10
+ padding: 10px;
11
+ vertical-align: middle;
12
+ }
13
+ .supsystic-container .bundleMessage .text {
14
+ font-size: 21px;
15
+ line-height: 28px;
16
+ vertical-align: middle;
17
+ }
18
+ .supsystic-container .bundleMessage .text a {
19
+ color: #52bac5;
20
+ }
21
+ .supsystic-container .bundleMessage .button {
22
+ height: 40px !important;
23
+ line-height: 40px !important;
24
+ font-size: 17px !important;
25
+ background-color: #52bac5 !important;
26
+ border: none!important;
27
+ color: #fff !important;
28
+ padding: 0 26px!important;
29
+ margin-left: 20px;
30
+ vertical-align: middle;
31
+ }
32
+ </style>
33
+ <div class="bundleMessageShell">
34
+ <div class="bundleMessage">
35
+ <span class="text">{{ environment.translate('Upgrade to bundle and get an access to <a href="%s" target="_blank">all 14 plugins</a> more than 80%% off!') |format(bundlePageLink)|raw }}</span>
36
+ <a href="{{ buyLink }}" class="button" target="_blank">{{ environment.translate('Buy Now') }}</a>
37
+ </div>
38
+ </div>
src/GridGallery/SocialSharing/Module.php CHANGED
@@ -51,7 +51,7 @@ class GridGallery_SocialSharing_Module extends GridGallery_Core_Module{
51
  $galleriesList = $galleryModel->getList();
52
  foreach($galleriesList as $gallery){
53
  $settings = $settingsModel->get($gallery->id);
54
- if($settings->data['socialSharing']['projectId'] == $projectId){
55
  $settings->data['socialSharing']['enabled'] = false;
56
  $settingsModel->save($gallery->id,$settings->data);
57
  $galleryModule->cleanCache($gallery->id);
51
  $galleriesList = $galleryModel->getList();
52
  foreach($galleriesList as $gallery){
53
  $settings = $settingsModel->get($gallery->id);
54
+ if(isset($settings->data['socialSharing']['projectId']) && $settings->data['socialSharing']['projectId'] == $projectId){
55
  $settings->data['socialSharing']['enabled'] = false;
56
  $settingsModel->save($gallery->id,$settings->data);
57
  $galleryModule->cleanCache($gallery->id);
src/GridGallery/Ui/Module.php CHANGED
@@ -76,8 +76,12 @@ class GridGallery_Ui_Module extends Rsc_Mvc_Module
76
  wp_localize_script('sg-ajax.js', 'SupsysticGallery', array('nonce' => wp_create_nonce('supsystic-gallery')));
77
  // really assigned to /app/assets/js/grid-gallery.js Handle
78
  wp_localize_script('sg-ajax.js', 'sggParams', array('isRtl' => (int) is_rtl()));
79
- wp_enqueue_script('webfont-js', '//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js');
80
- wp_localize_script('webfont-js', 'sggStandartFontsList', $this->getStandardFontsList());
 
 
 
 
81
  }
82
 
83
  public function getBackendJS() {
76
  wp_localize_script('sg-ajax.js', 'SupsysticGallery', array('nonce' => wp_create_nonce('supsystic-gallery')));
77
  // really assigned to /app/assets/js/grid-gallery.js Handle
78
  wp_localize_script('sg-ajax.js', 'sggParams', array('isRtl' => (int) is_rtl()));
79
+ wp_localize_script('sg-ajax.js', 'sggStandartFontsList', $this->getStandardFontsList());
80
+ if($this->getEnvironment()->isPro()) {
81
+ if(version_compare($this->getEnvironment()->getConfig()->get('pro_plugin_version'), '2.7.6', '<')) {
82
+ wp_enqueue_script('webfont-js', '//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js');
83
+ }
84
+ }
85
  }
86
 
87
  public function getBackendJS() {
src/GridGallery/Ui/views/type.twig CHANGED
@@ -13,12 +13,17 @@
13
  </th>
14
  <th scope="col" class="ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id">
15
  {{ translate('Caption / Description') }}
16
- {{ hlp.showTooltip('<b>' ~ translate('Caption') ~ '</b>: ' ~ translate('Add image caption. You may find detailed caption settings at Settings > Captions page')
17
- ~ '</br><b>' ~ translate('Description') ~ '</b>: ' ~ translate('Add image description. You may find detailed description settings at Settings > Captions page. Note: in order to show descriptions and to change the description settings \'Caption builder\' option should be enabled first.'), 'top', true) }}
 
 
18
  </th>
19
  <th scope="col" class="ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id">
20
  {{ translate('SEO Alt / Title') }}
21
- {{ hlp.showTooltip(translate('Add SEO keywords, separated by comma, or SEO-optimized sentences. They will appear under your image, when it opens in pop-up window.'), 'top', true) }}
 
 
 
22
  </th>
23
  <th scope="col" class="ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id">
24
  {{ translate('Options') }}
@@ -192,7 +197,15 @@
192
  <input id="position-image-{{ image.id }}" type="text" disabled style="height:24px; width: 30px;" value="{{ image.position + 1 }}">
193
  </td>
194
  <td class="column-icon media-icon top-align">
195
- <a href="{{ image.attachment.sizes.full.url }}" data-colorbox>
 
 
 
 
 
 
 
 
196
  {% if image.attachment.sizes.thumbnail is empty %}
197
  {% set src = image.attachment.sizes.full.url %}
198
  {% if image.attachment.orientation == 'landscape' %}
@@ -205,7 +218,7 @@
205
  {% set sizes = { 'width': 90, 'height': 90 } %}
206
  {% endif %}
207
  <img width="100" height="100" data-original="{{ src }}"
208
- class="attachment-thumbnail supsystic-lazy" alt="{{ image.attachment.title }}">
209
  </a>
210
  </td>
211
  <td class="title column-title top-align" style="text-align: left; padding-left:15px !important;">
@@ -247,8 +260,8 @@
247
  </td>
248
  <td class="title column-textarea top-align">
249
  <form id="photo-editor-seo-{{ image.id }}" class="photo-editor" data-id="{{ image.id }}">
250
- <textarea name="alt" rows="2" placeholder="{{ translate('Alternative text') }}">{% if image.attachment.alt is not empty %}{% if image.attachment.alt == " " %}{{ ""}}{% else %}{{ image.attachment.alt }}{% endif %}{% else %}{{ image.attachment.title }}{% endif %}</textarea></br>
251
- <textarea name="description" rows="5" placeholder="{{ translate('Description') }}">{{ image.attachment.description|raw }}</textarea>
252
  {{ environment.getDispatcher().dispatch('after_photo_attachment_form', [['alt', 'description'], image.attachment.id]) }}
253
  </form>
254
  </td>
13
  </th>
14
  <th scope="col" class="ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id">
15
  {{ translate('Caption / Description') }}
16
+ {{ hlp.showTooltip('<b>' ~ translate('Caption') ~ '</b>: '
17
+ ~ translate('Add image caption. You may find detailed caption settings at Settings > Captions page')
18
+ ~ '</br></br><b>' ~ translate('Description') ~ '</b>: '
19
+ ~ translate('Add image description. You may find detailed description settings at Settings > Captions page. Note: in order to show descriptions and to change the description settings \'Caption builder\' option should be enabled first.'), 'top', true) }}
20
  </th>
21
  <th scope="col" class="ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id">
22
  {{ translate('SEO Alt / Title') }}
23
+ {{ hlp.showTooltip(translate('<b>' ~ translate('SEO Alt') ~ '</b>: '
24
+ ~ translate('Add SEO keywords, separated by comma, or SEO-optimized sentences. They will appear under your image, when it opens in pop-up window.')
25
+ ~ '</br></br><b>' ~ translate('Title') ~ '</b>: '
26
+ ~ translate("Add text for title's attribute of image caption. Will be shown by hovering on caption.")), 'top', true) }}
27
  </th>
28
  <th scope="col" class="ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id">
29
  {{ translate('Options') }}
197
  <input id="position-image-{{ image.id }}" type="text" disabled style="height:24px; width: 30px;" value="{{ image.position + 1 }}">
198
  </td>
199
  <td class="column-icon media-icon top-align">
200
+ {% set remoteImgClass = "" %}
201
+ {% set remoteLinkClass = "" %}
202
+ {% set remoteImgType = "" %}
203
+ {% if image.attachment.isRemoteImage is defined and image.attachment.isRemoteImage == 1 %}
204
+ {% set remoteImgClass = " remote-thumbnail" %}
205
+ {% set remoteLinkClass = "remote-link" %}
206
+ {% set remoteImgType = ' data-cbox-photo=1' %}
207
+ {% endif %}
208
+ <a href="{{ image.attachment.sizes.full.url }}" data-colorbox class="{{ remoteLinkClass }}"{{ remoteImgType }}>
209
  {% if image.attachment.sizes.thumbnail is empty %}
210
  {% set src = image.attachment.sizes.full.url %}
211
  {% if image.attachment.orientation == 'landscape' %}
218
  {% set sizes = { 'width': 90, 'height': 90 } %}
219
  {% endif %}
220
  <img width="100" height="100" data-original="{{ src }}"
221
+ class="attachment-thumbnail supsystic-lazy{{ remoteImgClass }}" alt="{{ image.attachment.title }}">
222
  </a>
223
  </td>
224
  <td class="title column-title top-align" style="text-align: left; padding-left:15px !important;">
260
  </td>
261
  <td class="title column-textarea top-align">
262
  <form id="photo-editor-seo-{{ image.id }}" class="photo-editor" data-id="{{ image.id }}">
263
+ <textarea name="alt" rows="2" placeholder="{{ translate('SEO Alt') }}">{% if image.attachment.alt is not empty %}{% if image.attachment.alt == " " %}{{ ""}}{% else %}{{ image.attachment.alt }}{% endif %}{% else %}{{ image.attachment.title }}{% endif %}</textarea></br>
264
+ <textarea name="description" rows="5" placeholder="{{ translate('Title') }}">{{ image.attachment.description|raw }}</textarea>
265
  {{ environment.getDispatcher().dispatch('after_photo_attachment_form', [['alt', 'description'], image.attachment.id]) }}
266
  </form>
267
  </td>