Gallery – Photo Gallery and Images Gallery - Version 1.4.7

Version Description

  • Code optimization
  • Update of the API structure
  • Implemented new backend API structures
  • Backend code structure prepared to new interface elements
  • Small code fixes
Download this release

Release Info

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

Code changes from version 1.4.6 to 1.4.7

includes/extensions/index.html ADDED
File without changes
includes/extensions/rbs_create_article_button.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'WPINC' ) ) die;
3
+
4
+ //add_action( 'admin_footer', 'rbs_create_article_button_javascript' );
5
+ function rbs_create_article_button_javascript() {
6
+ $postId = 0;
7
+ if( isset($_GET['post']) && $_GET['post'] ){
8
+ $postId = (int) $_GET['post'];
9
+ }
10
+
11
+ ?>
12
+ <script type="text/javascript" >
13
+ jQuery(document).ready(function($) {
14
+
15
+ var data = {
16
+ 'action': 'rbs_gallery_ajax',
17
+ 'whatever': 1234,
18
+ 'postid': <?php echo $postId; ?>,
19
+ };
20
+
21
+ // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
22
+ jQuery.post(ajaxurl, data, function(response) {
23
+ alert('Got this from the server: ' + response);
24
+ });
25
+ });
26
+ </script> <?php
27
+ }
includes/frontend/rbs_gallery_class_utils.php CHANGED
@@ -12,10 +12,8 @@
12
  * Available only in http://robosoft.co/
13
  */
14
 
15
- if( file_exists( WP_PLUGIN_DIR.'/robogallerykey/robogallerykey.php') ){
16
- include_once( WP_PLUGIN_DIR.'/robogallerykey/robogallerykey.php' );
17
- } else if( file_exists( ROBO_GALLERY_PATH.'robogallerykey.php') ){
18
- include_once( ROBO_GALLERY_PATH.'robogallerykey.php' );
19
  } else {
20
  class roboGalleryParent{ public $pro = 0; }
21
  }
