Gallery – Photo Gallery and Images Gallery - Version 1.3.2

Version Description

  • Line height option for description, link and zoom button
Download this release

Release Info

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

Code changes from version 1.3.1 to 1.3.2

cmb2/fields/font/cmb-field-font.php CHANGED
@@ -43,6 +43,9 @@ function jt_cmb2_render_font_field_callback( $field, $value, $object_id, $object
43
  $value = wp_parse_args( $value, array(
44
  'enabled' => isset($default['enabled']) ? $default['enabled'] :'0',
45
  'fontSize' => isset($default['fontSize']) ? $default['fontSize'] :'12',
 
 
 
46
  'fontBold' => isset($default['fontBold']) ? $default['fontBold'] :'normal',
47
  'fontItalic' => isset($default['fontItalic']) ? $default['fontItalic'] :'normal',
48
  'fontUnderline' => isset($default['fontUnderline']) ? $default['fontUnderline'] :'none',
@@ -125,7 +128,7 @@ function jt_cmb2_render_font_field_callback( $field, $value, $object_id, $object
125
  'value' => (int) $value['fontSize'],
126
  'data-slider-value' => (int) $value['fontSize'],
127
  'type' => 'text',
128
- 'class' => 'small-text rbs_slider rbs_font_slider',
129
  'data-slider-min' => 5,
130
  'data-slider-max' => 50,
131
  'data-slider-step' => 1,
@@ -135,6 +138,25 @@ function jt_cmb2_render_font_field_callback( $field, $value, $object_id, $object
135
  </div>
136
  </div>
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  <?php if( $field->args('icon') ){ ?>
139
  <div class="form-group">
140
  <label class="col-sm-2 control-label" for="<?php echo $field_type_object->_id( 'borderSize' ); ?>'"><?php echo esc_html( $field_type_object->_text( 'font_borderSize_text', 'Border Size' ) ); ?></label>
@@ -237,6 +259,7 @@ function jt_cmb2_render_font_field_callback( $field, $value, $object_id, $object
237
  .'style="'
238
  .'color: '.$value['color'].'; '
239
  .'font-size:'.(int) $value['fontSize'].'px; '
 
240
  .'font-weight:' .($value['fontBold']=='bold' ?'bold' :'normal') .'; '
241
  .'font-style:' .($value['fontItalic']=='italic' ?'italic' :'normal') .'; '
242
  .'text-decoration:' .($value['fontUnderline']=='underline' ?'underline':'none') .'; '
43
  $value = wp_parse_args( $value, array(
44
  'enabled' => isset($default['enabled']) ? $default['enabled'] :'0',
45
  'fontSize' => isset($default['fontSize']) ? $default['fontSize'] :'12',
46
+
47
+ 'fontLineHeight'=> isset($default['fontLineHeight'])? $default['fontLineHeight'] :'100',
48
+
49
  'fontBold' => isset($default['fontBold']) ? $default['fontBold'] :'normal',
50
  'fontItalic' => isset($default['fontItalic']) ? $default['fontItalic'] :'normal',
51
  'fontUnderline' => isset($default['fontUnderline']) ? $default['fontUnderline'] :'none',
128
  'value' => (int) $value['fontSize'],
129
  'data-slider-value' => (int) $value['fontSize'],
130
  'type' => 'text',
131
+ 'class' => 'small-text rbs_slider rbs_font_slider rbs_font_size',
132
  'data-slider-min' => 5,
133
  'data-slider-max' => 50,
134
  'data-slider-step' => 1,
138
  </div>
139
  </div>
140
 
141
+ <div class="form-group">
142
+ <label class="col-sm-2 control-label" for="<?php echo $field_type_object->_id( 'fontLineHeight' ); ?>'"><?php echo esc_html( $field_type_object->_text( 'font_vfont_text', 'Line Height' ) ); ?></label>
143
+ <div class="col-sm-10">
144
+ <?php echo $field_type_object->input( array(
145
+ 'name' => $field_type_object->_name( '[fontLineHeight]' ),
146
+ 'id' => $field_type_object->_id( 'fontLineHeight' ),
147
+ 'value' => (int) $value['fontLineHeight'],
148
+ 'data-slider-value' => (int) $value['fontLineHeight'],
149
+ 'type' => 'text',
150
+ 'class' => 'small-text rbs_slider rbs_font_slider rbs_font_line ',
151
+ 'data-slider-min' => 50,
152
+ 'data-slider-max' => 300,
153
+ 'data-slider-step' => 1,
154
+ 'data-font-demoid' => !$field->args('icon') ? $field_type_object->_id( 'demo' ):'',
155
+ ) );
156
+ ?> %
157
+ </div>
158
+ </div>
159
+
160
  <?php if( $field->args('icon') ){ ?>
161
  <div class="form-group">
162
  <label class="col-sm-2 control-label" for="<?php echo $field_type_object->_id( 'borderSize' ); ?>'"><?php echo esc_html( $field_type_object->_text( 'font_borderSize_text', 'Border Size' ) ); ?></label>
259
  .'style="'
260
  .'color: '.$value['color'].'; '
261
  .'font-size:'.(int) $value['fontSize'].'px; '
262
+ .'line-height:'.(int) $value['fontLineHeight'].'%; '
263
  .'font-weight:' .($value['fontBold']=='bold' ?'bold' :'normal') .'; '
264
  .'font-style:' .($value['fontItalic']=='italic' ?'italic' :'normal') .'; '
265
  .'text-decoration:' .($value['fontUnderline']=='underline' ?'underline':'none') .'; '
includes/frontend/rbs_gallery_class_utils.php CHANGED
@@ -25,8 +25,10 @@ class roboGalleryUtils extends roboGalleryParent{
25
  $retHtml = '';
26
  if(count($item)){
27
  if( isset($item['enabled']) && $item['enabled'] ){
28
- if(isset($item['fontSize'])) $this->{$class.'Style'} .= ' font-size:'. (int)$item['fontSize'].'px;'
29
- .' ';
 
 
30
  if(isset($item['color'])) $this->{$class.'Style'} .= ' color:'. $item['color'].';';
31
  if(isset($item['fontBold'])) $this->{$class.'Style'} .= ' font-weight:'. ($item['fontBold'] ?'bold' :'normal').';';
32
  if(isset($item['fontItalic'])) $this->{$class.'Style'} .= ' font-style:'. ($item['fontItalic'] ?'italic' :'normal').';';
25
  $retHtml = '';
26
  if(count($item)){
27
  if( isset($item['enabled']) && $item['enabled'] ){
28
+ if(isset($item['fontSize'])) $this->{$class.'Style'} .= ' font-size:'. (int)$item['fontSize'].'px;';
29
+
30
+ if(isset($item['fontLineHeight'])) $this->{$class.'Style'} .= ' line-height:'. (int)$item['fontLineHeight'].'%;';
31
+
32
  if(isset($item['color'])) $this->{$class.'Style'} .= ' color:'. $item['color'].';';
33
  if(isset($item['fontBold'])) $this->{$class.'Style'} .= ' font-weight:'. ($item['fontBold'] ?'bold' :'normal').';';
34
  if(isset($item['fontItalic'])) $this->{$class.'Style'} .= ' font-style:'. ($item['fontItalic'] ?'italic' :'normal').';';
js/admin/edit.js CHANGED
@@ -77,11 +77,16 @@
77
 
78
  rbs_init= 0;
79
 
80
- jQuery(document).on("slide slideStop", ".rbs_font_slider", function(slideEvt) {
81
  var divObj = jQuery(this).data('font-demoid');
82
  jQuery('#'+divObj).css('font-size', slideEvt.value+'px');
83
  });
84
 
 
 
 
 
 
85
  jQuery('body').on("change", ".rbs_fontParams", function() {
86
  var divObj = jQuery(this).data('font-demoid'),
87
  fontOptions = jQuery(this).data('font-option'),
77
 
78
  rbs_init= 0;
79
 
80
+ jQuery(document).on("slide slideStop", ".rbs_font_slider.rbs_font_size", function(slideEvt) {
81
  var divObj = jQuery(this).data('font-demoid');
82
  jQuery('#'+divObj).css('font-size', slideEvt.value+'px');
83
  });
84
 
85
+ jQuery(document).on("slide slideStop", ".rbs_font_slider.rbs_font_line", function(slideEvt) {
86
+ var divObj = jQuery(this).data('font-demoid');
87
+ jQuery('#'+divObj).css('line-height', slideEvt.value+'%');
88
+ });
89
+
90
  jQuery('body').on("change", ".rbs_fontParams", function() {
91
  var divObj = jQuery(this).data('font-demoid'),
92
  fontOptions = jQuery(this).data('font-option'),
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.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -159,10 +159,6 @@ Yes, you can insert gallery into post with shortcode tag
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
@@ -171,26 +167,18 @@ In gallery settings you can find hover type options. In settings of the gallery
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
 
180
- Yes, you can use generated direct link inside particular gallery settings
181
 
182
  = Do you have some limit for images size in gallery? =
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
@@ -199,9 +187,17 @@ When you open gallery settings inside you'll find images manager section. Images
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
 
@@ -219,6 +215,10 @@ Every gallery image have additional fields where you can define custom link, tit
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
@@ -231,6 +231,10 @@ In lightbox section of the gallery settings you can find hide title option. If y
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
@@ -239,10 +243,6 @@ Shadows of the thumbnails you can customize in gallery settings. With gallery se
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
241
 
242
- = How to change spacing between thumbnails? =
243
-
244
- In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
245
-
246
  = How to change color of the gallery interface elements? =
247
 
248
  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.
@@ -510,6 +510,9 @@ If any problem occurs, please contact us.
510
 
511
  == Changelog ==
512
 
 
 
 
513
  = 1.3.1 =
514
  * Updated categories workflow
515
  * Empty gallery support
@@ -618,6 +621,9 @@ If any problem occurs, please contact us.
618
 
619
  == Upgrade Notice ==
620
 
 
 
 
621
  = 1.3.1 =
622
  Updated categories workflow, empty gallery support, more complicated categories structure support
623
 
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.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
159
 
160
  Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
161
 
 
 
 
 
162
  = How to customize hover effect? =
163
 
164
  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
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
+ = 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
  = Do you have some limit for images size in gallery? =
179
 
180
  No, we don't have any limits for image size in our gallery.
181
 
 
 
 
 
 
 
 
 
182
  = Where specify description of the gallery images? =
183
 
184
  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
187
 
188
  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
189
 
190
+ = Do you have some limits for images amount in gallery? =
191
 
192
+ No, we don't have any limits for amount of the images in gallery
193
+
194
+ = Do you have some limits for images types in gallery? =
195
+
196
+ You can use any standard file type in our gallery: png, jpg, jpeg, gif
197
+
198
+ = Is it possible to create direct link on the front end to the gallery? =
199
+
200
+ Yes, you can use generated direct link inside particular gallery settings
201
 
202
  = How to change font size of the gallery image caption? =
203
 
215
 
216
  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
217
 
218
+ = How to define size of the gallery images thumbnails? =
219
+
220
+ 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
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
231
 
232
  Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
233
 
234
+ = How to change spacing between thumbnails? =
235
+
236
+ In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
237
+
238
  = How to make shadow for the gallery thumbnails? =
239
 
240
  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
243
 
244
  You can change size, color and style of gallery thumbnails borders and shadows. Also you can define different parameters for static and hovered status
245
 
 
 
 
 
246
  = How to change color of the gallery interface elements? =
247
 
248
  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.
510
 
511
  == Changelog ==
512
 
513
+ = 1.3.2 =
514
+ * Line height option for description, link and zoom button
515
+
516
  = 1.3.1 =
517
  * Updated categories workflow
518
  * Empty gallery support
621
 
622
  == Upgrade Notice ==
623
 
624
+ = 1.3.2 =
625
+ Line height option for description, link and zoom button
626
+
627
  = 1.3.1 =
628
  Updated categories workflow, empty gallery support, more complicated categories structure support
629
 
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.1
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.2
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+