Gallery – Photo Gallery and Images Gallery - Version 1.3.6

Version Description

  • Added lightbox functionality
  • Created new show/hide close button option
  • Fixed few conflicts in gallery backend
  • Updated implementation of some navigation interface elements
  • Improved media manager implementation to avoid conflicts
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 1.3.6
Comparing to
See all releases

Code changes from version 1.3.5 to 1.3.6

addons/bootstrap-slider/js/bootstrap-slider.js CHANGED
@@ -1457,7 +1457,8 @@
1457
 
1458
  *********************************/
1459
  if($) {
1460
- var namespace = $.fn.slider ? 'bootstrapSlider' : 'slider';
 
1461
  $.bridget(namespace, Slider);
1462
  }
1463
 
1457
 
1458
  *********************************/
1459
  if($) {
1460
+ //var namespace = $.fn.slider ? 'bootstrapSlider' : 'slider';
1461
+ var namespace = 'bootstrapSlider';
1462
  $.bridget(namespace, Slider);
1463
  }
1464
 
addons/toggles/css/bootstrap-toggle.css CHANGED
@@ -64,7 +64,7 @@
64
  border-width: 0 1px;
65
  }
66
 
67
- #post .rbs_block .toggle.btn { min-width: 59px; min-height: 34px; }
68
  #post .rbs_block .toggle-on.btn { padding-right: 24px; }
69
  #post .rbs_block .toggle-off.btn { padding-left: 24px; }
70
 
64
  border-width: 0 1px;
65
  }
66
 
67
+ #post .rbs_block .toggle.btn { min-width: 66px; min-height: 34px; }
68
  #post .rbs_block .toggle-on.btn { padding-right: 24px; }
69
  #post .rbs_block .toggle-off.btn { padding-left: 24px; }
70
 