@@ -91,8 +89,8 @@ class roboGalleryUtils extends roboGalleryParent{
91
  $ret = array();
92
  if( isset($colums['autowidth'.$index]) ){
93
  $ret[] = '"columnWidth": "auto"';
94
- if($colums['colums'.$index]) $ret[] = '"columns":'.$colums['colums'.$index];
95
- } elseif($colums['width'.$index]){
96
  $ret[] = '"columnWidth": '.$colums['width'.$index];
97
  }
98
  if( count($ret) ){
12
  * Available only in http://robosoft.co/
13
  */
14
 
15
+ if( ROBO_GALLERY_PRO ){
16
+ include_once( ROBO_GALLERY_KEY_PATH );
 
 
17
  } else {
18
  class roboGalleryParent{ public $pro = 0; }
19
  }
89
  $ret = array();
90
  if( isset($colums['autowidth'.$index]) ){
91
  $ret[] = '"columnWidth": "auto"';
92
+ if( isset($colums['colums'.$index]) && $colums['colums'.$index] ) $ret[] = '"columns":'.$colums['colums'.$index];
93
+ } elseif( isset($colums['width'.$index]) && $colums['width'.$index] ){
94
  $ret[] = '"columnWidth": '.$colums['width'.$index];
95
  }
96
  if( count($ret) ){
includes/frontend/rbs_gallery_source.php CHANGED
@@ -43,7 +43,8 @@ class roboGalleryImages{
43
  if(!$this->id) return false;
44
  ++$this->lazyLoad;
45
  $tempImages = get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'galleryImages', true );
46
- if( isset($tempImages) && count($tempImages)==1 && trim($tempImages[0])=='' ) $tempImages = array();
 
47
 
48
  if( !get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'menuSelfImages', true ) ){
49
  $tempImages = array();
43
  if(!$this->id) return false;
44
  ++$this->lazyLoad;
45
  $tempImages = get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'galleryImages', true );
46
+
47
+ if( isset($tempImages) && !is_array($tempImages)==1 && trim($tempImages)=='' ) $tempImages = array();
48
 
49
  if( !get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'menuSelfImages', true ) ){
50
  $tempImages = array();
includes/options/rbs_gallery_options_shortcode.php CHANGED
@@ -21,6 +21,7 @@ $shortcode_group = new_cmb2_box( array(
21
  'priority' => 'low',
22
  'closed' => rbs_gallery_set_checkbox_default_for_new_post(0),
23
  ));
 
24
  if(isset($_GET['post'])){
25
  $shortcode_group->add_field( array(
26
  'id' => ROBO_GALLERY_PREFIX.'short_desc',
21
  'priority' => 'low',
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',
includes/rbs_gallery_ajax.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'WPINC' ) ) die;
3
+
4
+ add_action( 'wp_ajax_rbs_gallery_ajax', 'rbs_gallery_ajax_callback' );
5
+ function rbs_gallery_ajax_callback() {
6
+ global $wpdb;
7
+ $whatever = intval( $_POST['whatever'] );
8
+ $postid = intval( $_POST['postid'] );
9
+ $whatever += 10;
10
+ echo $whatever." id:".$postid;
11
+ wp_die();
12
+ }
includes/rbs_gallery_edit.php CHANGED
@@ -22,27 +22,27 @@ function rbs_gallery_group_metabox() {
22
  }
23
  if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_images.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_images.php';
24
 
25
- if( rbs_gallery_is_edit_page('edit') ){
26
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_shortcode.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_shortcode.php';
27
- }
28
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_text.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_text.php';
29
-
30
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_size.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_size.php';
31
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_view.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_view.php';
 
 
32
 
33
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_hover.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_hover.php';
34
-
35
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_button.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_button.php';
36
-
37
- if( !ROBO_GALLERY_PRO && file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_infowide.php') )require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_infowide.php';
38
 
39
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_loading.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_loading.php';
40
-
41
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_polaroid.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_polaroid.php';
42
-
43
- if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_lightbox.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_lightbox.php';
44
-
45
- if( !ROBO_GALLERY_PRO && file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_info.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_info.php';
 
 
46
 
47
  }
48
  add_action( 'cmb2_init', 'rbs_gallery_group_metabox' );
22
  }
23
  if( file_exists(ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_images.php') ) require_once ROBO_GALLERY_INCLUDES_PATH.'options/rbs_gallery_options_images.php';
24
 
25
+ if( rbs_gallery_is_edit_page('edit') ) rbs_gallery_include('rbs_gallery_options_shortcode.php', ROBO_GALLERY_EXTENSIONS_PATH);
26
+
27
+ rbs_gallery_include( array(
28
+ 'rbs_gallery_options_text.php',
29
+ 'rbs_gallery_options_size.php',
30
+ 'rbs_gallery_options_view.php',
31
+ 'rbs_gallery_options_hover.php',
32
+ 'rbs_gallery_options_button.php',
33
+ ), ROBO_GALLERY_OPTIONS_PATH);
34
 
35
+ if( !ROBO_GALLERY_PRO ) rbs_gallery_include('rbs_gallery_options_infowide.php', ROBO_GALLERY_EXTENSIONS_PATH);
 
 
 
 
36
 
37
+ rbs_gallery_include( array(
38
+ 'rbs_gallery_options_loading.php',
39
+ 'rbs_gallery_options_polaroid.php',
40
+ 'rbs_gallery_options_lightbox.php',
41
+ ), ROBO_GALLERY_OPTIONS_PATH);
42
+
43
+ if( !ROBO_GALLERY_PRO ) rbs_gallery_include('rbs_gallery_options_info.php', ROBO_GALLERY_EXTENSIONS_PATH);
44
+
45
+ if( rbs_gallery_is_edit_page('edit') ) rbs_gallery_include('rbs_create_article_button.php', ROBO_GALLERY_EXTENSIONS_PATH);
46
 
47
  }
48
  add_action( 'cmb2_init', 'rbs_gallery_group_metabox' );
includes/rbs_gallery_init.php CHANGED
@@ -15,8 +15,6 @@
15
  define( "ROBO_GALLERY_PREFIX", 'rsg_');
16
  define( "ROBO_GALLERY_TYPE_POST", 'robo_gallery_table');
17
 
18
-
19
-
20
  define( "ROBO_GALLERY_ICON_PRO", '<button type="button" class="btn btn-danger btn-xs rbs-label-pro">Pro</button>');
21
  define( "ROBO_GALLERY_LABEL_PRO", '<span>'.__( 'Available in', 'rbs_gallery' ).'</span> '.ROBO_GALLERY_ICON_PRO);
22
 
@@ -140,6 +138,9 @@ if( rbs_gallery_get_current_post_type() == ROBO_GALLERY_TYPE_POST && ( rbs_galle
140
 
141
  rbs_gallery_include('rbs_gallery_edit.php', ROBO_GALLERY_INCLUDES_PATH);
142
  }
 
 
 
143
  /* only backend */
144
  if( is_admin() ) rbs_gallery_include(array('rbs_gallery_media.php', 'rbs_gallery_menu.php' ), ROBO_GALLERY_INCLUDES_PATH);
145
 
15
  define( "ROBO_GALLERY_PREFIX", 'rsg_');
16
  define( "ROBO_GALLERY_TYPE_POST", 'robo_gallery_table');
17
 
 
 
18
  define( "ROBO_GALLERY_ICON_PRO", '<button type="button" class="btn btn-danger btn-xs rbs-label-pro">Pro</button>');
19
  define( "ROBO_GALLERY_LABEL_PRO", '<span>'.__( 'Available in', 'rbs_gallery' ).'</span> '.ROBO_GALLERY_ICON_PRO);
20
 
138
 
139
  rbs_gallery_include('rbs_gallery_edit.php', ROBO_GALLERY_INCLUDES_PATH);
140
  }
141
+
142
+ rbs_gallery_include('rbs_gallery_ajax.php', ROBO_GALLERY_INCLUDES_PATH);
143
+
144
  /* only backend */
145
  if( is_admin() ) rbs_gallery_include(array('rbs_gallery_media.php', 'rbs_gallery_menu.php' ), ROBO_GALLERY_INCLUDES_PATH);
146
 
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.4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -184,14 +184,14 @@ Just install it using regular Wordpress plugins installing mechanism. If you ha
184
 
185
  If you have some conflict in gallery back end you can sort it with new compatibility option. You can switch between standard and alternative jquery library. This modes implemented to help you to avoid any conflicts with another libraries from wordpress themes or another plugin.
186
 
187
- = How to upload images to the gallery? =
188
-
189
- When you create new gallery or open already existent gallery for edit on the right side of the edit gallery section you'll see gallery images manager button. When you open gallery images manager you'll be able there edit all gallery images. Upload, edit or delete. In gallery images manager you can use drag and drop gallery images upload tool.
190
-
191
  = How to define video for some gallery image? =
192
 
193
  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
194
 
 
 
 
 
195
  = Is it possible create gallery in Wordpress post with Gallery? =
196
 
197
  Yes, you can insert gallery into post with shortcode tag
@@ -212,34 +212,38 @@ In gallery settings you can find hover type options. In settings of the gallery
212
 
213
  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
214
 
215
- = How to change quality of the gallery thumbnails? =
216
-
217
- Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
218
-
219
  = How to change amount of images loading on gallery page? =
220
 
221
  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
222
 
223
- = How I can create custom (grid) layout of the thumbnails? =
224
 
225
- 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
226
 
227
- = How to change text below image in lightbox ? =
228
 
229
- 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.
230
 
231
- = How to define custom hover effect for some gallery thumbnail? =
232
 
233
- 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.
234
 
235
- = How to insert gallery into Wordpress page or post? =
236
 
237
- 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
238
 
239
  = Is it possible to create direct link on the front end to the gallery? =
240
 
241
  Yes, you can use generated direct link inside particular gallery settings
242
 
 
 
 
 
 
 
 
 
243
  = Where specify description of the gallery images? =
244
 
245
  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
@@ -248,62 +252,50 @@ When you open gallery settings inside you'll find images manager section. Images
248
 
249
  Shadows of the thumbnails you can customize in gallery settings. With gallery settings you can change size , color and position of the gallery thumbnails shadow
250
 
251
- = How to change font size of the gallery image caption? =
252
-
253
- In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
254
-
255
  = How to customize border of the gallery thumbnails? =
256
 
257
  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
258
 
259
- = How to enable lazy load in gallery options? =
260
-
261
- In gallery settings you can find option to enable/disable lazy load, also there you'll have alot of additional options for customization of the loading process
262
-
263
  = Do you have some limits for images amount in gallery? =
264
 
265
  No, we don't have any limits for amount of the images in gallery
266
 
267
- = How to customize border of the gallery thumbnails? =
268
-
269
- 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
270
-
271
  = Do you have some limit for images size in gallery? =
272
 
273
  No, we don't have any limits for image size in our gallery.
274
 
275
- = How to hide titles of the gallery image in lightbox ? =
276
 
277
- In lightbox section of the gallery settings you can find hide title option. If you enable it titles of the gallery images in lightbox will be turned off.
278
 
279
- = Is it possible to have different settings for hover and static interface elements? =
280
 
281
- Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
282
 
283
- = How to set description text below image in the lightbox? =
284
 
285
- 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.
286
 
287
  = How to define size of the gallery images thumbnails? =
288
 
289
  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
290
 
 
 
 
 
291
  = How to change spacing between thumbnails? =
292
 
293
  In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
294
 
295
- = How to define custom link for some gallery images? =
296
 
297
- 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
298
 
299
  = How to change color of the gallery interface elements? =
300
 
301
  Color of every gallery front end interface element could be changed changed in admin section with color selector. There you can change colors of the menu buttons, load more button, borders, shadows, backgrounds and etc.
302
 
303
- = How to change font color of the gallery image caption? =
304
-
305
- In gallery settings you can enable custom caption settings where you can customize font color and see results in live preview
306
-
307
  = Which parameters I can change for the gallery thumbnails borders and shadows? =
308
 
309
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
@@ -312,9 +304,13 @@ You can change size, color and style of gallery thumbnails borders and shadows.
312
 
313
  In admin section of the gallery you'll find columns options which provide you advanced customization options for different resolutions. You can define some static size or auto size for every resolution.
314
 
315
- = How to use multi-category functionality of the gallery? =
316
 
317
- 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
 
 
 
 
318
 
319
  = How to make gallery thumbnails with rounded corners? =
320
 
@@ -324,10 +320,18 @@ In gallery settings you can find section rounds where with special options you c
324
 
325
  Yes, you can use HTML tags inside gallery image description field
326
 
 
 
 
 
327
  = Is it possible to customize gallery image caption ? =
328
 
329
  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
330
 
 
 
 
 
331
  = Is it possible to turn off border of the gallery thumbnails? =
332
 
333
  Yes, in gallery options you can turn on/off border option
@@ -340,6 +344,10 @@ In gallery admin section you can define amount of the images for the first load
340
 
341
  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
342
 
 
 
 
 
343
  = How to change font style of the gallery image caption? =
344
 
345
  In gallery settings you can enable custom caption settings where you can customize font style and see results in live preview
@@ -348,26 +356,14 @@ In gallery settings you can enable custom caption settings where you can customi
348
 
349
  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.
350
 
351
- = How to flip uploaded gallery image? =
352
-
353
- When you open gallery images manager you'll find there image edit mode where you can flip source image
354
-
355
  = How to define custom ALT for gallery image? =
356
 
357
  When you open gallery images manager you can define alt for every gallery image there
358
 
359
- = How to change ordering of the gallery images? =
360
-
361
- When you open gallery for edit you can find there images manager where you can change ordering of the gallery images
362
-
363
  = Where to change settings of the image of the gallery? =
364
 
365
  Settings of the gallery image you can change in images manager. There you can upload, edit or customize already uploaded images to the gallery
366
 
367
- = How to crop uploaded gallery image? =
368
-
369
- When you open gallery images manager you'll find there image edit mode where you can crop source image
370
-
371
  = How to rotate uploaded gallery image? =
372
 
373
  When you open gallery images manager you'll find there image edit mode where you can rotate source image
@@ -376,13 +372,13 @@ When you open gallery images manager you'll find there image edit mode where you
376
 
377
  Yes, gallery have fade hover effect
378
 
379
- = How to change color of the gallery thumbnails border? =
380
 
381
- When you enable border in gallery settings you will see multiply options for customization of the border. One from this options it's border color. You can select color using color selector
382
 
383
- = How to add text before and after gallery? =
384
 
385
- In gallery settings you can find before/after text gallery field. This fields support HTML tags.
386
 
387
  = How many thumbnails hover effects gallery has? =
388
 
@@ -392,13 +388,13 @@ Gallery have 15 hover animation effects, which could be combined with additional
392
 
393
  In gallery settings, when enabled custom hover settings you can customize style of the gallery image description text. In this settings you can change size of the text
394
 
395
- = How to customize gallery hover effect shutter layout? =
396
 
397
- In gallery hover settings you can enable template where you can fully customize layout of the shutter content using HTML tags, text and images. In template we have implemented some build in tags which going to help you to build in some gallery images elements into hover
398
 
399
- = How to change width of the gallery thumbnails border? =
400
 
401
- When you enable border in gallery settings you will see multiply options for customization of the border. One of the options it's border width in pixels.
402
 
403
  = Is it possible to change transparency of the hover shutter? =
404
 
@@ -408,6 +404,10 @@ Yes, it's possible to change transparency in gallery settings
408
 
409
  Gallery menu have multiply configuration options. Some of the options changing color of the buttons, some of them changing style of the buttons, which makes buttons for example 3d or with rounded corners
410
 
 
 
 
 
411
  = Do you have Polaroid style in your gallery? =
412
 
413
  In our gallery implemented options which make you able to make gallery thumbnails looks in Polaroid style, with caption of the image below thumbnail
@@ -566,6 +566,13 @@ If any problem occurs, please contact us.
566
 
567
  == Changelog ==
568
 
 
 
 
 
 
 
 
569
  = 1.4.6 =
570
  * Added new text additional options
571
  * Implemented After Text option with HTML support
@@ -750,6 +757,9 @@ If any problem occurs, please contact us.
750
 
751
  == Upgrade Notice ==
752
 
 
 
 
753
  = 1.4.6 =
754
  Added new text additional options, implemented After Text option with HTML support
755
 
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.4.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
184
 
185
  If you have some conflict in gallery back end you can sort it with new compatibility option. You can switch between standard and alternative jquery library. This modes implemented to help you to avoid any conflicts with another libraries from wordpress themes or another plugin.
186
 
 
 
 
 
187
  = How to define video for some gallery image? =
188
 
189
  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
190
 
191
+ = How to upload images to the gallery? =
192
+
193
+ When you create new gallery or open already existent gallery for edit on the right side of the edit gallery section you'll see gallery images manager button. When you open gallery images manager you'll be able there edit all gallery images. Upload, edit or delete. In gallery images manager you can use drag and drop gallery images upload tool.
194
+
195
  = Is it possible create gallery in Wordpress post with Gallery? =
196
 
197
  Yes, you can insert gallery into post with shortcode tag
212
 
213
  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
214
 
 
 
 
 
215
  = How to change amount of images loading on gallery page? =
216
 
217
  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
218
 
219
+ = How to change quality of the gallery thumbnails? =
220
 
221
+ Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
222
 
223
+ = How to insert gallery into Wordpress page or post? =
224
 
225
+ 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
226
 
227
+ = How to change text below image in lightbox ? =
228
 
229
+ 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.
230
 
231
+ = How I can create custom (grid) layout of the thumbnails? =
232
 
233
+ 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
234
 
235
  = Is it possible to create direct link on the front end to the gallery? =
236
 
237
  Yes, you can use generated direct link inside particular gallery settings
238
 
239
+ = How to change font size of the gallery image caption? =
240
+
241
+ In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
242
+
243
+ = How to define custom hover effect for some gallery thumbnail? =
244
+
245
+ 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.
246
+
247
  = Where specify description of the gallery images? =
248
 
249
  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
252
 
253
  Shadows of the thumbnails you can customize in gallery settings. With gallery settings you can change size , color and position of the gallery thumbnails shadow
254
 
 
 
 
 
255
  = How to customize border of the gallery thumbnails? =
256
 
257
  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
258
 
 
 
 
 
259
  = Do you have some limits for images amount in gallery? =
260
 
261
  No, we don't have any limits for amount of the images in gallery
262
 
 
 
 
 
263
  = Do you have some limit for images size in gallery? =
264
 
265
  No, we don't have any limits for image size in our gallery.
266
 
267
+ = How to enable lazy load in gallery options? =
268
 
269
+ In gallery settings you can find option to enable/disable lazy load, also there you'll have alot of additional options for customization of the loading process
270
 
271
+ = How to customize border of the gallery thumbnails? =
272
 
273
+ 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
274
 
275
+ = How to hide titles of the gallery image in lightbox ? =
276
 
277
+ In lightbox section of the gallery settings you can find hide title option. If you enable it titles of the gallery images in lightbox will be turned off.
278
 
279
  = How to define size of the gallery images thumbnails? =
280
 
281
  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
282
 
283
+ = How to set description text below image in the lightbox? =
284
+
285
+ 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.
286
+
287
  = How to change spacing between thumbnails? =
288
 
289
  In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
290
 
291
+ = Is it possible to have different settings for hover and static interface elements? =
292
 
293
+ Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
294
 
295
  = How to change color of the gallery interface elements? =
296
 
297
  Color of every gallery front end interface element could be changed changed in admin section with color selector. There you can change colors of the menu buttons, load more button, borders, shadows, backgrounds and etc.
298
 
 
 
 
 
299
  = Which parameters I can change for the gallery thumbnails borders and shadows? =
300
 
301
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
304
 
305
  In admin section of the gallery you'll find columns options which provide you advanced customization options for different resolutions. You can define some static size or auto size for every resolution.
306
 
307
+ = How to change font color of the gallery image caption? =
308
 
309
+ In gallery settings you can enable custom caption settings where you can customize font color and see results in live preview
310
+
311
+ = How to define custom link for some gallery images? =
312
+
313
+ 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
314
 
315
  = How to make gallery thumbnails with rounded corners? =
316
 
320
 
321
  Yes, you can use HTML tags inside gallery image description field
322
 
323
+ = How to use multi-category functionality of the gallery? =
324
+
325
+ 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
326
+
327
  = Is it possible to customize gallery image caption ? =
328
 
329
  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
330
 
331
+ = How to change ordering of the gallery images? =
332
+
333
+ When you open gallery for edit you can find there images manager where you can change ordering of the gallery images
334
+
335
  = Is it possible to turn off border of the gallery thumbnails? =
336
 
337
  Yes, in gallery options you can turn on/off border option
344
 
345
  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
346
 
347
+ = How to flip uploaded gallery image? =
348
+
349
+ When you open gallery images manager you'll find there image edit mode where you can flip source image
350
+
351
  = How to change font style of the gallery image caption? =
352
 
353
  In gallery settings you can enable custom caption settings where you can customize font style and see results in live preview
356
 
357
  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.
358
 
 
 
 
 
359
  = How to define custom ALT for gallery image? =
360
 
361
  When you open gallery images manager you can define alt for every gallery image there
362
 
 
 
 
 
363
  = Where to change settings of the image of the gallery? =
364
 
365
  Settings of the gallery image you can change in images manager. There you can upload, edit or customize already uploaded images to the gallery
366
 
 
 
 
 
367
  = How to rotate uploaded gallery image? =
368
 
369
  When you open gallery images manager you'll find there image edit mode where you can rotate source image
372
 
373
  Yes, gallery have fade hover effect
374
 
375
+ = How to crop uploaded gallery image? =
376
 
377
+ When you open gallery images manager you'll find there image edit mode where you can crop source image
378
 
379
+ = How to change color of the gallery thumbnails border? =
380
 
381
+ When you enable border in gallery settings you will see multiply options for customization of the border. One from this options it's border color. You can select color using color selector
382
 
383
  = How many thumbnails hover effects gallery has? =
384
 
388
 
389
  In gallery settings, when enabled custom hover settings you can customize style of the gallery image description text. In this settings you can change size of the text
390
 
391
+ = How to add text before and after gallery? =
392
 
393
+ In gallery settings you can find before/after text gallery field. This fields support HTML tags.
394
 
395
+ = How to customize gallery hover effect shutter layout? =
396
 
397
+ In gallery hover settings you can enable template where you can fully customize layout of the shutter content using HTML tags, text and images. In template we have implemented some build in tags which going to help you to build in some gallery images elements into hover
398
 
399
  = Is it possible to change transparency of the hover shutter? =
400
 
404
 
405
  Gallery menu have multiply configuration options. Some of the options changing color of the buttons, some of them changing style of the buttons, which makes buttons for example 3d or with rounded corners
406
 
407
+ = How to change width of the gallery thumbnails border? =
408
+
409
+ When you enable border in gallery settings you will see multiply options for customization of the border. One of the options it's border width in pixels.
410
+
411
  = Do you have Polaroid style in your gallery? =
412
 
413
  In our gallery implemented options which make you able to make gallery thumbnails looks in Polaroid style, with caption of the image below thumbnail
566
 
567
  == Changelog ==
568
 
569
+ = 1.4.7 =
570
+ * Code optimization
571
+ * Update of the API structure
572
+ * Implemented new backend API structures
573
+ * Backend code structure prepared to new interface elements
574
+ * Small code fixes
575
+
576
  = 1.4.6 =
577
  * Added new text additional options
578
  * Implemented After Text option with HTML support
757
 
758
  == Upgrade Notice ==
759
 
760
+ = 1.4.7 =
761
+ Implemented new backend API structures, prepared new interface elements
762
+
763
  = 1.4.6 =
764
  Added new text additional options, implemented After Text option with HTML support
765
 
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.4.6
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.4.6');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25
 
@@ -28,18 +28,32 @@ function rbs_gallery_load_textdomain() {
28
  load_plugin_textdomain( 'rbs_gallery', false, dirname(plugin_basename( __FILE__ )) . '/languages' );
29
  }
30
 
31
- if( file_exists(WP_PLUGIN_DIR.'/robogallerykey/robogallerykey.php') ){
32
- define("ROBO_GALLERY_PRO", 1);
33
- define("ROBO_GALLERY_KEY_PATH", plugin_dir_path(WP_PLUGIN_DIR.'/robogallerykey/robogallerykey.php' ));
34
- } else if( file_exists(ROBO_GALLERY_PATH.'robogallerykey.php') ){
 
 
 
 
 
 
 
 
 
 
 
 
35
  define("ROBO_GALLERY_PRO", 1);
36
- define("ROBO_GALLERY_KEY_PATH", plugin_dir_path(ROBO_GALLERY_PATH.'robogallerykey.php' ));
37
  } else {
38
  define("ROBO_GALLERY_PRO", 0);
39
  }
40
 
41
  define("ROBO_GALLERY_INCLUDES_PATH", ROBO_GALLERY_PATH.'includes/');
42
  define("ROBO_GALLERY_FRONTEND_PATH", ROBO_GALLERY_INCLUDES_PATH.'frontend/');
 
 
43
  define("ROBO_GALLERY_CMB_PATH", ROBO_GALLERY_PATH.'cmb2/');
44
  define("ROBO_GALLERY_CMB_FILEDS_PATH", ROBO_GALLERY_CMB_PATH.'fields/');
45
 
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.4.7
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
+ define("ROBO_GALLERY_VERSION", '1.4.7');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25
 
28
  load_plugin_textdomain( 'rbs_gallery', false, dirname(plugin_basename( __FILE__ )) . '/languages' );
29
  }
30
 
31
+ if(!function_exists('rbs_gallery_pro_check')){
32
+ function rbs_gallery_pro_check(){
33
+ $proPath = '';
34
+ $key_dir = 'robogallerykey';
35
+ $key_file = $key_dir.'.php';
36
+ $proPath = ROBO_GALLERY_PATH.$key_file;
37
+ if( file_exists($proPath) ) return $proPath;
38
+ for($i=-1;$i<6;$i++){
39
+ $proPath = WP_PLUGIN_DIR.'/'.$key_dir.($i!=-1?'-'.$i:'').'/'.$key_file;
40
+ if ( file_exists($proPath) ) return $proPath;
41
+ }
42
+ return false;
43
+ }
44
+ }
45
+
46
+ if( $keyResult=rbs_gallery_pro_check() ){
47
  define("ROBO_GALLERY_PRO", 1);
48
+ define("ROBO_GALLERY_KEY_PATH", $keyResult );
49
  } else {
50
  define("ROBO_GALLERY_PRO", 0);
51
  }
52
 
53
  define("ROBO_GALLERY_INCLUDES_PATH", ROBO_GALLERY_PATH.'includes/');
54
  define("ROBO_GALLERY_FRONTEND_PATH", ROBO_GALLERY_INCLUDES_PATH.'frontend/');
55
+ define("ROBO_GALLERY_OPTIONS_PATH", ROBO_GALLERY_INCLUDES_PATH.'options/');
56
+ define("ROBO_GALLERY_EXTENSIONS_PATH", ROBO_GALLERY_INCLUDES_PATH.'extensions/');
57
  define("ROBO_GALLERY_CMB_PATH", ROBO_GALLERY_PATH.'cmb2/');
58
  define("ROBO_GALLERY_CMB_FILEDS_PATH", ROBO_GALLERY_CMB_PATH.'fields/');
59