Gallery – Photo Gallery and Images Gallery - Version 1.5.2

Version Description

  • New option for post generator
  • Possible define custom slug for new gallery post
Download this release

Release Info

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

Code changes from version 1.5.1 to 1.5.2

includes/extensions/rbs_create_post_ajax.php CHANGED
@@ -25,12 +25,17 @@ if(!function_exists('rbs_ajax_create_article')){
25
  $title = $post_info->post_title;
26
  if(isset( $_POST['articletitle'] ) && $_POST['articletitle'] ) $title = wp_kses_data($_POST['articletitle']);
27
 
 
 
 
 
 
28
  $Poster->set_title( $title );
29
  $Poster->add_category( array($categoryid) );
30
  $Poster->set_type( "post" );
31
  $Poster->set_content( '[robo-gallery id="'.$galleryid.'"]' );
32
  $Poster->set_author_id( get_current_user_id() );
33
- $Poster->set_post_slug( 'post_'.$post_info->post_name );
34
  $Poster->set_post_state( "publish" );
35
  $Poster->create();
36
 
@@ -94,10 +99,16 @@ if(!function_exists('rbs_ajax_create_article_form')){
94
  <th scope="row"><label for="rbs_post_create_title"><?php _e('Select category','rbs_gallery'); ?></label></th>
95
  <td><?php wp_dropdown_categories( $args ); ?></td>
96
  </tr>
 
97
  <tr>
98
  <th scope="row"><label for="rbs_post_create_title">Post Title</label></th>
99
  <td><input name="rbs_post_create_title" id="rbs_post_create_title" value="<?php echo $post_info->post_title ;?>" class="regular-text" type="text"></td>
100
  </tr>
 
 
 
 
 
101
  </tbody>
102
  </table>
103
  <?php
25
  $title = $post_info->post_title;
26
  if(isset( $_POST['articletitle'] ) && $_POST['articletitle'] ) $title = wp_kses_data($_POST['articletitle']);
27
 
28
+ $slug = 'post_'.$post_info->post_name;
29
+ if(isset( $_POST['articleslug'] ) && $_POST['articleslug'] ) $slug = wp_kses_data($_POST['articleslug']);
30
+
31
+
32
+
33
  $Poster->set_title( $title );
34
  $Poster->add_category( array($categoryid) );
35
  $Poster->set_type( "post" );
36
  $Poster->set_content( '[robo-gallery id="'.$galleryid.'"]' );
37
  $Poster->set_author_id( get_current_user_id() );
38
+ $Poster->set_post_slug( $slug );
39
  $Poster->set_post_state( "publish" );
40
  $Poster->create();
41
 
99
  <th scope="row"><label for="rbs_post_create_title"><?php _e('Select category','rbs_gallery'); ?></label></th>
100
  <td><?php wp_dropdown_categories( $args ); ?></td>
101
  </tr>
102
+
103
  <tr>
104
  <th scope="row"><label for="rbs_post_create_title">Post Title</label></th>
105
  <td><input name="rbs_post_create_title" id="rbs_post_create_title" value="<?php echo $post_info->post_title ;?>" class="regular-text" type="text"></td>
106
  </tr>
107
+
108
+ <tr>
109
+ <th scope="row"><label for="rbs_post_create_slug">Post Slug</label></th>
110
+ <td><input name="rbs_post_create_slug" id="rbs_post_create_slug" value="<?php echo 'post_'.$post_info->post_name;?>" class="regular-text" type="text"></td>
111
+ </tr>
112
  </tbody>
113
  </table>
114
  <?php
js/admin/extensions/create_post.js CHANGED
@@ -81,16 +81,18 @@
81
 
82
  var categoryId = $('#rbs_post_create_category').find(":selected").val();
83
  var title = $('#rbs_post_create_title').val();
 
84
 
85
  rbs_insert_post_content.html(progressHtml);
86
 
87
-
88
  var data = {
89
  'action': 'rbs_gallery',
90
  'function': 'create_article',
91
  'galleryid': roboGalleryActionDialogId,
92
  'categoryid': categoryId,
93
- 'articletitle': title,
 
 
94
  };
95
 
96
  rbs_insert_post_button.hide();
81
 
82
  var categoryId = $('#rbs_post_create_category').find(":selected").val();
83
  var title = $('#rbs_post_create_title').val();
84
+ var slug = $('#rbs_post_create_slug').val();
85
 
86
  rbs_insert_post_content.html(progressHtml);
87
 
 
88
  var data = {
89
  'action': 'rbs_gallery',
90
  'function': 'create_article',
91
  'galleryid': roboGalleryActionDialogId,
92
  'categoryid': categoryId,
93
+ 'articletitle': title,
94
+ 'articleslug': slug,
95
+
96
  };
97
 
98
  rbs_insert_post_button.hide();
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.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -208,10 +208,6 @@ You can use any standard file type in our gallery: png, jpg, jpeg, gif
208
 
209
  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
210
 
211
- = How to customize hover effect? =
212
-
213
- 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
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
@@ -220,10 +216,18 @@ Quality of the gallery thumbnails could be easily changed in gallery size option
220
 
221
  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
222
 
 
 
 
 
223
  = How to change amount of images loading on gallery page? =
224
 
225
  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
226
 
 
 
 
 
227
  = How I can create custom (grid) layout of the thumbnails? =
228
 
229
  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
@@ -232,10 +236,6 @@ In our gallery we implemented layout based on columns amount. So you can general
232
 
233
  In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
234
 
235
- = How to define custom hover effect for some gallery thumbnail? =
236
-
237
- 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.
238
-
239
  = How to change text below image in lightbox ? =
240
 
241
  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.
@@ -256,10 +256,6 @@ No, we don't have any limits for amount of the images in gallery
256
 
257
  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
258
 
259
- = How to make shadow for the gallery thumbnails? =
260
-
261
- 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
262
-
263
  = How to enable lazy load in gallery options? =
264
 
265
  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
@@ -268,6 +264,10 @@ In gallery settings you can find option to enable/disable lazy load, also there
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
  = How to hide titles of the gallery image in lightbox ? =
272
 
273
  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.
@@ -280,10 +280,6 @@ No, we don't have any limits for image size in our gallery.
280
 
281
  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.
282
 
283
- = How to define size of the gallery images thumbnails? =
284
-
285
- 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
286
-
287
  = How to change spacing between thumbnails? =
288
 
289
  In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
@@ -292,6 +288,10 @@ In gallery settings you can define horizontal and vertical paddings between gall
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.
@@ -308,14 +308,6 @@ In gallery settings you can enable custom caption settings where you can customi
308
 
309
  In gallery settings you can find section rounds where with special options you can define radius for the gallery thumbnails
310
 
311
- = Which parameters I can change for the gallery thumbnails borders and shadows? =
312
-
313
- You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
314
-
315
- = Is it possible to use HTML in image description ? =
316
-
317
- Yes, you can use HTML tags inside gallery image description field
318
-
319
  = How to define custom link for some gallery images? =
320
 
321
  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
@@ -328,13 +320,17 @@ In our gallery we implemented multi-categories structure. Every gallery category
328
 
329
  When you open gallery for edit you can find there images manager where you can change ordering of the gallery images
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
334
 
335
- = Is it possible to customize gallery image caption ? =
336
 
337
- 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
 
 
 
 
338
 
339
  = How to load more function work? =
340
 
@@ -344,9 +340,9 @@ In gallery admin section you can define amount of the images for the first load
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 change font style of the gallery image caption? =
348
 
349
- In gallery settings you can enable custom caption settings where you can customize font style and see results in live preview
350
 
351
  = Is it possible to create target blank links? =
352
 
@@ -356,6 +352,10 @@ Yes. When you open gallery media manager you'll see there list of the gallery im
356
 
357
  When you open gallery images manager you'll find there image edit mode where you can flip source 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
@@ -496,6 +496,10 @@ Yes, you can easily change color of the hovered image in gallery in backend. In
496
 
497
  In our gallery we implemented few additional options which help you to add some text with HTML before/after gallery on your page. IN gallery settings you can find pre/post text fields where you can define some description text for the gallery. This gallery fields support HTML, so you can customize this text with HTML tags or css styles.
498
 
 
 
 
 
499
  == Screenshots ==
500
 
501
  1. Gallery Demo 1
@@ -570,6 +574,10 @@ If any problem occurs, please contact us.
570
 
571
  == Changelog ==
572
 
 
 
 
 
573
  = 1.5.1 =
574
  * New option for post generator
575
  * Possible define custom title for new gallery post
@@ -771,6 +779,9 @@ If any problem occurs, please contact us.
771
 
772
  == Upgrade Notice ==
773
 
 
 
 
774
  = 1.5.1 =
775
  New option for post generator, possible define custom title for new gallery post
776
 
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.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
208
 
209
  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
210
 
 
 
 
 
211
  = How to change quality of the gallery thumbnails? =
212
 
213
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
216
 
217
  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
218
 
219
+ = How to customize hover effect? =
220
+
221
+ 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
222
+
223
  = How to change amount of images loading on gallery page? =
224
 
225
  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
226
 
227
+ = How to define custom hover effect for some gallery thumbnail? =
228
+
229
+ 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.
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
236
 
237
  In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
238
 
 
 
 
 
239
  = How to change text below image in lightbox ? =
240
 
241
  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.
256
 
257
  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
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
264
 
265
  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
266
 
267
+ = How to make shadow for the gallery thumbnails? =
268
+
269
+ 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
270
+
271
  = How to hide titles of the gallery image in lightbox ? =
272
 
273
  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.
280
 
281
  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.
282
 
 
 
 
 
283
  = How to change spacing between thumbnails? =
284
 
285
  In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
288
 
289
  Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
290
 
291
+ = How to define size of the gallery images thumbnails? =
292
+
293
+ 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
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.
308
 
309
  In gallery settings you can find section rounds where with special options you can define radius for the gallery thumbnails
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
320
 
321
  When you open gallery for edit you can find there images manager where you can change ordering of the gallery images
322
 
323
+ = Which parameters I can change for the gallery thumbnails borders and shadows? =
324
 
325
+ You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
326
 
327
+ = Is it possible to use HTML in image description ? =
328
 
329
+ Yes, you can use HTML tags inside gallery image description field
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
334
 
335
  = How to load more function work? =
336
 
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
+ = Is it possible to customize gallery image caption ? =
344
 
345
+ 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
346
 
347
  = Is it possible to create target blank links? =
348
 
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 change font style of the gallery image caption? =
356
+
357
+ In gallery settings you can enable custom caption settings where you can customize font style and see results in live preview
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
496
 
497
  In our gallery we implemented few additional options which help you to add some text with HTML before/after gallery on your page. IN gallery settings you can find pre/post text fields where you can define some description text for the gallery. This gallery fields support HTML, so you can customize this text with HTML tags or css styles.
498
 
499
+ = Is it possible to generate post with gallery inside it ? =
500
+
501
+ In gallery settings we create separate section where you can find create new post button. After click on this button you'll see wizard form where you can select all additional parameters for the gallery new post.
502
+
503
  == Screenshots ==
504
 
505
  1. Gallery Demo 1
574
 
575
  == Changelog ==
576
 
577
+ = 1.5.2 =
578
+ * New option for post generator
579
+ * Possible define custom slug for new gallery post
580
+
581
  = 1.5.1 =
582
  * New option for post generator
583
  * Possible define custom title for new gallery post
779
 
780
  == Upgrade Notice ==
781
 
782
+ = 1.5.2 =
783
+ New option for post generator, possible define custom slug for new gallery post
784
+
785
  = 1.5.1 =
786
  New option for post generator, possible define custom title for new gallery post
787
 
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.5.1
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.5.1');
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.5.2
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.5.2');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25