Photo Gallery by Supsystic - Version 1.15.1

Version Description

Download this release

Release Info

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

Code changes from version 1.14.10 to 1.15.1

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.14.10
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.14.10');
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.15.1
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.15.1');
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.5
6
- Stable tag: 1.14.10
7
 
8
  Photo Gallery with template editor to build amazing media gallery. Responsive mobile gallery with grid, masonry, carousel, polaroid and more gallery
9
 
@@ -176,6 +176,10 @@ Add watermark on each image in your gallery and you protect your photos from the
176
  14. Photo gallery plugin admin area. Captions and Icons tab. Create impressive gallery with icons and fantastic caption effect.
177
 
178
  == Changelog ==
 
 
 
 
179
  = Gallery 1.14.10 / 15.09.2020 =
180
  * Add support WP 5.5
181
 
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.7
6
+ Stable tag: 1.15.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
 
176
  14. Photo gallery plugin admin area. Captions and Icons tab. Create impressive gallery with icons and fantastic caption effect.
177
 
178
  == Changelog ==
179
+ = Gallery 1.15.1 / 26.03.2021 =
180
+ * Add support WP 5.7
181
+ * Fixed for OVH
182
+
183
  = Gallery 1.14.10 / 15.09.2020 =
184
  * Add support WP 5.5
185
 
src/GridGallery/Galleries/assets/js/frontend.js CHANGED
@@ -1834,7 +1834,7 @@
1834
  self.lazyLoadTriggerHandler();
1835
  },
1836
  });
1837
-
1838
  // Load more height fix
1839
  if (slimScroll.height() < height) {
1840
  slimScroll.height(height);
1834
  self.lazyLoadTriggerHandler();
1835
  },
1836
  });
1837
+
1838
  // Load more height fix
1839
  if (slimScroll.height() < height) {
1840
  slimScroll.height(height);
src/GridGallery/Galleries/assets/js/lib/jquery.slimscroll.js CHANGED
@@ -530,13 +530,13 @@
530
  // touchDifY = e.originalEvent.touches[0].pageY;
531
  // }
532
  // });
533
- //
534
  // me.on('touchmove', function(e){
535
  // // prevent scrolling the page if necessary
536
  // if(!releaseScroll)
537
  // {
538
- // e.originalEvent.preventDefault();
539
- // }
540
  // if (e.originalEvent.touches.length)
541
  // {
542
  // // see how far user swiped
@@ -556,7 +556,7 @@
556
  }
557
 