cmb2/fields/toolbox/cmb-field-toolbox.php CHANGED
@@ -42,6 +42,7 @@ class RBS_TOOLBOX {
42
 
43
  public function rbs_setup_admin_scripts() {
44
 
 
45
  wp_enqueue_style("wp-jquery-ui-dialog");
46
  wp_enqueue_script('jquery-ui-dialog');
47
 
42
 
43
  public function rbs_setup_admin_scripts() {
44
 
45
+ wp_enqueue_media();
46
  wp_enqueue_style("wp-jquery-ui-dialog");
47
  wp_enqueue_script('jquery-ui-dialog');
48
 
includes/frontend/rbs_gallery_class.php CHANGED
@@ -338,6 +338,12 @@ class roboGallery extends roboGalleryUtils{
338
  $this->rbsCounterLightboxStyle = 'display:none;';
339
  $this->addJavaScriptStyle('rbsCounterLightbox','.mfp-container .mfp-counter',2);
340
  }
 
 
 
 
 
 
341
 
342
 
343
  $this->addJavaScriptStyle('rbsBox', '.rbs-img-container');
338
  $this->rbsCounterLightboxStyle = 'display:none;';
339
  $this->addJavaScriptStyle('rbsCounterLightbox','.mfp-container .mfp-counter',2);
340
  }
341
+
342
+ if(!get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'lightboxClose', true )){
343
+ $this->rbsCloseLightboxStyle = 'display:none;';
344
+ $this->addJavaScriptStyle('rbsCloseLightbox','.mfp-container .mfp-close',2);
345
+ }
346
+
347
 
348
 
349
  $this->addJavaScriptStyle('rbsBox', '.rbs-img-container');
includes/options/rbs_gallery_options_lightbox.php CHANGED
@@ -96,6 +96,15 @@ $lightbox_group->add_field( array(
96
  'bootstrap_style'=> 1,
97
  ));
98
 
 
 
 
 
 
 
 
 
 
99
  $lightbox_group->add_field( array(
100
  'name' => __('Social Buttons', 'rbs_gallery' ),
101
  'id' => ROBO_GALLERY_PREFIX . 'lightboxSocial',
96
  'bootstrap_style'=> 1,
97
  ));
98
 
99
+ $lightbox_group->add_field( array(
100
+ 'name' => __('Close Icon', 'rbs_gallery' ),
101
+ 'id' => ROBO_GALLERY_PREFIX . 'lightboxClose',
102
+ 'type' => 'switch',
103
+ 'showhide' => 1,
104
+ 'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
105
+ 'bootstrap_style'=> 1,
106
+ ));
107
+
108
  $lightbox_group->add_field( array(
109
  'name' => __('Social Buttons', 'rbs_gallery' ),
110
  'id' => ROBO_GALLERY_PREFIX . 'lightboxSocial',
includes/options/rbs_gallery_options_shortcode.php CHANGED
@@ -22,9 +22,11 @@ $shortcode_group = new_cmb2_box( array(
22
  'closed' => rbs_gallery_set_checkbox_default_for_new_post(0),
23
  ));
24
 
25
- $shortcode_group->add_field( array(
26
- 'id' => ROBO_GALLERY_PREFIX.'short_desc',
27
- 'type' => 'title',
28
- 'before_row' => '<div class="rbs_shortcode">[robo-gallery id="'.$_GET['post'].'"]</div>',
29
- 'after_row' => '<div class="desc">'.__('use this shortcode to insert this gallery into page, post or widget','rbs_gallery')."</div>",
30
- ));
 
 
22
  'closed' => rbs_gallery_set_checkbox_default_for_new_post(0),
23
  ));
24
 
25
+ if(isset($_GET['post'])){
26
+ $shortcode_group->add_field( array(
27
+ 'id' => ROBO_GALLERY_PREFIX.'short_desc',
28
+ 'type' => 'title',
29
+ 'before_row' => '<div class="rbs_shortcode">[robo-gallery id="'.$_GET['post'].'"]</div>',
30
+ 'after_row' => '<div class="desc">'.__('use this shortcode to insert this gallery into page, post or widget','rbs_gallery')."</div>",
31
+ ));
32
+ }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.robosoft.co/robogallery
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.3
7
- Stable tag: 1.3.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -189,62 +189,66 @@ If you have some conflict in gallery back end you can sort it with new compatibi
189
 
190
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
191
 
192
- = How to customize hover effect? =
193
-
194
- In gallery settings you can find hover type options. In settings of the gallery you can select custom hover effect settings or even template for customization of the gallery thumbnails hover
195
-
196
  = What can I do if some gallery interface elements in backend do not work properly? =
197
 
198
  If you have some conflict in gallery back end you can sort it with new compatibility option. If combo box element do not drop down you can switch between classic and modern style, as result you can avoid conflict with another code.
199
 
200
- = Is it possible create gallery in Wordpress post with Gallery? =
201
 
202
- Yes, you can insert gallery into post with shortcode tag
203
 
204
- = How to generate shortcode for Wordpress page, post or widget? =
205
 
206
- First of all you can copy shortcode inside gallery settings , in separate shortcode block. Another way generate shortcode directly in post or page edit mode. You can find wizard button on top of content editor
207
 
208
  = How I can create custom (grid) layout of the thumbnails? =
209
 
210
  In our gallery we implemented layout based on columns amount. So you can general amount of the columns in your gallery grid and define custom amount of the columns which every image gonna take. As result you can customize layout of the gallery grid
211
 
212
- = How to define custom hover effect for some gallery thumbnail? =
213
-
214
- When you open gallery media manager you'll see there list of the gallery images. Click on some image and on the right side you'll see images options. Every gallery image have custom effect field where you can select different hover effect for every image of the gallery.
215
-
216
  = How to insert gallery into Wordpress page or post? =
217
 
218
  When you create gallery in plugin galleries manager you can go to the post or page editor and there using special wizard button insert gallery into your wordpress post or page. Another way you can insert your gallery manually using shortcode, which you can find in gallery edit mode in shortcode section on the right side of the gallery settings
219
 
220
- = Do you have some limit for images size in gallery? =
221
 
222
- No, we don't have any limits for image size in our gallery.
223
 
224
- = Do you have some limits for images amount in gallery? =
225
 
226
- No, we don't have any limits for amount of the images in gallery
227
 
228
  = How to change text below image in lightbox ? =
229
 
230
  In gallery setting you can select which text show below image in gallery lightbox. You can select Caption, Title or image Description as source for this field in gallery lightbox.
231
 
232
- = How to define video for some gallery image? =
233
 
234
- Every gallery image have additional fields where you can define custom link, title, description. One of the link option allow you to define link type, for example video link. All this options you can find in gallery images manager, inside general gallery settings
235
 
236
  = Is it possible to create direct link on the front end to the gallery? =
237
 
238
  Yes, you can use generated direct link inside particular gallery settings
239
 
240
- = Where specify description of the gallery images? =
241
 
242
- When you open gallery settings inside you'll find images manager section. Images manager make you able to add/edit descriptions and titles of every gallery image
 
 
 
 
243
 
244
  = How to set description text below image in the lightbox? =
245
 
246
  In gallery settings you can find lightbox section and if you need to show description of the images below images in the lightbox you need to select text source in lightbox settings from defined values.
247
 
 
 
 
 
 
 
 
 
248
  = Do you have some limits for images types in gallery? =
249
 
250
  You can use any standard file type in our gallery: png, jpg, jpeg, gif
@@ -253,26 +257,22 @@ You can use any standard file type in our gallery: png, jpg, jpeg, gif
253
 
254
  In gallery settings you can find general settings section where you can turn on/off thumbnails border. Also you can customize there style of the border, namely width, color and style of the thumbnail borders
255
 
256
- = How to define custom link for some gallery images? =
257
 
258
- Every gallery image have additional fields where you can define custom link, title, description. All this options you can find in gallery images manager, inside general gallery settings
259
 
260
  = How to change font size of the gallery image caption? =
261
 
262
  In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
263
 
264
- = How to change spacing between thumbnails? =
265
 
266
- In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
267
 
268
  = Is it possible to turn off border of the gallery thumbnails? =
269
 
270
  Yes, in gallery options you can turn on/off border option
271
 
272
- = Is it possible to have different settings for hover and static interface elements? =
273
-
274
- Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
275
-
276
  = How to define size of the gallery images thumbnails? =
277
 
278
  Our gallery is fully responsive and gallery thumbnails size depend of a lot of factors. Gallery calculate thumbnails automatically depend of the general gallery size and gallery layout settings. First of all you can define ratio values for gallery thumbnails. Size of the thumbnails could be selected from standard pre-defined wordpress sizes: thumbnail, medium, large, full
@@ -309,14 +309,14 @@ In gallery settings you can find option to enable/disable lazy load, also there
309
 
310
  In our gallery we implemented multi-categories structure. Every gallery category could have child and parent gallery, which you can manually define in gallery settings
311
 
312
- = How to change font color of the gallery image caption? =
313
-
314
- In gallery settings you can enable custom caption settings where you can customize font color and see results in live preview
315
-
316
  = How to change amount of images loading on gallery page? =
317
 
318
  In gallery settings we have few options which makes you able to select amount of the images for the first load and for load more action
319
 
 
 
 
 
320
  = Is it possible to customize gallery image caption ? =
321
 
322
  In gallery settings you can find images manager where you can change settings of every image, one of the option it's caption of the image
@@ -325,14 +325,14 @@ In gallery settings you can find images manager where you can change settings of
325
 
326
  In gallery settings, when enabled custom hover settings you can customize style of the gallery image description text. In this settings you can change color of the text
327
 
328
- = How to change font style of the gallery image caption? =
329
-
330
- In gallery settings you can enable custom caption settings where you can customize font style and see results in live preview
331
-
332
  = Is it possible to use HTML in image description ? =
333
 
334
  Yes, you can use HTML tags inside gallery image description field
335
 
 
 
 
 
336
  = Is it possible to create target blank links? =
337
 
338
  Yes. When you open gallery media manager you'll see there list of the gallery images. Click on some image and on the right side you'll see images options. Every gallery image have target blank field below link field of the gallery image.
@@ -555,6 +555,13 @@ If any problem occurs, please contact us.
555
 
556
  == Changelog ==
557
 
 
 
 
 
 
 
 
558
  = 1.3.5 =
559
  * Updated lightbox functionality
560
  * Implemented new show/hide images counter option
@@ -679,6 +686,9 @@ If any problem occurs, please contact us.
679
 
680
  == Upgrade Notice ==
681
 
 
 
 
682
  = 1.3.5 =
683
  Updated lightbox functionality, implemented new show/hide images counter option
684
 
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.3
7
+ Stable tag: 1.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
189
 
190
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
191
 
 
 
 
 
192
  = What can I do if some gallery interface elements in backend do not work properly? =
193
 
194
  If you have some conflict in gallery back end you can sort it with new compatibility option. If combo box element do not drop down you can switch between classic and modern style, as result you can avoid conflict with another code.
195
 
196
+ = How to customize hover effect? =
197
 
198
+ In gallery settings you can find hover type options. In settings of the gallery you can select custom hover effect settings or even template for customization of the gallery thumbnails hover
199
 
200
+ = Is it possible create gallery in Wordpress post with Gallery? =
201
 
202
+ Yes, you can insert gallery into post with shortcode tag
203
 
204
  = How I can create custom (grid) layout of the thumbnails? =
205
 
206
  In our gallery we implemented layout based on columns amount. So you can general amount of the columns in your gallery grid and define custom amount of the columns which every image gonna take. As result you can customize layout of the gallery grid
207
 
 
 
 
 
208
  = How to insert gallery into Wordpress page or post? =
209
 
210
  When you create gallery in plugin galleries manager you can go to the post or page editor and there using special wizard button insert gallery into your wordpress post or page. Another way you can insert your gallery manually using shortcode, which you can find in gallery edit mode in shortcode section on the right side of the gallery settings
211
 
212
+ = How to generate shortcode for Wordpress page, post or widget? =
213
 
214
+ First of all you can copy shortcode inside gallery settings , in separate shortcode block. Another way generate shortcode directly in post or page edit mode. You can find wizard button on top of content editor
215
 
216
+ = How to define custom hover effect for some gallery thumbnail? =
217
 
218
+ When you open gallery media manager you'll see there list of the gallery images. Click on some image and on the right side you'll see images options. Every gallery image have custom effect field where you can select different hover effect for every image of the gallery.
219
 
220
  = How to change text below image in lightbox ? =
221
 
222
  In gallery setting you can select which text show below image in gallery lightbox. You can select Caption, Title or image Description as source for this field in gallery lightbox.
223
 
224
+ = Do you have some limits for images amount in gallery? =
225
 
226
+ No, we don't have any limits for amount of the images in gallery
227
 
228
  = Is it possible to create direct link on the front end to the gallery? =
229
 
230
  Yes, you can use generated direct link inside particular gallery settings
231
 
232
+ = How to define video for some gallery image? =
233
 
234
+ Every gallery image have additional fields where you can define custom link, title, description. One of the link option allow you to define link type, for example video link. All this options you can find in gallery images manager, inside general gallery settings
235
+
236
+ = Do you have some limit for images size in gallery? =
237
+
238
+ No, we don't have any limits for image size in our gallery.
239
 
240
  = How to set description text below image in the lightbox? =
241
 
242
  In gallery settings you can find lightbox section and if you need to show description of the images below images in the lightbox you need to select text source in lightbox settings from defined values.
243
 
244
+ = Where specify description of the gallery images? =
245
+
246
+ When you open gallery settings inside you'll find images manager section. Images manager make you able to add/edit descriptions and titles of every gallery image
247
+
248
+ = How to define custom link for some gallery images? =
249
+
250
+ Every gallery image have additional fields where you can define custom link, title, description. All this options you can find in gallery images manager, inside general gallery settings
251
+
252
  = Do you have some limits for images types in gallery? =
253
 
254
  You can use any standard file type in our gallery: png, jpg, jpeg, gif
257
 
258
  In gallery settings you can find general settings section where you can turn on/off thumbnails border. Also you can customize there style of the border, namely width, color and style of the thumbnail borders
259
 
260
+ = How to change spacing between thumbnails? =
261
 
262
+ In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
263
 
264
  = How to change font size of the gallery image caption? =
265
 
266
  In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
267
 
268
+ = Is it possible to have different settings for hover and static interface elements? =
269
 
270
+ Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
271
 
272
  = Is it possible to turn off border of the gallery thumbnails? =
273
 
274
  Yes, in gallery options you can turn on/off border option
275
 
 
 
 
 
276
  = How to define size of the gallery images thumbnails? =
277
 
278
  Our gallery is fully responsive and gallery thumbnails size depend of a lot of factors. Gallery calculate thumbnails automatically depend of the general gallery size and gallery layout settings. First of all you can define ratio values for gallery thumbnails. Size of the thumbnails could be selected from standard pre-defined wordpress sizes: thumbnail, medium, large, full
309
 
310
  In our gallery we implemented multi-categories structure. Every gallery category could have child and parent gallery, which you can manually define in gallery settings
311
 
 
 
 
 
312
  = How to change amount of images loading on gallery page? =
313
 
314
  In gallery settings we have few options which makes you able to select amount of the images for the first load and for load more action
315
 
316
+ = How to change font color of the gallery image caption? =
317
+
318
+ In gallery settings you can enable custom caption settings where you can customize font color and see results in live preview
319
+
320
  = Is it possible to customize gallery image caption ? =
321
 
322
  In gallery settings you can find images manager where you can change settings of every image, one of the option it's caption of the image
325
 
326
  In gallery settings, when enabled custom hover settings you can customize style of the gallery image description text. In this settings you can change color of the text
327
 
 
 
 
 
328
  = Is it possible to use HTML in image description ? =
329
 
330
  Yes, you can use HTML tags inside gallery image description field
331
 
332
+ = How to change font style of the gallery image caption? =
333
+
334
+ In gallery settings you can enable custom caption settings where you can customize font style and see results in live preview
335
+
336
  = Is it possible to create target blank links? =
337
 
338
  Yes. When you open gallery media manager you'll see there list of the gallery images. Click on some image and on the right side you'll see images options. Every gallery image have target blank field below link field of the gallery image.
555
 
556
  == Changelog ==
557
 
558
+ = 1.3.6 =
559
+ * Added lightbox functionality
560
+ * Created new show/hide close button option
561
+ * Fixed few conflicts in gallery backend
562
+ * Updated implementation of some navigation interface elements
563
+ * Improved media manager implementation to avoid conflicts
564
+
565
  = 1.3.5 =
566
  * Updated lightbox functionality
567
  * Implemented new show/hide images counter option
686
 
687
  == Upgrade Notice ==
688
 
689
+ = 1.3.6 =
690
+ Updated lightbox functionality, implemented show/hide close button option, fixed backend conflicts
691
+
692
  = 1.3.5 =
693
  Updated lightbox functionality, implemented new show/hide images counter option
694
 
robogallery.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
- * Version: 1.3.5
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
@@ -19,7 +19,7 @@
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
- define("ROBO_GALLERY_VERSION", '1.3.5');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25
 
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
+ * Version: 1.3.6
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
+ define("ROBO_GALLERY_VERSION", '1.3.6');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25