Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.37

Version Description

  • New: Load more with scroll.
  • Fixed: Thumbnail size on recover.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.2.37
Comparing to
See all releases

Code changes from version 1.2.36 to 1.2.37

admin/controllers/BWGControllerGalleries_bwg.php CHANGED
@@ -156,8 +156,8 @@ class BWGControllerGalleries_bwg {
156
  global $wpdb;
157
  $id = ((isset($_POST['image_current_id'])) ? esc_html(stripslashes($_POST['image_current_id'])) : 0);
158
  $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
159
- $thumb_width = $options->thumb_width;
160
- $thumb_height = $options->thumb_height;
161
  $this->recover_image($id, $thumb_width, $thumb_height);
162
  }
163
 
@@ -165,8 +165,8 @@ class BWGControllerGalleries_bwg {
165
  global $wpdb;
166
  $gallery_id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
167
  $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
168
- $thumb_width = $options->thumb_width;
169
- $thumb_height = $options->thumb_height;
170
  $image_ids_col = $wpdb->get_col($wpdb->prepare('SELECT id FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"', $gallery_id));
171
  foreach ($image_ids_col as $image_id) {
172
  if (isset($_POST['check_' . $image_id]) || isset($_POST['check_all_items'])) {
@@ -818,6 +818,10 @@ class BWGControllerGalleries_bwg {
818
  'preview_image' => $preview_image,
819
  'random_preview_image' => $random_preview_image,
820
  'author' => get_current_user_id(),
 
 
 
 
821
  'published' => $published), array('id' => $id));
822
  /* Update data in corresponding posts.*/
823
  $query2 = "SELECT ID, post_content FROM " . $wpdb->posts . " WHERE post_type = 'bwg_gallery'";
156
  global $wpdb;
157
  $id = ((isset($_POST['image_current_id'])) ? esc_html(stripslashes($_POST['image_current_id'])) : 0);
158
  $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
159
+ $thumb_width = $options->upload_thumb_width;
160
+ $thumb_height = $options->upload_thumb_height;
161
  $this->recover_image($id, $thumb_width, $thumb_height);
162
  }
163
 
165
  global $wpdb;
166
  $gallery_id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
167
  $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
168
+ $thumb_width = $options->upload_thumb_width;
169
+ $thumb_height = $options->upload_thumb_height;
170
  $image_ids_col = $wpdb->get_col($wpdb->prepare('SELECT id FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"', $gallery_id));
171
  foreach ($image_ids_col as $image_id) {
172
  if (isset($_POST['check_' . $image_id]) || isset($_POST['check_all_items'])) {
818
  'preview_image' => $preview_image,
819
  'random_preview_image' => $random_preview_image,
820
  'author' => get_current_user_id(),
821
+ 'gallery_type' => $gallery_type,
822
+ 'gallery_source' => $gallery_source,
823
+ 'autogallery_image_number' => $autogallery_image_number,
824
+ 'update_flag' => $update_flag,
825
  'published' => $published), array('id' => $id));
826
  /* Update data in corresponding posts.*/
827
  $query2 = "SELECT ID, post_content FROM " . $wpdb->posts . " WHERE post_type = 'bwg_gallery'";
admin/controllers/BWGControllerTags_bwg.php CHANGED
@@ -234,17 +234,15 @@ class BWGControllerTags_bwg {
234
  $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $id);
235
  $flag = $wpdb->query($query);
236
 
237
- /*delete corresponding posts and their meta*/
238
- $query2 = "SELECT ID, post_content FROM ".$wpdb->posts." WHERE post_type = 'bwg_tag' ";
239
  $posts = $wpdb->get_results($query2, OBJECT);
240
- foreach($posts as $post){
241
  $post_content = $post->post_content;
242
- if( strpos($post_content, ' type="tag" ') && strpos($post_content, ' gallery_id="'.$id.'" ') ){
243
- wp_delete_post( $post->ID, true );
244
  }
245
  }
246
-
247
-
248
  if ($flag !== FALSE) {
249
  $message = 3;
250
  }
234
  $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $id);
235
  $flag = $wpdb->query($query);
236
 
237
+ /* Delete corresponding posts and their meta.*/
238
+ $query2 = "SELECT ID, post_content FROM " . $wpdb->posts . " WHERE post_type = 'bwg_tag'";
239
  $posts = $wpdb->get_results($query2, OBJECT);
240
+ foreach ($posts as $post) {
241
  $post_content = $post->post_content;
242
+ if (strpos($post_content, ' type="tag" ') && strpos($post_content, ' gallery_id="' . $id . '" ')) {
243
+ wp_delete_post($post->ID, TRUE);
244
  }
245
  }
 
 
246
  if ($flag !== FALSE) {
247
  $message = 3;
248
  }