558
  if(o.isMobile) {
559
- var hammer = new Hammer_gg(me.context),
560
  scrollWidth = 50;
561
 
562
  hammer.get('pan').set({
530
  // touchDifY = e.originalEvent.touches[0].pageY;
531
  // }
532
  // });
533
+ //
534
  // me.on('touchmove', function(e){
535
  // // prevent scrolling the page if necessary
536
  // if(!releaseScroll)
537
  // {
538
+ // e.originalEvent.preventDefault();
539
+ // }
540
  // if (e.originalEvent.touches.length)
541
  // {
542
  // // see how far user swiped
556
  }
557
 
558
  if(o.isMobile) {
559
+ var hammer = new Hammer_gg(this),
560
  scrollWidth = 50;
561
 
562
  hammer.get('pan').set({
src/GridGallery/Galleries/views/r314/shortcode/helpers.twig CHANGED
@@ -168,7 +168,7 @@
168
  <figcaption data-alpha="{{ figcaptionAlpha|trim }}" style="{{ figcaptionStyle|trim }}" >
169
  <div class="grid-gallery-figcaption-wrap" style="{% if environment.isPro() == false or settings.icons is not defined or settings.icons.enabled == 'false' %}vertical-align:{{ settings.thumbnail.overlay.position }};{% endif %}">
170
  {% if environment.isPro() and settings.icons is defined and settings.icons.enabled == 'true' %}
171
- <div class="hi-icon-wrap {{ settings.icons.effect[0:length-1] }} {{ settings.icons.effect }}" data-margin="{{ settings.icons.margin|default(5) }}">
172
  {% if photo.attachment.video is defined and photo.attachment.video is not empty %}
173
  {% set videoUrl %}
174
  {% if 'youtu' in photo.attachment.video %}
@@ -187,7 +187,7 @@
187
  margin-right:{{ settings.icons.margin|default(5) ~ 'px' }};
188
  {% endset %}
189
 
190
- <a href="{{ videoUrl|trim }}" class="hi-icon gg-video {{ videoIcon }}" style="{{ iconStyle|trim }}">
191
  {#Watch the video {{ photo.attachment.caption }}#}
192
  </a>
193
  {% endif %}
@@ -197,7 +197,7 @@
197
  {% endif %}
198
 
199
  {% if videoUrl is not defined and (photo.attachment.external_link is not defined or photo.attachment.external_link is empty) %}
200
- <a href="{{ photo.attachment.sizes.full.url }}" class="hi-icon icon-fullscreen gg-colorbox{% if settings.box.type == '2' and link is not defined %} pbox{% endif %}" style="{{ iconStyle|trim }}">Open in pop-up window</a>
201
  {% endif %}
202
  </div>
203
  {% endif %}
168
  <figcaption data-alpha="{{ figcaptionAlpha|trim }}" style="{{ figcaptionStyle|trim }}" >
169
  <div class="grid-gallery-figcaption-wrap" style="{% if environment.isPro() == false or settings.icons is not defined or settings.icons.enabled == 'false' %}vertical-align:{{ settings.thumbnail.overlay.position }};{% endif %}">
170
  {% if environment.isPro() and settings.icons is defined and settings.icons.enabled == 'true' %}
171
+ <div class="hi-icon-wrap {{' '}} {{ settings.icons.effect[0:length-1] }} {{' '}} {{ settings.icons.effect }}" data-margin="{{ settings.icons.margin|default(5) }}">
172
  {% if photo.attachment.video is defined and photo.attachment.video is not empty %}
173
  {% set videoUrl %}
174
  {% if 'youtu' in photo.attachment.video %}
187
  margin-right:{{ settings.icons.margin|default(5) ~ 'px' }};
188
  {% endset %}
189
 
190
+ <a href="{{ videoUrl|trim }}" class="hi-icon gg-video {{' '}} {{ videoIcon }}" style="{{ iconStyle|trim }}">
191
  {#Watch the video {{ photo.attachment.caption }}#}
192
  </a>
193
  {% endif %}
197
  {% endif %}
198
 
199
  {% if videoUrl is not defined and (photo.attachment.external_link is not defined or photo.attachment.external_link is empty) %}
200
+ <a href="{{ photo.attachment.sizes.full.url }}" class="hi-icon icon-fullscreen gg-colorbox {{' '}} {% if settings.box.type == '2' and link is not defined %} pbox{% endif %}" style="{{ iconStyle|trim }}">Open in pop-up window</a>
201
  {% endif %}
202
  </div>
203
  {% endif %}
src/GridGallery/Galleries/views/settings.twig CHANGED
@@ -88,7 +88,7 @@
88
  {% set simpleIconsEntryVal %}
89
  <div class="sggFigCaptionIconsEntry ggSettingsDisplNone
90
 
91
- hi-icon-wrap {{ settings.icons.effect[0:length-1] }} {{ settings.icons.effect }}">
92
 
93
  {% set videoIcon = 'youtu' in gallery.photos[0].attachment.video ? 'fa-youtube-play' : 'fa-vimeo' %}
94
  {% set iconStyle %}
@@ -97,7 +97,7 @@
97
  margin-right:{{ settings.icons.margin }}px;
98
  {% endif %}
99
  {% endset %}
100
- <a href="#" class="hi-icon gg-icon-video fa {{ videoIcon }}" style="{{ iconStyle|trim }}"></a>
101
  <a href="#" class="hi-icon gg-icon-link fa fa-link" style="{{ iconStyle|trim }}"></a>
102
  <a href="#" class="hi-icon gg-icon-popup fa fa-expand" style="{{ iconStyle|trim }}"></a>
103
  <a href="#" class="hi-icon gg-icon-download fa fa-download" style="{{ iconStyle|trim }}"></a>
@@ -2440,13 +2440,13 @@
2440
  }
2441
  %}
2442
  {% set var_icon_wrap_item_class %}
2443
- {% block icon_wrap_item_class %}
2444
  icon-fullscreen
2445
  {% endblock %}
2446
  {% endset %}
2447
  {% for name, p in iconsEffects %}
2448
- <div class="hi-icon-wrap {{ name[0:length-1] }} {{ name }} holderjs" style="display: inline-block; padding: {{ p.padding }}; width: 150px; height: 150px; background-color: #434A52; background-repeat: no-repeat; overflow: hidden;">
2449
- <a href="#" class="hi-icon {{ var_icon_wrap_item_class }}" data-effect="{{ name }}" data-effect-base="{{ name[0:length-1] }}" title="{{ translate('Click on the icon to select effect') ~ " " ~ name }}" style="">Select</a>
2450
  </div>
2451
  {% endfor %}
2452
  </div>
88
  {% set simpleIconsEntryVal %}
89
  <div class="sggFigCaptionIconsEntry ggSettingsDisplNone
90
 
91
+ hi-icon-wrap {{' '}} {{ settings.icons.effect[0:length-1] }} {{' '}} {{ settings.icons.effect }}">
92
 
93
  {% set videoIcon = 'youtu' in gallery.photos[0].attachment.video ? 'fa-youtube-play' : 'fa-vimeo' %}
94
  {% set iconStyle %}
97
  margin-right:{{ settings.icons.margin }}px;
98
  {% endif %}
99
  {% endset %}
100
+ <a href="#" class="hi-icon gg-icon-video fa {{' '}} {{ videoIcon }}" style="{{ iconStyle|trim }}"></a>
101
  <a href="#" class="hi-icon gg-icon-link fa fa-link" style="{{ iconStyle|trim }}"></a>
102
  <a href="#" class="hi-icon gg-icon-popup fa fa-expand" style="{{ iconStyle|trim }}"></a>
103
  <a href="#" class="hi-icon gg-icon-download fa fa-download" style="{{ iconStyle|trim }}"></a>
2440
  }
2441
  %}
2442
  {% set var_icon_wrap_item_class %}
2443
+ {% block icon_wrap_item_class %}
2444
  icon-fullscreen
2445
  {% endblock %}
2446
  {% endset %}
2447
  {% for name, p in iconsEffects %}
2448
+ <div class="hi-icon-wrap {{' '}} {{ name[0:length-1] }} {{' '}} {{ name }} {{' '}} holderjs" style="display: inline-block; padding: {{ p.padding }}; width: 150px; height: 150px; background-color: #434A52; background-repeat: no-repeat; overflow: hidden;">
2449
+ <a href="#" class="hi-icon {{' '}} {{ var_icon_wrap_item_class }}" data-effect="{{ name }}" data-effect-base="{{ name[0:length-1] }}" title="{{ translate('Click on the icon to select effect') ~ " " ~ name }}" style="">Select</a>
2450
  </div>
2451
  {% endfor %}
2452
  </div>
src/GridGallery/Galleries/views/shortcode/helpers.twig CHANGED
@@ -318,7 +318,7 @@
318
  {# Icons #}
319
  {% if settings.icons is defined and settings.icons.enabled == 'true' %}
320
  <div
321
- class="hi-icon-wrap {{ settings.icons.effect[0:length-1] }} {{ settings.icons.effect }}"
322
  data-margin="{{ settings.icons.margin|default(5) }}"
323
  >
324
  {# save parameters for show #}
@@ -375,7 +375,7 @@
375
  title="{{ aTitle|trim }}"
376
  {% endif %}
377
 
378
- class="hi-icon gg-video {{ videoIcon }}
379
  {% if settings.box.type == '2' %} pbox{% endif %}
380
  "
381
  style="{{ iconStyle|trim }}"
@@ -398,7 +398,7 @@
398
  {% if settings.disableImageTitle != 1 %}
399
  title="{{ aTitle|trim }}"
400
  {% endif %}
401
- data-id="gg-{{ gallery.id }}-{{ photo.id }}" href="{% if settings.openByLink == 'on' %} {{ prepareImgUrl }} {% else %} {{ photo.attachment.external_link }} {% endif %} " target="{{ photo.attachment.target|default('_self') }}" class="hi-icon icon-link {% if settings.box.type == '2' and settings.openByLink == 'on' %}pbox{% endif %}" style="{{ iconStyle|trim }}"></a>
402
  {% endif %}
403
 
404
  {% set isShowPopupIcon = 0 %}
@@ -420,7 +420,7 @@
420
  {% if settings.disableImageTitle != 1 %}
421
  title="{{ aTitle|trim }}"
422
  {% endif %}
423
- data-id="gg-{{ gallery.id }}-{{ photo.id }}" href="{{ prepareImgUrl }}" class="hi-icon icon-fullscreen gg-colorbox{% if settings.box.type == '2' and link is not defined %} pbox{% endif %}" style="{{ iconStyle|trim }}"
424
  {% if settings.box.type == '1' %}
425
  data-rel="prettyPhoto[pp_gal]"
426
  {% endif %}>Open in pop-up window</a>
318
  {# Icons #}
319
  {% if settings.icons is defined and settings.icons.enabled == 'true' %}
320
  <div
321
+ class="hi-icon-wrap {{' '}} {{ settings.icons.effect[0:length-1] }} {{' '}} {{ settings.icons.effect }}"
322
  data-margin="{{ settings.icons.margin|default(5) }}"
323
  >
324
  {# save parameters for show #}
375
  title="{{ aTitle|trim }}"
376
  {% endif %}
377
 
378
+ class="hi-icon {{' '}} gg-video {{ videoIcon }}
379
  {% if settings.box.type == '2' %} pbox{% endif %}
380
  "
381
  style="{{ iconStyle|trim }}"
398
  {% if settings.disableImageTitle != 1 %}
399
  title="{{ aTitle|trim }}"
400
  {% endif %}
401
+ data-id="gg-{{ gallery.id }}-{{ photo.id }}" href="{% if settings.openByLink == 'on' %} {{ prepareImgUrl }} {% else %} {{ photo.attachment.external_link }} {% endif %} " target="{{ photo.attachment.target|default('_self') }}" class="hi-icon icon-link {{' '}} {% if settings.box.type == '2' and settings.openByLink == 'on' %}pbox{% endif %}" style="{{ iconStyle|trim }}"></a>
402
  {% endif %}
403
 
404
  {% set isShowPopupIcon = 0 %}
420
  {% if settings.disableImageTitle != 1 %}
421
  title="{{ aTitle|trim }}"
422
  {% endif %}
423
+ data-id="gg-{{ gallery.id }}-{{ photo.id }}" href="{{ prepareImgUrl }}" class="hi-icon icon-fullscreen gg-colorbox {{' '}} {% if settings.box.type == '2' and link is not defined %} pbox{% endif %}" style="{{ iconStyle|trim }}"
424
  {% if settings.box.type == '1' %}
425
  data-rel="prettyPhoto[pp_gal]"
426
  {% endif %}>Open in pop-up window</a>