Gallery – Photo Gallery and Images Gallery - Version 1.7.5

Version Description

  • Updated backup section functionality
  • Added statistics of the imported galleries
  • Added statistics of the imported images
Download this release

Release Info

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

Code changes from version 1.7.4 to 1.7.5

includes/extensions/backup/backup.form.php CHANGED
@@ -16,7 +16,15 @@
16
  //wp_enqueue_style ( 'toolbox-gallery-about', ROBO_GALLERY_URL.'css/admin/about.css', array( ), ROBO_GALLERY_VERSION );
17
 
18
 
19
- if( isset($_POST['rbsSubmitBackup']) ){
 
 
 
 
 
 
 
 
20
  if( check_admin_referer( 'rbs-gallery-backup-import', 'rbs-gallery-backup' ) ){
21
  if ( $_FILES['rbsBackupFile']['error'] == UPLOAD_ERR_OK && is_uploaded_file($_FILES['rbsBackupFile']['tmp_name'])) {
22
  $tmp_name = $_FILES['rbsBackupFile']['tmp_name'];
@@ -31,18 +39,23 @@ if( isset($_POST['rbsSubmitBackup']) ){
31
 
32
  $export = new rbsGalleryExport('robo_gallery_table');
33
  $result = $export->importPostsXml($tmp_name);
 
 
 
34
  echo "<h2>".__('Success Import ', 'rbs_gallery')."</h2>";
 
 
 
 
 
 
35
  //print_r($result);
36
  }
37
  } else {
38
- echo "error: check secure";
39
  }
40
  }
41
  ?>
42
- <div class="wrap">
43
- <h1 class="rbs-nobackup">
44
- <?php _e('Robo Gallery Backup', 'rbs_gallery'); ?>
45
- </h1>
46
  <table class="form-table">
47
  <tbody>
48
  <tr>
16
  //wp_enqueue_style ( 'toolbox-gallery-about', ROBO_GALLERY_URL.'css/admin/about.css', array( ), ROBO_GALLERY_VERSION );
17
 
18
 
19
+
20
+ ?>
21
+ <div class="wrap">
22
+ <h1 class="rbs-nobackup">
23
+ <?php _e('Robo Gallery Backup', 'rbs_gallery'); ?>
24
+ </h1>
25
+ <?php
26
+
27
+ if( isset($_POST['rbsSubmitBackup']) ){
28
  if( check_admin_referer( 'rbs-gallery-backup-import', 'rbs-gallery-backup' ) ){
29
  if ( $_FILES['rbsBackupFile']['error'] == UPLOAD_ERR_OK && is_uploaded_file($_FILES['rbsBackupFile']['tmp_name'])) {
30
  $tmp_name = $_FILES['rbsBackupFile']['tmp_name'];
39
 
40
  $export = new rbsGalleryExport('robo_gallery_table');
41
  $result = $export->importPostsXml($tmp_name);
42
+
43
+ echo '<div class="card">';
44
+
45
  echo "<h2>".__('Success Import ', 'rbs_gallery')."</h2>";
46
+ if( isset($result['import']) && is_array($result['import']) ){
47
+ if( isset($result['import']['post']) ) echo '<p>'.__('Import Post', 'rbs_gallery').': '.$result['import']['post'].'</p>';
48
+ if( isset($result['import']['element']) ) echo '<p>'.__('Import Images', 'rbs_gallery').': '.$result['import']['element'].'</p>';
49
+ //if( isset($result['import']['file']) ) echo '<p> --- Import Images Files: '.$result['import']['file'].'</p>';
50
+ }
51
+ echo '</div>';
52
  //print_r($result);
53
  }
54
  } else {
55
+ echo '<h2>'._('Error: check secure').'</h2>';
56
  }
57
  }
58
  ?>
 
 
 
 
59
  <table class="form-table">
60
  <tbody>
61
  <tr>
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.4
7
- Stable tag: 1.7.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -189,110 +189,98 @@ You can use any standard file type in our gallery: png, jpg, jpeg, gif
189
  = How to upload images to the gallery? =
190
 
191
  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.
 
 
192
 
193
- = Do you have some conflict in gallery back end? =
194
 
195
- 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.
196
-
197
- = How to define video for some gallery image? =
198
 
199
- 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
200
 
201
- = Where specify description of the gallery images? =
202
 
203
- 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
204
 
205
- = How to change text below image in lightbox ? =
206
 
207
- 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.
208
 
209
  = How to change quality of the gallery thumbnails? =
210
 
211
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
212
 
213
- = Is it possible create gallery in Wordpress post with Gallery? =
214
 
215
- Yes, you can insert gallery into post with shortcode tag
216
 
217
  = How to define size of the gallery images thumbnails? =
218
 
219
  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
220
 
221
- = How to insert gallery into Wordpress page or post? =
222
 
223
- 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
224
 
225
- = How to define custom hover effect for some gallery thumbnail? =
226
 
227
- 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.
228
 
229
  = How to change font size of the gallery image caption? =
230
 
231
  In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
232
 
233
- = Do you have some limits for images amount in gallery? =
234
 
235
- No, we don't have any limits for amount of the images in gallery
236
 
237
  = How to generate shortcode for Wordpress page, post or widget? =
238
 
239
  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
240
 
241
- = Is it possible to create direct link on the front end to the gallery? =
242
 
243
- Yes, you can use generated direct link inside particular gallery settings
244
 
245
- = Do you have some limit for images size in gallery? =
246
 
247
- No, we don't have any limits for image size in our gallery.
248
 
249
- = How to hide titles of the gallery image in lightbox ? =
 
 
250
 
251
- 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.
252
-
253
  = Is it possible to have different settings for hover and static interface elements? =
254
 
255
  Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
256
 
257
- = How to change spacing between thumbnails? =
258
-
259
- In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
260
-
261
- = How to customize border of the gallery thumbnails? =
262
-
263
- 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
264
-
265
  = Which parameters I can change for the gallery thumbnails borders and shadows? =
266
 
267
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
268
 
269
- = Is it possible to customize gallery image caption ? =
270
 
271
- 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
 
 
 
 
272
 
273
  = What can I do if some gallery interface elements in backend do not work properly? =
274
 
275
  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.
276
-
277
- = How to customize border of the gallery thumbnails? =
278
-
279
- 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
280
 
281
  = How to customize hover effect? =
282
 
283
  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
284
 
285
- = How to make gallery thumbnails with rounded corners? =
286
-
287
- In gallery settings you can find section rounds where with special options you can define radius for the gallery thumbnails
288
-
289
  = How to use multi-category functionality of the gallery? =
290
 
291
  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
292
 
293
- = How to change amount of images loading on gallery page? =
294
 
295
- 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
296
 
297
  = How to make shadow for the gallery thumbnails? =
298
 
@@ -302,13 +290,17 @@ Shadows of the thumbnails you can customize in gallery settings. With gallery se
302
 
303
  When you open gallery for edit you can find there images manager where you can change ordering of the gallery images
304
 
305
- = How to change font color of the gallery image caption? =
306
 
307
- In gallery settings you can enable custom caption settings where you can customize font color and see results in live preview
308
 
309
- = How I can create custom (grid) layout of the thumbnails? =
310
 
311
- 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
 
 
 
 
312
 
313
  = How to change color of the gallery interface elements? =
314
 
@@ -316,12 +308,20 @@ Color of every gallery front end interface element could be changed changed in a
316
 
317
  = How to set description text below image in the lightbox? =
318
 
319
- 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.
 
 
320
 
 
 
321
  = Is it possible to use HTML in image description ? =
322
 
323
  Yes, you can use HTML tags inside gallery image description field
324
 
 
 
 
 
325
  = How to load more function work? =
326
 
327
  In gallery admin section you can define amount of the images for the first load and after click on load more button. Load more it's such google gallery style pagination functionality which make you able to limit amount of the images for the first load
@@ -576,6 +576,11 @@ If any problem occurs, please contact us.
576
 
577
  == Changelog ==
578
 
 
 
 
 
 
579
  = 1.7.4 =
580
  * Updated code structure of the backup module
581
  * Fixed backup import security issues
@@ -877,6 +882,9 @@ If any problem occurs, please contact us.
877
 
878
  == Upgrade Notice ==
879
 
 
 
 
880
  = 1.7.4 =
881
  Updated code structure of the backup module, fixed backup import/export security issues, optimized code algorithm
882
 
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.4
7
+ Stable tag: 1.7.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
189
  = How to upload images to the gallery? =
190
 
191
  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.
192
+
193
+ = Where specify description of the gallery images? =
194
 
195
+ 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
196
 
197
+ = Do you have some conflict in gallery back end? =
 
 
198
 
199
+ 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.
200
 
201
+ = Is it possible create gallery in Wordpress post with Gallery? =
202
 
203
+ Yes, you can insert gallery into post with shortcode tag
204
 
205
+ = How to insert gallery into Wordpress page or post? =
206
 
207
+ 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
208
 
209
  = How to change quality of the gallery thumbnails? =
210
 
211
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
212
 
213
+ = How to define video for some gallery image? =
214
 
215
+ 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
216
 
217
  = How to define size of the gallery images thumbnails? =
218
 
219
  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
220
 
221
+ = Do you have some limits for images amount in gallery? =
222
 
223
+ No, we don't have any limits for amount of the images in gallery
224
 
225
+ = How to change text below image in lightbox ? =
226
 
227
+ 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.
228
 
229
  = How to change font size of the gallery image caption? =
230
 
231
  In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
232
 
233
+ = Do you have some limit for images size in gallery? =
234
 
235
+ No, we don't have any limits for image size in our gallery.
236
 
237
  = How to generate shortcode for Wordpress page, post or widget? =
238
 
239
  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
240
 
241
+ = How to define custom hover effect for some gallery thumbnail? =
242
 
243
+ 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.
244
 
245
+ = How to make gallery thumbnails with rounded corners? =
246
 
247
+ In gallery settings you can find section rounds where with special options you can define radius for the gallery thumbnails
248
 
249
+ = Is it possible to create direct link on the front end to the gallery? =
250
+
251
+ Yes, you can use generated direct link inside particular gallery settings
252
 
 
 
253
  = Is it possible to have different settings for hover and static interface elements? =
254
 
255
  Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
256
 
 
 
 
 
 
 
 
 
257
  = Which parameters I can change for the gallery thumbnails borders and shadows? =
258
 
259
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
260
 
261
+ = How to change spacing between thumbnails? =
262
 
263
+ In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
264
+
265
+ = How to hide titles of the gallery image in lightbox ? =
266
+
267
+ 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.
268
 
269
  = What can I do if some gallery interface elements in backend do not work properly? =
270
 
271
  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.
 
 
 
 
272
 
273
  = How to customize hover effect? =
274
 
275
  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
276
 
 
 
 
 
277
  = How to use multi-category functionality of the gallery? =
278
 
279
  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
280
 
281
+ = How to customize border of the gallery thumbnails? =
282
 
283
+ 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
284
 
285
  = How to make shadow for the gallery thumbnails? =
286
 
290
 
291
  When you open gallery for edit you can find there images manager where you can change ordering of the gallery images
292
 
293
+ = How to customize border of the gallery thumbnails? =
294
 
295
+ 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
296
 
297
+ = How to change amount of images loading on gallery page? =
298
 
299
+ 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
300
+
301
+ = How to change font color of the gallery image caption? =
302
+
303
+ In gallery settings you can enable custom caption settings where you can customize font color and see results in live preview
304
 
305
  = How to change color of the gallery interface elements? =
306
 
308
 
309
  = How to set description text below image in the lightbox? =
310
 
311
+ 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.
312
+
313
+ = How I can create custom (grid) layout of the thumbnails? =
314
 
315
+ 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
316
+
317
  = Is it possible to use HTML in image description ? =
318
 
319
  Yes, you can use HTML tags inside gallery image description field
320
 
321
+ = Is it possible to customize gallery image caption ? =
322
+
323
+ 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
324
+
325
  = How to load more function work? =
326
 
327
  In gallery admin section you can define amount of the images for the first load and after click on load more button. Load more it's such google gallery style pagination functionality which make you able to limit amount of the images for the first load
576
 
577
  == Changelog ==
578
 
579
+ = 1.7.5 =
580
+ * Updated backup section functionality
581
+ * Added statistics of the imported galleries
582
+ * Added statistics of the imported images
583
+
584
  = 1.7.4 =
585
  * Updated code structure of the backup module
586
  * Fixed backup import security issues
882
 
883
  == Upgrade Notice ==
884
 
885
+ = 1.7.5 =
886
+ Updated backup section functionality, added statistics of the imported galleries and images
887
+
888
  = 1.7.4 =
889
  Updated code structure of the backup module, fixed backup import/export security issues, optimized code algorithm
890
 
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.7.4
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.7.4');
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.7.5
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.7.5');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25