Gallery – Photo Gallery and Images Gallery - Version 1.3.1

Version Description

  • Updated categories workflow
  • Empty gallery support
  • More complicated categories structure support
Download this release

Release Info

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

Code changes from version 1.3.0 to 1.3.1

includes/frontend/rbs_gallery_class.php CHANGED
@@ -27,13 +27,6 @@ class roboGallery extends roboGalleryUtils{
27
  public $rbsOverlayStyle = '';
28
 
29
  public $rbsImageLoadingStyle = '';
30
-
31
-
32
- /* public $linkIconStyle = '';
33
- public $linkIconHoverStyle = '';
34
-
35
- public $zoomIconStyle = '';
36
- public $zoomIconHoverStyle = '';*/
37
 
38
  public $rbsLinkIconStyle = '';
39
  public $rbsLinkIconHoverStyle = '';
@@ -174,8 +167,8 @@ class roboGallery extends roboGalleryUtils{
174
  public function getGallery( ){
175
  if( !$this->id ) return '';
176
 
177
- $galleryImages = get_post_meta( $this->options_id && $this->real_id ? $this->real_id : $this->id, ROBO_GALLERY_PREFIX.'galleryImages', true );;
178
- if( !$galleryImages || !is_array( $galleryImages ) || !count($galleryImages) || !(int)$galleryImages[0] ) return '';
179
 
180
  $this->helper->setValue( 'filterContainer', '#'.$this->galleryId.'filter', 'string' );
181
 
27
  public $rbsOverlayStyle = '';
28
 
29
  public $rbsImageLoadingStyle = '';
 
 
 
 
 
 
 
30
 
31
  public $rbsLinkIconStyle = '';
32
  public $rbsLinkIconHoverStyle = '';
167
  public function getGallery( ){
168
  if( !$this->id ) return '';
169
 
170
+ //$galleryImages = get_post_meta( $this->options_id && $this->real_id ? $this->real_id : $this->id, ROBO_GALLERY_PREFIX.'galleryImages', true );;
171
+ //if( !$galleryImages || !is_array( $galleryImages ) || !count($galleryImages) || !(int)$galleryImages[0] ) return '';
172
 
173
  $this->helper->setValue( 'filterContainer', '#'.$this->galleryId.'filter', 'string' );
174
 
includes/frontend/rbs_gallery_source.php CHANGED
@@ -43,6 +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
  for ($i=0; $i < count($tempImages) ; $i++){
47
  $this->imgArray[] = array( 'id'=> $tempImages[$i], 'catid'=> $this->id );
48
  }
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
  for ($i=0; $i < count($tempImages) ; $i++){
49
  $this->imgArray[] = array( 'id'=> $tempImages[$i], 'catid'=> $this->id );
50
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.robosoft.co/robogallery
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.3
7
- Stable tag: 1.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -143,17 +143,13 @@ Just install it using regular Wordpress plugins installing mechanism. If you ha
143
 
144
  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.
145
 
146
- = What can I do if some gallery interface elements in backend do not work properly? =
147
-
148
- 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.
149
-
150
  = How to upload images to the gallery? =
151
 
152
  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.
153
 
154
- = How to customize hover effect? =
155
 
156
- 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
157
 
158
  = Is it possible create gallery in Wordpress post with Gallery? =
159
 
@@ -163,13 +159,21 @@ Yes, you can insert gallery into post with shortcode tag
163
 
164
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
165
 
 
 
 
 
 
 
 
 
166
  = How to insert gallery into Wordpress page or post? =
167
 
168
  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
169
 
170
- = How I can create custom (grid) layout of the thumbnails? =
171
 
172
- 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
173
 
174
  = Is it possible to create direct link on the front end to the gallery? =
175
 
@@ -179,42 +183,46 @@ Yes, you can use generated direct link inside particular gallery settings
179
 
180
  No, we don't have any limits for image size in our gallery.
181
 
182
- = How to define size of the gallery images thumbnails? =
183
-
184
- 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
185
-
186
- = How to define custom hover effect for some gallery thumbnail? =
187
 
188
- 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.
189
 
190
  = Do you have some limits for images types in gallery? =
191
 
192
  You can use any standard file type in our gallery: png, jpg, jpeg, gif
193
 
194
- = Do you have some limits for images amount in gallery? =
195
 
196
- No, we don't have any limits for amount of the images in gallery
197
 
198
- = How to change font size of the gallery image caption? =
199
 
200
- In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
201
 
202
- = Where specify description of the gallery images? =
203
 
204
- 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
205
 
206
- = Is it possible to turn off border of the gallery thumbnails? =
207
 
208
- Yes, in gallery options you can turn on/off border option
209
 
210
- = How to generate shortcode for Wordpress page, post or widget? =
211
 
212
- 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
213
 
214
  = How to define video for some gallery image? =
215
 
216
  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
217
 
 
 
 
 
 
 
 
 
218
  = How to hide titles of the gallery image in lightbox ? =
219
 
220
  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.
@@ -223,18 +231,10 @@ In lightbox section of the gallery settings you can find hide title option. If y
223
 
224
  Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
225
 
226
- = How to define custom link for some gallery images? =
227
-
228
- 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
229
-
230
  = How to make shadow for the gallery thumbnails? =
231
 
232
  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
233
 
234
- = How to customize border of the gallery thumbnails? =
235
-
236
- 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
237
-
238
  = Which parameters I can change for the gallery thumbnails borders and shadows? =
239
 
240
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
@@ -510,6 +510,12 @@ If any problem occurs, please contact us.
510
 
511
  == Changelog ==
512
 
 
 
 
 
 
 
513
  = 1.3.0 =
514
  * Implemented smart links processing
515
  * Auto detection links with turned off link navigation button
@@ -612,6 +618,9 @@ If any problem occurs, please contact us.
612
 
613
  == Upgrade Notice ==
614
 
 
 
 
615
  = 1.3.0 =
616
  Implemented smart links processing, auto detection links and videos with turned off navigation button
617
 
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.3
7
+ Stable tag: 1.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
143
 
144
  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.
145
 
 
 
 
 
146
  = How to upload images to the gallery? =
147
 
148
  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.
149
 
150
+ = What can I do if some gallery interface elements in backend do not work properly? =
151
 
152
+ 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.
153
 
154
  = Is it possible create gallery in Wordpress post with Gallery? =
155
 
159
 
160
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
161
 
162
+ = How I can create custom (grid) layout of the thumbnails? =
163
+
164
+ 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
165
+
166
+ = How to customize hover effect? =
167
+
168
+ 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
169
+
170
  = How to insert gallery into Wordpress page or post? =
171
 
172
  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
173
 
174
+ = How to define custom hover effect for some gallery thumbnail? =
175
 
176
+ 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.
177
 
178
  = Is it possible to create direct link on the front end to the gallery? =
179
 
183
 
184
  No, we don't have any limits for image size in our gallery.
185
 
186
+ = Do you have some limits for images amount in gallery? =
 
 
 
 
187
 
188
+ No, we don't have any limits for amount of the images in gallery
189
 
190
  = Do you have some limits for images types in gallery? =
191
 
192
  You can use any standard file type in our gallery: png, jpg, jpeg, gif
193
 
194
+ = Where specify description of the gallery images? =
195
 
196
+ 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
197
 
198
+ = How to generate shortcode for Wordpress page, post or widget? =
199
 
200
+ 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
201
 
202
+ = How to define size of the gallery images thumbnails? =
203
 
204
+ 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
205
 
206
+ = How to change font size of the gallery image caption? =
207
 
208
+ In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
209
 
210
+ = Is it possible to turn off border of the gallery thumbnails? =
211
 
212
+ Yes, in gallery options you can turn on/off border option
213
 
214
  = How to define video for some gallery image? =
215
 
216
  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
217
 
218
+ = How to customize border of the gallery thumbnails? =
219
+
220
+ 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
221
+
222
+ = How to define custom link for some gallery images? =
223
+
224
+ 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
225
+
226
  = How to hide titles of the gallery image in lightbox ? =
227
 
228
  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.
231
 
232
  Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
233
 
 
 
 
 
234
  = How to make shadow for the gallery thumbnails? =
235
 
236
  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
237
 
 
 
 
 
238
  = Which parameters I can change for the gallery thumbnails borders and shadows? =
239
 
240
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
510
 
511
  == Changelog ==
512
 
513
+ = 1.3.1 =
514
+ * Updated categories workflow
515
+ * Empty gallery support
516
+ * More complicated categories structure support
517
+
518
+
519
  = 1.3.0 =
520
  * Implemented smart links processing
521
  * Auto detection links with turned off link navigation button
618
 
619
  == Upgrade Notice ==
620
 
621
+ = 1.3.1 =
622
+ Updated categories workflow, empty gallery support, more complicated categories structure support
623
+
624
  = 1.3.0 =
625
  Implemented smart links processing, auto detection links and videos with turned off navigation button
626
 
robogallery.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
- * Version: 1.3.0
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
+ * Version: 1.3.1
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+