admin/views/BWGViewBWGShortcode.php CHANGED
@@ -77,7 +77,7 @@ class BWGViewBWGShortcode {
77
  wp_print_scripts('jquery-ui-position');
78
  wp_print_scripts('jquery-ui-tooltip');
79
  ?>
80
- <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/css/bwg_shortcode.css?ver='.wd_bwg_version(); ?>">
81
  <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>">
82
  <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/bwg_shortcode.js?ver='.wd_bwg_version(); ?>"></script>
83
  <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/jscolor/jscolor.js?ver='.wd_bwg_version(); ?>"></script>
@@ -244,19 +244,19 @@ class BWGViewBWGShortcode {
244
  <tr id="tr_masonry_hor_ver">
245
  <td class="spider_label"><label>Masonry: </label></td>
246
  <td>
247
- <input type="radio" name="masonry_hor_ver" id="masonry_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', 'Max. number of image columns: ');
248
- bwg_change_label('thumb_width_height_label', 'Image Thumbnail Height: ');
249
- jQuery('#thumb_width').hide();
250
- jQuery('#thumb_height').show();
251
- jQuery('#thumb_width_height_separator').hide();" <?php echo ($option_row->masonry == 'horizontal') ? 'checked' : ''; ?> /><label for="masonry_hor">Horizontal</label>
252
  <input type="radio" name="masonry_hor_ver" id="masonry_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', 'Number of image rows: ');
253
  bwg_change_label('thumb_width_height_label', 'Image thumbnail width: ');
254
  jQuery('#thumb_width').show();
255
  jQuery('#thumb_height').hide();
256
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($option_row->masonry == 'vertical') ? 'checked' : ''; ?> /><label for="masonry_ver">Vertical</label>
 
 
 
 
 
257
  </td>
258
  </tr>
259
- <!--Thumbnails, Mosaic viewies-->
260
  <tr id="tr_mosaic_hor_ver">
261
  <td class="spider_label"><label>Mosaic: </label></td>
262
  <td>
@@ -286,6 +286,7 @@ class BWGViewBWGShortcode {
286
  <td title="Percentage of container's width" class="spider_label"><label for="mosaic_total_width">Total width of mosaic: </label></td>
287
  <td><input type="text" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo $option_row->mosaic_total_width; ?>" class="spider_int_input" /> %</td>
288
  </tr>
 
289
  <tr id="tr_image_column_number">
290
  <td class="spider_label"><label id="image_column_number_label" for="image_column_number">Max. number of image columns: </label></td>
291
  <td><input type="text" name="image_column_number" id="image_column_number" value="<?php echo $option_row->image_column_number; ?>" class="spider_int_input" /></td>
@@ -308,6 +309,7 @@ class BWGViewBWGShortcode {
308
  <input type="radio" name="image_enable_page" id="image_page_yes" value="1" <?php echo ($option_row->image_enable_page == '1') ? 'checked' : ''; ?> /><label for="image_page_yes">Yes</label>
309
  <input type="radio" name="image_enable_page" id="image_page_no" value="0" <?php echo ($option_row->image_enable_page == '0') ? 'checked' : ''; ?> /><label for="image_page_no">No</label>
310
  <input type="radio" name="image_enable_page" id="image_page_loadmore" value="2" <?php echo ($option_row->image_enable_page == '2') ? 'checked' : ''; ?> /><label for="image_page_loadmore">Load More</label>
 
311
  </td>
312
  </tr>
313
  <tr id="tr_thumb_width_height">
@@ -335,7 +337,7 @@ class BWGViewBWGShortcode {
335
  <input type="radio" name="compuct_album_title" id="compuct_album_title_none" value="none" <?php echo ($option_row->album_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="compuct_album_title_none">Don't show</label>
336
  </td>
337
  </tr>
338
- <tr id="tr_compuct_album_thumb_width_height">
339
  <td title="Maximum values for album thumb width and height." class="spider_label"><label for="compuct_album_thumb_width">Album Thumbnail dimensions: </label></td>
340
  <td>
341
  <input type="text" name="compuct_album_thumb_width" id="compuct_album_thumb_width" value="<?php echo $option_row->album_thumb_width; ?>" class="spider_int_input" /> x
@@ -407,6 +409,8 @@ class BWGViewBWGShortcode {
407
  <td>
408
  <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_yes" value="1" <?php echo ($option_row->album_enable_page) ? 'checked' : ''; ?> /><label for="compuct_album_page_yes">Yes</label>
409
  <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_no" value="0" <?php echo ($option_row->album_enable_page) ? '' : 'checked'; ?> /><label for="compuct_album_page_no">No</label>
 
 
410
  </td>
411
  </tr>
412
 
@@ -426,7 +430,7 @@ class BWGViewBWGShortcode {
426
  <input type="radio" name="extended_album_description_enable" id="extended_album_description_no" value="0" <?php echo ($option_row->extended_album_description_enable) ? '' : 'checked'; ?> /><label for="extended_album_description_no">No</label>
427
  </td>
428
  </tr>
429
- <tr id="tr_extended_album_thumb_width_height">
430
  <td title="Maximum values for album thumb width and height." class="spider_label"><label for="extended_album_thumb_width">Album thumbnail dimensions: </label></td>
431
  <td>
432
  <input type="text" name="extended_album_thumb_width" id="extended_album_thumb_width" value="<?php echo $option_row->album_thumb_width; ?>" class="spider_int_input" /> x
@@ -500,6 +504,7 @@ class BWGViewBWGShortcode {
500
  <input type="radio" name="extended_album_enable_page" id="extended_album_page_yes" value="1" <?php echo ($option_row->album_enable_page == '1') ? 'checked' : ''; ?> /><label for="extended_album_page_yes">Yes</label>
501
  <input type="radio" name="extended_album_enable_page" id="extended_album_page_no" value="0" <?php echo ($option_row->album_enable_page == '0') ? 'checked' : ''; ?> /><label for="extended_album_page_no">No</label>
502
  <input type="radio" name="extended_album_enable_page" id="extended_album_page_loadmore" value="2" <?php echo ($option_row->album_enable_page == '2') ? 'checked' : ''; ?> /><label for="extended_album_page_loadmore">Load More</label>
 
503
  </td>
504
  </tr>
505
 
@@ -549,6 +554,7 @@ class BWGViewBWGShortcode {
549
  <input type="radio" name="blog_style_enable_page" id="blog_style_page_yes" value="1" <?php echo ($option_row->blog_style_enable_page == '1') ? 'checked' : ''; ?> /><label for="blog_style_page_yes">Yes</label>
550
  <input type="radio" name="blog_style_enable_page" id="blog_style_page_no" value="0" <?php echo ($option_row->blog_style_enable_page == '0') ? 'checked' : ''; ?> /><label for="blog_style_page_no">No</label>
551
  <input type="radio" name="blog_style_enable_page" id="blog_style_page_loadmore" value="2" <?php echo ($option_row->blog_style_enable_page == '2') ? 'checked' : ''; ?> /><label for="blog_style_page_loadmore">Load more</label>
 
552
  </td>
553
  </tr>
554
 
@@ -1100,8 +1106,11 @@ class BWGViewBWGShortcode {
1100
  else if (short_code['image_enable_page'] == 0) {
1101
  jQuery("#image_page_no").attr('checked', 'checked');
1102
  }
1103
- else {
1104
  jQuery("#image_page_loadmore").attr('checked', 'checked');
 
 
 
1105
  }
1106
  jQuery("#thumb_width").val(short_code['thumb_width']);
1107
  jQuery("#thumb_height").val(short_code['thumb_height']);
@@ -1252,9 +1261,12 @@ class BWGViewBWGShortcode {
1252
  else if (short_code['compuct_album_enable_page'] == 0) {
1253
  jQuery("#compuct_album_page_no").attr('checked', 'checked');
1254
  }
1255
- else {
1256
  jQuery("#compuct_album_page_loadmore").attr('checked', 'checked');
1257
  }
 
 
 
1258
  if (short_code['compuct_album_view_type'] == 'thumbnail') {
1259
  jQuery("#compuct_album_view_type_1").attr('checked', 'checked');
1260
  }
@@ -1327,9 +1339,12 @@ class BWGViewBWGShortcode {
1327
  else if (short_code['extended_album_enable_page'] == 0) {
1328
  jQuery("#extended_album_page_no").attr('checked', 'checked');
1329
  }
1330
- else {
1331
  jQuery("#extended_album_page_loadmore").attr('checked', 'checked');
1332
  }
 
 
 
1333
  if (short_code['extended_album_view_type'] == 'thumbnail') {
1334
  jQuery("#extended_album_view_type_1").attr('checked', 'checked');
1335
  }
@@ -1584,7 +1599,7 @@ class BWGViewBWGShortcode {
1584
  tagtext += ' slideshow_filmstrip_height="' + jQuery("#slideshow_filmstrip_height").val() + '"';
1585
  tagtext += ' slideshow_enable_title="' + jQuery("input[name=slideshow_enable_title]:checked").val() + '"';
1586
  tagtext += ' slideshow_title_position="' + jQuery("input[name=slideshow_title_position]:checked").val() + '"';
1587
- tagtext += ' slideshow_title_full_width="' + jQuery("input[name=slideshow_title_full_width]:checked").val() + '"';
1588
  tagtext += ' slideshow_enable_description="' + jQuery("input[name=slideshow_enable_description]:checked").val() + '"';
1589
  tagtext += ' slideshow_description_position="' + jQuery("input[name=slideshow_description_position]:checked").val() + '"';
1590
  tagtext += ' enable_slideshow_music="' + jQuery("input[name=enable_slideshow_music]:checked").val() + '"';
@@ -1675,7 +1690,7 @@ class BWGViewBWGShortcode {
1675
  tagtext += ' popup_enable_fullscreen="' + jQuery("input[name=popup_enable_fullscreen]:checked").val() + '"';
1676
  tagtext += ' popup_enable_info="' + jQuery("input[name=popup_enable_info]:checked").val() + '"';
1677
  tagtext += ' popup_info_always_show="' + jQuery("input[name=popup_info_always_show]:checked").val() + '"';
1678
- tagtext += ' popup_info_full_width="' + jQuery("input[name=popup_info_full_width]:checked").val() + '"';
1679
  tagtext += ' popup_enable_rate="' + jQuery("input[name=popup_enable_rate]:checked").val() + '"';
1680
  tagtext += ' popup_enable_comment="' + jQuery("input[name=popup_enable_comment]:checked").val() + '"';
1681
  tagtext += ' popup_hit_counter="' + jQuery("input[name=popup_hit_counter]:checked").val() + '"';
77
  wp_print_scripts('jquery-ui-position');
78
  wp_print_scripts('jquery-ui-tooltip');
79
  ?>
80
+ <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/css/bwg_shortcode.css?ver='.wd_bwg_version(); ?>">
81
  <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>">
82
  <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/bwg_shortcode.js?ver='.wd_bwg_version(); ?>"></script>
83
  <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/jscolor/jscolor.js?ver='.wd_bwg_version(); ?>"></script>
244
  <tr id="tr_masonry_hor_ver">
245
  <td class="spider_label"><label>Masonry: </label></td>
246
  <td>
 
 
 
 
 
247
  <input type="radio" name="masonry_hor_ver" id="masonry_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', 'Number of image rows: ');
248
  bwg_change_label('thumb_width_height_label', 'Image thumbnail width: ');
249
  jQuery('#thumb_width').show();
250
  jQuery('#thumb_height').hide();
251
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($option_row->masonry == 'vertical') ? 'checked' : ''; ?> /><label for="masonry_ver">Vertical</label>
252
+ <input type="radio" name="masonry_hor_ver" id="masonry_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', 'Max. number of image columns: ');
253
+ bwg_change_label('thumb_width_height_label', 'Image Thumbnail Height: ');
254
+ jQuery('#thumb_width').hide();
255
+ jQuery('#thumb_height').show();
256
+ jQuery('#thumb_width_height_separator').hide();" <?php echo ($option_row->masonry == 'horizontal') ? 'checked' : ''; ?> /><label for="masonry_hor">Horizontal</label>
257
  </td>
258
  </tr>
259
+ <!--Thumbnails, Mosaic viewies-->
260
  <tr id="tr_mosaic_hor_ver">
261
  <td class="spider_label"><label>Mosaic: </label></td>
262
  <td>
286
  <td title="Percentage of container's width" class="spider_label"><label for="mosaic_total_width">Total width of mosaic: </label></td>
287
  <td><input type="text" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo $option_row->mosaic_total_width; ?>" class="spider_int_input" /> %</td>
288
  </tr>
289
+ <!--Thumbnails, Masonry and Mosaic viewies-->
290
  <tr id="tr_image_column_number">
291
  <td class="spider_label"><label id="image_column_number_label" for="image_column_number">Max. number of image columns: </label></td>
292
  <td><input type="text" name="image_column_number" id="image_column_number" value="<?php echo $option_row->image_column_number; ?>" class="spider_int_input" /></td>
309
  <input type="radio" name="image_enable_page" id="image_page_yes" value="1" <?php echo ($option_row->image_enable_page == '1') ? 'checked' : ''; ?> /><label for="image_page_yes">Yes</label>
310
  <input type="radio" name="image_enable_page" id="image_page_no" value="0" <?php echo ($option_row->image_enable_page == '0') ? 'checked' : ''; ?> /><label for="image_page_no">No</label>
311
  <input type="radio" name="image_enable_page" id="image_page_loadmore" value="2" <?php echo ($option_row->image_enable_page == '2') ? 'checked' : ''; ?> /><label for="image_page_loadmore">Load More</label>
312
+ <input type="radio" name="image_enable_page" id="image_page_scrol_load" value="3" <?php echo ($option_row->image_enable_page == '3') ? 'checked' : ''; ?> /><label for="image_page_scrol_load">Scroll Load</label>
313
  </td>
314
  </tr>
315
  <tr id="tr_thumb_width_height">
337
  <input type="radio" name="compuct_album_title" id="compuct_album_title_none" value="none" <?php echo ($option_row->album_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="compuct_album_title_none">Don't show</label>
338
  </td>
339
  </tr>
340
+ <tr id="tr_compuct_album_thumb_width_height">
341
  <td title="Maximum values for album thumb width and height." class="spider_label"><label for="compuct_album_thumb_width">Album Thumbnail dimensions: </label></td>
342
  <td>
343
  <input type="text" name="compuct_album_thumb_width" id="compuct_album_thumb_width" value="<?php echo $option_row->album_thumb_width; ?>" class="spider_int_input" /> x
409
  <td>
410
  <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_yes" value="1" <?php echo ($option_row->album_enable_page) ? 'checked' : ''; ?> /><label for="compuct_album_page_yes">Yes</label>
411
  <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_no" value="0" <?php echo ($option_row->album_enable_page) ? '' : 'checked'; ?> /><label for="compuct_album_page_no">No</label>
412
+ <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_loadmore" value="2" <?php echo ($option_row->album_enable_page == '2') ? 'checked' : ''; ?> /><label for="compuct_album_page_loadmore">Load More</label>
413
+ <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_scrol_load" value="3" <?php echo ($option_row->album_enable_page == '3') ? 'checked' : ''; ?> /><label for="compuct_album_page_scrol_load">Scroll Load</label>
414
  </td>
415
  </tr>
416
 
430
  <input type="radio" name="extended_album_description_enable" id="extended_album_description_no" value="0" <?php echo ($option_row->extended_album_description_enable) ? '' : 'checked'; ?> /><label for="extended_album_description_no">No</label>
431
  </td>
432
  </tr>
433
+ <tr id="tr_extended_album_thumb_width_height">
434
  <td title="Maximum values for album thumb width and height." class="spider_label"><label for="extended_album_thumb_width">Album thumbnail dimensions: </label></td>
435
  <td>
436
  <input type="text" name="extended_album_thumb_width" id="extended_album_thumb_width" value="<?php echo $option_row->album_thumb_width; ?>" class="spider_int_input" /> x
504
  <input type="radio" name="extended_album_enable_page" id="extended_album_page_yes" value="1" <?php echo ($option_row->album_enable_page == '1') ? 'checked' : ''; ?> /><label for="extended_album_page_yes">Yes</label>
505
  <input type="radio" name="extended_album_enable_page" id="extended_album_page_no" value="0" <?php echo ($option_row->album_enable_page == '0') ? 'checked' : ''; ?> /><label for="extended_album_page_no">No</label>
506
  <input type="radio" name="extended_album_enable_page" id="extended_album_page_loadmore" value="2" <?php echo ($option_row->album_enable_page == '2') ? 'checked' : ''; ?> /><label for="extended_album_page_loadmore">Load More</label>
507
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_scrol_load" value="3" <?php echo ($option_row->album_enable_page == '3') ? 'checked' : ''; ?> /><label for="extended_album_page_scrol_load">Scroll Load </label>
508
  </td>
509
  </tr>
510
 
554
  <input type="radio" name="blog_style_enable_page" id="blog_style_page_yes" value="1" <?php echo ($option_row->blog_style_enable_page == '1') ? 'checked' : ''; ?> /><label for="blog_style_page_yes">Yes</label>
555
  <input type="radio" name="blog_style_enable_page" id="blog_style_page_no" value="0" <?php echo ($option_row->blog_style_enable_page == '0') ? 'checked' : ''; ?> /><label for="blog_style_page_no">No</label>
556
  <input type="radio" name="blog_style_enable_page" id="blog_style_page_loadmore" value="2" <?php echo ($option_row->blog_style_enable_page == '2') ? 'checked' : ''; ?> /><label for="blog_style_page_loadmore">Load more</label>
557
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_scrol_load" value="3" <?php echo ($option_row->blog_style_enable_page == '3') ? 'checked' : ''; ?> /><label for="blog_style_page_scrol_load">Scroll Load </label>
558
  </td>
559
  </tr>
560
 
1106
  else if (short_code['image_enable_page'] == 0) {
1107
  jQuery("#image_page_no").attr('checked', 'checked');
1108
  }
1109
+ else if (short_code['image_enable_page'] == 2) {
1110
  jQuery("#image_page_loadmore").attr('checked', 'checked');
1111
+ }
1112
+ else if (short_code['image_enable_page'] == 3) {
1113
+ jQuery("#image_page_scrol_load").attr('checked', 'checked');
1114
  }
1115
  jQuery("#thumb_width").val(short_code['thumb_width']);
1116
  jQuery("#thumb_height").val(short_code['thumb_height']);
1261
  else if (short_code['compuct_album_enable_page'] == 0) {
1262
  jQuery("#compuct_album_page_no").attr('checked', 'checked');
1263
  }
1264
+ else if (short_code['compuct_album_enable_page'] == 2) {
1265
  jQuery("#compuct_album_page_loadmore").attr('checked', 'checked');
1266
  }
1267
+ else if (short_code['compuct_album_enable_page'] == 3) {
1268
+ jQuery("#compuct_album_page_scrol_load").attr('checked', 'checked');
1269
+ }
1270
  if (short_code['compuct_album_view_type'] == 'thumbnail') {
1271
  jQuery("#compuct_album_view_type_1").attr('checked', 'checked');
1272
  }
1339
  else if (short_code['extended_album_enable_page'] == 0) {
1340
  jQuery("#extended_album_page_no").attr('checked', 'checked');
1341
  }
1342
+ else if (short_code['extended_album_enable_page'] == 2) {
1343
  jQuery("#extended_album_page_loadmore").attr('checked', 'checked');
1344
  }
1345
+ else if (short_code['extended_album_enable_page'] == 3){
1346
+ jQuery("#extended_album_page_scrol_load").attr('checked', 'checked');
1347
+ }
1348
  if (short_code['extended_album_view_type'] == 'thumbnail') {
1349
  jQuery("#extended_album_view_type_1").attr('checked', 'checked');
1350
  }
1599
  tagtext += ' slideshow_filmstrip_height="' + jQuery("#slideshow_filmstrip_height").val() + '"';
1600
  tagtext += ' slideshow_enable_title="' + jQuery("input[name=slideshow_enable_title]:checked").val() + '"';
1601
  tagtext += ' slideshow_title_position="' + jQuery("input[name=slideshow_title_position]:checked").val() + '"';
1602
+ tagtext += ' slideshow_title_full_width="' + jQuery("input[name=slideshow_title_full_width]:checked").val() + '"';
1603
  tagtext += ' slideshow_enable_description="' + jQuery("input[name=slideshow_enable_description]:checked").val() + '"';
1604
  tagtext += ' slideshow_description_position="' + jQuery("input[name=slideshow_description_position]:checked").val() + '"';
1605
  tagtext += ' enable_slideshow_music="' + jQuery("input[name=enable_slideshow_music]:checked").val() + '"';
1690
  tagtext += ' popup_enable_fullscreen="' + jQuery("input[name=popup_enable_fullscreen]:checked").val() + '"';
1691
  tagtext += ' popup_enable_info="' + jQuery("input[name=popup_enable_info]:checked").val() + '"';
1692
  tagtext += ' popup_info_always_show="' + jQuery("input[name=popup_info_always_show]:checked").val() + '"';
1693
+ tagtext += ' popup_info_full_width="' + jQuery("input[name=popup_info_full_width]:checked").val() + '"';
1694
  tagtext += ' popup_enable_rate="' + jQuery("input[name=popup_enable_rate]:checked").val() + '"';
1695
  tagtext += ' popup_enable_comment="' + jQuery("input[name=popup_enable_comment]:checked").val() + '"';
1696
  tagtext += ' popup_hit_counter="' + jQuery("input[name=popup_hit_counter]:checked").val() + '"';
framework/WDWLibrary.php CHANGED
@@ -563,6 +563,21 @@ class WDWLibrary {
563
  <?php
564
  }
565
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566
  ?>
567
  <input type="hidden" id="page_number_<?php echo $current_view; ?>" name="page_number_<?php echo $current_view; ?>" value="<?php echo ((isset($_POST['page_number_' . $current_view])) ? (int) $_POST['page_number_' . $current_view] : 1); ?>" />
568
  <script type="text/javascript">
563
  <?php
564
  }
565
  }
566
+ elseif ($pagination == 3) {
567
+ if ($count_items > $limit * $page_number) {
568
+ ?>
569
+ <script type="text/javascript">
570
+ jQuery(window).on("scroll", function() {
571
+ if (jQuery(document).scrollTop() + jQuery(window).height() > (jQuery('#<?php echo $form_id; ?>').offset().top + jQuery('#<?php echo $form_id; ?>').height())) {
572
+ spider_page_<?php echo $current_view; ?>('', <?php echo $page_number; ?>, 1, true);
573
+ jQuery(window).off("scroll");
574
+ return false;
575
+ }
576
+ });
577
+ </script>
578
+ <?php
579
+ }
580
+ }
581
  ?>
582
  <input type="hidden" id="page_number_<?php echo $current_view; ?>" name="page_number_<?php echo $current_view; ?>" value="<?php echo ((isset($_POST['page_number_' . $current_view])) ? (int) $_POST['page_number_' . $current_view] : 1); ?>" />
583
  <script type="text/javascript">
framework/WDWLibraryEmbed.php CHANGED
@@ -215,7 +215,6 @@ class WDWLibraryEmbed {
215
  }
216
  else{/*one of known oembed types*/
217
  $embed_type = 'EMBED_OEMBED_'.$host;
218
-
219
  switch ($embed_type) {
220
  case 'EMBED_OEMBED_YOUTUBE':
221
  $youtube_regex = "#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#";
215
  }
216
  else{/*one of known oembed types*/
217
  $embed_type = 'EMBED_OEMBED_'.$host;
 
218
  switch ($embed_type) {
219
  case 'EMBED_OEMBED_YOUTUBE':
220
  $youtube_regex = "#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#";
frontend/views/BWGViewAlbum_compact_preview.php CHANGED
@@ -235,7 +235,7 @@ class BWGViewAlbum_compact_preview {
235
  'enable_image_fullscreen' => $params['popup_enable_fullscreen'],
236
  'popup_enable_info' => $params['popup_enable_info'],
237
  'popup_info_always_show' => $params['popup_info_always_show'],
238
- 'popup_info_full_width' => $params['popup_info_full_width'],
239
  'popup_hit_counter' => $params['popup_hit_counter'],
240
  'popup_enable_rate' => $params['popup_enable_rate'],
241
  'slideshow_interval' => $params['popup_interval'],
@@ -266,7 +266,7 @@ class BWGViewAlbum_compact_preview {
266
  }
267
  $params_array_hash = $params_array;
268
  ?>
269
- <style>
270
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_<?php echo $bwg; ?> {
271
  display: inline-block;
272
  text-align: center;
@@ -831,7 +831,7 @@ class BWGViewAlbum_compact_preview {
831
  }
832
  }
833
  ?>
834
- </div>
835
  <?php
836
  if ($params['compuct_album_enable_page'] && $items_per_page && ($theme_row->page_nav_position == 'bottom') && $page_nav['total']) {
837
  WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page, $bwg, $album_gallery_div_id, $params['album_id'], $type, $options_row->enable_seo, $params['compuct_album_enable_page']);
235
  'enable_image_fullscreen' => $params['popup_enable_fullscreen'],
236
  'popup_enable_info' => $params['popup_enable_info'],
237
  'popup_info_always_show' => $params['popup_info_always_show'],
238
+ 'popup_info_full_width' => $params['popup_info_full_width'],
239
  'popup_hit_counter' => $params['popup_hit_counter'],
240
  'popup_enable_rate' => $params['popup_enable_rate'],
241
  'slideshow_interval' => $params['popup_interval'],
266
  }
267
  $params_array_hash = $params_array;
268
  ?>
269
+ <style>
270
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_<?php echo $bwg; ?> {
271
  display: inline-block;
272
  text-align: center;
831
  }
832
  }
833
  ?>
834
+ </div>
835
  <?php
836
  if ($params['compuct_album_enable_page'] && $items_per_page && ($theme_row->page_nav_position == 'bottom') && $page_nav['total']) {
837
  WDWLibrary::ajax_html_frontend_page_nav($theme_row, $page_nav['total'], $page_nav['limit'], 'gal_front_form_' . $bwg, $items_per_page, $bwg, $album_gallery_div_id, $params['album_id'], $type, $options_row->enable_seo, $params['compuct_album_enable_page']);
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -918,7 +918,7 @@ class BWGViewGalleryBox {
918
  <span class="bwg_popup_image_spun1" style="display: table; width: inherit; height: inherit;">
919
  <span class="bwg_popup_image_spun2" style="display: table-cell; vertical-align: middle; text-align: center;">
920
  <?php
921
- if (! $is_embed) {
922
  ?>
923
  <img class="bwg_popup_image bwg_popup_watermark" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" alt="<?php echo $image_row->alt; ?>" />
924
  <?php
@@ -940,7 +940,7 @@ class BWGViewGalleryBox {
940
  else{
941
  WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->filename, array('class'=>"bwg_embed_frame", 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle; display:table-cell;"));
942
  }
943
- ?>
944
  </span>
945
  <?php
946
  }
@@ -983,7 +983,6 @@ class BWGViewGalleryBox {
983
  if (!bwg_current_image_span.length) {
984
  bwg_current_image_span = jQuery(this).find("iframe");
985
  }
986
-
987
  if (!bwg_current_image_span.length) {
988
  bwg_current_image_span = jQuery(this).find("video");
989
  }
@@ -1005,7 +1004,6 @@ class BWGViewGalleryBox {
1005
  jQuery(".bwg_watermark_image").css({
1006
  width: ((jQuery(".spider_popup_wrap").width() - comment_container_width) * <?php echo $watermark_width / $image_width; ?>)
1007
  });
1008
-
1009
  jQuery(".bwg_watermark_text, .bwg_watermark_text:hover").css({
1010
  fontSize: ((jQuery(".spider_popup_wrap").width() - comment_container_width) * <?php echo $watermark_font_size / $image_width; ?>)
1011
  });
@@ -1243,7 +1241,7 @@ class BWGViewGalleryBox {
1243
  rowAdd = Math.ceil(rowRemainder / rows),
1244
  leftDist = 0,
1245
  img_leftDist = Math.ceil((jQuery(".bwg_slide_bg").width() - cur_img.width()) / 2);
1246
- var imgSrc = typeof cur_img.attr('src')=='undefined' ? '' :cur_img.attr('src');
1247
  /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
1248
  tx = tx === 'auto' ? contWidth : tx;
1249
  tx = tx === 'min-auto' ? - contWidth : tx;
@@ -1338,12 +1336,7 @@ class BWGViewGalleryBox {
1338
  if (key == 0) {
1339
  jQuery("#spider_popup_left").hide();
1340
  }
1341
- /*if (key == (parseInt(data.length) - 1)) {
1342
- window.clearInterval(bwg_playInterval);
1343
- return;
1344
- }*/
1345
  }
1346
-
1347
  /* Pause videos.*/
1348
  jQuery("#bwg_image_container").find("iframe").each(function () {
1349
  jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
@@ -1385,8 +1378,8 @@ class BWGViewGalleryBox {
1385
  /* Change image title, description.*/
1386
  jQuery(".bwg_image_title").html(jQuery('<div />').html(data[key]["alt"]).text());
1387
  jQuery(".bwg_image_description").html(jQuery('<div />').html(data[key]["description"]).text());
1388
- if(data[key]["alt"].trim() == "" && data[key]["description"].trim() == "") {
1389
- jQuery(".bwg_image_info").css("background","none");
1390
  }
1391
  else {
1392
  jQuery(".bwg_image_info").removeAttr("style");
@@ -2199,14 +2192,11 @@ class BWGViewGalleryBox {
2199
  jQuery(".spider_popup_close").attr("class", "bwg_ctrl_btn spider_popup_close_fullscreen");
2200
  }
2201
 
2202
-
2203
  function bwg_resize_instagram_post(){
2204
 
2205
  /*jQuery.fn.exists = function(){return this.length>0;}*/
2206
 
2207
  if (jQuery('.inner_instagram_iframe_bwg_embed_frame').length) {
2208
-
2209
-
2210
  var w = jQuery(".bwg_popup_embed").width();
2211
  var h = jQuery(".bwg_popup_embed").height();
2212
  var post_width = 0;
918
  <span class="bwg_popup_image_spun1" style="display: table; width: inherit; height: inherit;">
919
  <span class="bwg_popup_image_spun2" style="display: table-cell; vertical-align: middle; text-align: center;">
920
  <?php
921
+ if (!$is_embed) {
922
  ?>
923
  <img class="bwg_popup_image bwg_popup_watermark" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" alt="<?php echo $image_row->alt; ?>" />
924
  <?php
940
  else{
941
  WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->filename, array('class'=>"bwg_embed_frame", 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle; display:table-cell;"));
942
  }
943
+ ?>
944
  </span>
945
  <?php
946
  }
983
  if (!bwg_current_image_span.length) {
984
  bwg_current_image_span = jQuery(this).find("iframe");
985
  }
 
986
  if (!bwg_current_image_span.length) {
987
  bwg_current_image_span = jQuery(this).find("video");
988
  }
1004
  jQuery(".bwg_watermark_image").css({
1005
  width: ((jQuery(".spider_popup_wrap").width() - comment_container_width) * <?php echo $watermark_width / $image_width; ?>)
1006
  });
 
1007
  jQuery(".bwg_watermark_text, .bwg_watermark_text:hover").css({
1008
  fontSize: ((jQuery(".spider_popup_wrap").width() - comment_container_width) * <?php echo $watermark_font_size / $image_width; ?>)
1009
  });
1241
  rowAdd = Math.ceil(rowRemainder / rows),
1242
  leftDist = 0,
1243
  img_leftDist = Math.ceil((jQuery(".bwg_slide_bg").width() - cur_img.width()) / 2);
1244
+ var imgSrc = typeof cur_img.attr('src')=='undefined' ? '' :cur_img.attr('src');
1245
  /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/
1246
  tx = tx === 'auto' ? contWidth : tx;
1247
  tx = tx === 'min-auto' ? - contWidth : tx;
1336
  if (key == 0) {
1337
  jQuery("#spider_popup_left").hide();
1338
  }
 
 
 
 
1339
  }
 
1340
  /* Pause videos.*/
1341
  jQuery("#bwg_image_container").find("iframe").each(function () {
1342
  jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
1378
  /* Change image title, description.*/
1379
  jQuery(".bwg_image_title").html(jQuery('<div />').html(data[key]["alt"]).text());
1380
  jQuery(".bwg_image_description").html(jQuery('<div />').html(data[key]["description"]).text());
1381
+ if (data[key]["alt"].trim() == "" && data[key]["description"].trim() == "") {
1382
+ jQuery(".bwg_image_info").css("background", "none");
1383
  }
1384
  else {
1385
  jQuery(".bwg_image_info").removeAttr("style");
2192
  jQuery(".spider_popup_close").attr("class", "bwg_ctrl_btn spider_popup_close_fullscreen");
2193
  }
2194
 
 
2195
  function bwg_resize_instagram_post(){
2196
 
2197
  /*jQuery.fn.exists = function(){return this.length>0;}*/
2198
 
2199
  if (jQuery('.inner_instagram_iframe_bwg_embed_frame').length) {
 
 
2200
  var w = jQuery(".bwg_popup_embed").width();
2201
  var h = jQuery(".bwg_popup_embed").height();
2202
  var post_width = 0;
frontend/views/BWGViewSlideshow.php CHANGED
@@ -146,7 +146,7 @@ class BWGViewSlideshow {
146
  $filmstrip_thumb_margin_right = (int) $margins_split[0];
147
  $filmstrip_thumb_margin_left = $filmstrip_thumb_margin_right;
148
  }
149
- $filmstrip_thumb_margin_hor = $filmstrip_thumb_margin_right + $filmstrip_thumb_margin_left;
150
  ?>
151
  <style>
152
  #bwg_container1_<?php echo $bwg; ?> {
@@ -185,7 +185,7 @@ class BWGViewSlideshow {
185
  max-height: <?php echo $image_height - $slideshow_filmstrip_height; ?>px;
186
  vertical-align: middle;
187
  }
188
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_embed_<?php echo $bwg; ?>{
189
  padding: 0 !important;
190
  margin: 0 !important;
191
  float: none !important;
@@ -1456,8 +1456,6 @@ class BWGViewSlideshow {
1456
  jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").removeAttr("width");
1457
  jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").removeAttr("height");
1458
  });
1459
-
1460
-
1461
  function bwg_resize_instagram_post_<?php echo $bwg?>(){
1462
 
1463
  /*jQuery.fn.exists = function(){return this.length>0;};*/
@@ -1476,7 +1474,6 @@ class BWGViewSlideshow {
1476
  post_height = w +88 ;
1477
  }
1478
  jQuery('.inner_instagram_iframe_bwg_embed_frame_<?php echo $bwg?>').each(function(){
1479
-
1480
  post_height = post_height;
1481
  post_width = post_width;
1482
  var top_pos = (0.5 *( h-post_height));
@@ -1490,14 +1487,10 @@ class BWGViewSlideshow {
1490
  width: post_width,
1491
  top: top_pos
1492
  });
1493
-
1494
  });
1495
  }
1496
-
1497
  bwg_change_watermark_container_<?php echo $bwg; ?>();
1498
-
1499
  }
1500
-
1501
  function play_<?php echo $bwg; ?>() {
1502
  window.clearInterval(bwg_playInterval_<?php echo $bwg; ?>);
1503
  /* Play.*/
146
  $filmstrip_thumb_margin_right = (int) $margins_split[0];
147
  $filmstrip_thumb_margin_left = $filmstrip_thumb_margin_right;
148
  }
149
+ $filmstrip_thumb_margin_hor = $filmstrip_thumb_margin_right + $filmstrip_thumb_margin_left;
150
  ?>
151
  <style>
152
  #bwg_container1_<?php echo $bwg; ?> {
185
  max-height: <?php echo $image_height - $slideshow_filmstrip_height; ?>px;
186
  vertical-align: middle;
187
  }
188
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_embed_<?php echo $bwg; ?> {
189
  padding: 0 !important;
190
  margin: 0 !important;
191
  float: none !important;
1456
  jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").removeAttr("width");
1457
  jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").removeAttr("height");
1458
  });
 
 
1459
  function bwg_resize_instagram_post_<?php echo $bwg?>(){
1460
 
1461
  /*jQuery.fn.exists = function(){return this.length>0;};*/
1474
  post_height = w +88 ;
1475
  }
1476
  jQuery('.inner_instagram_iframe_bwg_embed_frame_<?php echo $bwg?>').each(function(){
 
1477
  post_height = post_height;
1478
  post_width = post_width;
1479
  var top_pos = (0.5 *( h-post_height));
1487
  width: post_width,
1488
  top: top_pos
1489
  });
 
1490
  });
1491
  }
 
1492
  bwg_change_watermark_container_<?php echo $bwg; ?>();
 
1493
  }
 
1494
  function play_<?php echo $bwg; ?>() {
1495
  window.clearInterval(bwg_playInterval_<?php echo $bwg; ?>);
1496
  /* Play.*/
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
- * Version: 1.2.36
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -3164,7 +3164,7 @@ function bwg_activate() {
3164
  ));
3165
  }
3166
  $version = get_option("wd_bwg_version");
3167
- $new_version = '1.2.36';
3168
  if ($version && version_compare($version, $new_version, '<')) {
3169
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3170
  bwg_update($version);
@@ -3182,7 +3182,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
3182
 
3183
  function bwg_update_hook() {
3184
  $version = get_option("wd_bwg_version");
3185
- $new_version = '1.2.36';
3186
  if ($version && version_compare($version, $new_version, '<')) {
3187
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3188
  bwg_update($version);
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
+ * Version: 1.2.37
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
3164
  ));
3165
  }
3166
  $version = get_option("wd_bwg_version");
3167
+ $new_version = '1.2.37';
3168
  if ($version && version_compare($version, $new_version, '<')) {
3169
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3170
  bwg_update($version);
3182
 
3183
  function bwg_update_hook() {
3184
  $version = get_option("wd_bwg_version");
3185
+ $new_version = '1.2.37';
3186
  if ($version && version_compare($version, $new_version, '<')) {
3187
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3188
  bwg_update($version);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, mosaic
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
- Stable tag: 1.2.36
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -206,88 +206,91 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
206
 
207
 
208
  == Changelog ==
209
-
 
 
 
210
  = 1.2.36 =
211
- Changed: Featured plugins page.
212
- Fixed: Mosaic view show title.
213
- Fixed: AddThis javascript bug.
214
 
215
  = 1.2.35 =
216
- New: Addthis (pro version).
217
- Fixed: Link text font size in extended album description.
218
 
219
  = 1.2.34=
220
- New: Recreate thumbnail button in gallery page.
221
 
222
  = 1.2.33 =
223
- Fixed: Delete/update custom posts on gallery/album edit.
224
- Fixed: Image width/height size with open commetns.
225
 
226
  = 1.2.32 =
227
- New: Loop option for lightbox.
228
- Fixed: Embed media by YouTube short url.
229
 
230
  = 1.2.31 =
231
- New: Load more button instead of pagination (optional).
232
- Fixed: Minor bug on gallery save on php5.3.
233
 
234
  = 1.2.30 =
235
- Change links
236
 
237
  = 1.2.29 =
238
- Changed: Featured plugins page.
239
- New: Featured themes page.
240
 
241
  = 1.2.28 =
242
- change user guide links
243
- minor bug fixed
244
 
245
  = 1.2.27 =
246
- minor bug fixed
247
 
248
  = 1.2.26 =
249
- Fixed: Lightbox opening bug for ios.
250
 
251
  = 1.2.25 =
252
- Fixed: Lightbox opening bug for mobile browsers.
253
 
254
  = 1.2.24 =
255
- duplicated id in slideshow view
256
- deprecated options removed (roles)
257
 
258
  = 1.2.23 =
259
- bug in preload option fixed
260
 
261
  = 1.2.21 =
262
- minor bugs fixes
263
 
264
  = 1.2.19 =
265
- conflict with some themes fixed
266
 
267
  = 1.2.18 =
268
- New: Bottom pagination in admin views.
269
- New: Improve SEO.
270
- New: Autohide option for slideshow and lightbox navigation buttons.
271
- New: Read image meta data.
272
- Fixed: Slideshow bullets centering.
273
- Fixed: Admin-ajax url for frontend.
274
- Fixed: Upload images to .original not resized.
275
- Fixed: Order by filename.
276
 
277
  = 1.2.17 =
278
- Edit licensing page
279
 
280
  = 1.2.16 =
281
- * New: Embed support.
282
- * New: Photo gallery can be loaded through AJAX request.
283
- * New: Image meta auto-filling.
284
- * Changed: Deleted tag posts.
285
- * Changed: Improved security of backend.
286
- * Fixed: Thumbnail and filmstrip sizes for embeds.
287
- * Fixed: Search in backend galleries view.
288
- * Fixed: Gallery box image URL on a page with multiple galleries.
289
- * Fixed: Maximize/resize buttons in gallery box when exiting fullscreen.
290
- * Fixed: Other minor bugs.
291
 
292
  = 1.2.15 =
293
  * added large image url in page source for SEO
@@ -296,25 +299,25 @@ Edit licensing page
296
  * shortcode issue fixed
297
 
298
  = 1.2.13 =
299
- * [CVE-2015-2324] security issue fixed in filemanager
300
- This vulnerability was discovered by Fortinet's FortiGuard Labs.
301
 
302
  = 1.2.12 =
303
- * Front-end image sorting possibility (dropdown) for the users
304
 
305
  = 1.2.11 =
306
- * security issue fixed
307
  * bug in fullscreen button and laoding image animation fixed
308
 
309
  = 1.2.9 =
310
- * updated font-awesome to 4.2.0 version
311
  * sort bug in ligthbox
312
 
313
  = 1.2.8 =
314
  * security issue fixed
315
 
316
  = 1.2.7 =
317
- * masonry album view type
318
  * single quota bug in image fixed
319
 
320
  = 1.2.6 =
@@ -339,13 +342,13 @@ This vulnerability was discovered by Fortinet's FortiGuard Labs.
339
  * change shortcodes
340
 
341
  = 1.1.30 =
342
- * images count in ligthbox (optional - only in options page)
343
- * images count column in galleries table
344
- * WordPress Search Integration by gallery and album title
345
- * show gallery, album title (optional - only in options page)
346
 
347
  = 1.1.29 =
348
- * Bug fixed in tag cloud widget
349
 
350
  = 1.1.28 =
351
  * Bug fixed in filemanager
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, mosaic
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
+ Stable tag: 1.2.37
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
206
 
207
 
208
  == Changelog ==
209
+ = 1.2.37 =
210
+ * New: Load more with scroll.
211
+ * Fixed: Thumbnail size on recover.
212
+
213
  = 1.2.36 =
214
+ * Changed: Featured plugins page.
215
+ * Fixed: Mosaic view show title.
216
+ * Fixed: AddThis javascript bug.
217
 
218
  = 1.2.35 =
219
+ * New: Addthis (pro version).
220
+ * Fixed: Link text font size in extended album description.
221
 
222
  = 1.2.34=
223
+ * New: Recreate thumbnail button in gallery page.
224
 
225
  = 1.2.33 =
226
+ * Fixed: Delete/update custom posts on gallery/album edit.
227
+ * Fixed: Image width/height size with open comments.
228
 
229
  = 1.2.32 =
230
+ * New: Loop option for lightbox.
231
+ * Fixed: Embed media by YouTube short url.
232
 
233
  = 1.2.31 =
234
+ * New: Load more button instead of pagination (optional).
235
+ * Fixed: Minor bug on gallery save on php5.3.
236
 
237
  = 1.2.30 =
238
+ * Change links
239
 
240
  = 1.2.29 =
241
+ * Changed: Featured plugins page.
242
+ * New: Featured themes page.
243
 
244
  = 1.2.28 =
245
+ * change user guide links
246
+ * minor bug fixed
247
 
248
  = 1.2.27 =
249
+ * minor bug fixed
250
 
251
  = 1.2.26 =
252
+ * Fixed: Lightbox opening bug for ios.
253
 
254
  = 1.2.25 =
255
+ * Fixed: Lightbox opening bug for mobile browsers.
256
 
257
  = 1.2.24 =
258
+ * duplicated id in slideshow view
259
+ * deprecated options removed (roles)
260
 
261
  = 1.2.23 =
262
+ * bug in preload option fixed
263
 
264
  = 1.2.21 =
265
+ * minor bugs fixes
266
 
267
  = 1.2.19 =
268
+ * conflict with some themes fixed
269
 
270
  = 1.2.18 =
271
+ * New: Bottom pagination in admin views.
272
+ * New: Improve SEO.
273
+ * New: Autohide option for slideshow and lightbox navigation buttons.
274
+ * New: Read image meta data.
275
+ * Fixed: Slideshow bullets centering.
276
+ * Fixed: Admin-ajax url for frontend.
277
+ * Fixed: Upload images to .original not resized.
278
+ * Fixed: Order by filename.
279
 
280
  = 1.2.17 =
281
+ Edit licensing page
282
 
283
  = 1.2.16 =
284
+ * New: Embed support.
285
+ * New: Photo gallery can be loaded through AJAX request.
286
+ * New: Image meta auto-filling.
287
+ * Changed: Deleted tag posts.
288
+ * Changed: Improved security of backend.
289
+ * Fixed: Thumbnail and filmstrip sizes for embeds.
290
+ * Fixed: Search in backend galleries view.
291
+ * Fixed: Gallery box image URL on a page with multiple galleries.
292
+ * Fixed: Maximize/resize buttons in gallery box when exiting fullscreen.
293
+ * Fixed: Other minor bugs.
294
 
295
  = 1.2.15 =
296
  * added large image url in page source for SEO
299
  * shortcode issue fixed
300
 
301
  = 1.2.13 =
302
+ * [CVE-2015-2324] security issue fixed in filemanager
303
+ This vulnerability was discovered by Fortinet's FortiGuard Labs.
304
 
305
  = 1.2.12 =
306
+ * Front-end image sorting possibility (dropdown) for the users
307
 
308
  = 1.2.11 =
309
+ * security issue fixed
310
  * bug in fullscreen button and laoding image animation fixed
311
 
312
  = 1.2.9 =
313
+ * updated font-awesome to 4.2.0 version
314
  * sort bug in ligthbox
315
 
316
  = 1.2.8 =
317
  * security issue fixed
318
 
319
  = 1.2.7 =
320
+ * masonry album view type
321
  * single quota bug in image fixed
322
 
323
  = 1.2.6 =
342
  * change shortcodes
343
 
344
  = 1.1.30 =
345
+ * images count in ligthbox (optional - only in options page)
346
+ * images count column in galleries table
347
+ * WordPress Search Integration by gallery and album title
348
+ * show gallery, album title (optional - only in options page)
349
 
350
  = 1.1.29 =
351
+ * Bug fixed in tag cloud widget
352
 
353
  = 1.1.28 =
354
  * Bug fixed in filemanager