Photo Gallery by WD – Responsive Photo Gallery - Version 1.1.8

Version Description

Download this release

Release Info

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

Code changes from version 1.1.7 to 1.1.8

frontend/views/BWGViewAlbum_compact_preview.php CHANGED
@@ -182,7 +182,7 @@ class BWGViewAlbum_compact_preview {
182
  font-size: <?php echo $theme_row->album_compact_title_font_size; ?>px;
183
  font-weight: <?php echo $theme_row->album_compact_title_font_weight; ?>;
184
  height: inherit;
185
- margin: <?php echo $theme_row->album_compact_title_margin; ?>;
186
  text-shadow: <?php echo $theme_row->album_compact_title_shadow; ?>;
187
  vertical-align: middle;
188
  width: inherit;
182
  font-size: <?php echo $theme_row->album_compact_title_font_size; ?>px;
183
  font-weight: <?php echo $theme_row->album_compact_title_font_weight; ?>;
184
  height: inherit;
185
+ padding: <?php echo $theme_row->album_compact_title_margin; ?>;
186
  text-shadow: <?php echo $theme_row->album_compact_title_shadow; ?>;
187
  vertical-align: middle;
188
  width: inherit;
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -1330,18 +1330,18 @@ class BWGViewGalleryBox {
1330
  jQuery(".bwg_image_wrap").bind("contextmenu", function (e) {
1331
  return false;
1332
  });
1333
- /*if (typeof jQuery().swiperight !== 'undefined' && jQuery.isFunction(jQuery().swiperight)) {
1334
- jQuery('body').find('.bwg_image_wrap *').on('swiperight', function () {
1335
  bwg_change_image(parseInt(jQuery('#bwg_current_image_key').val()), parseInt(jQuery('#bwg_current_image_key').val()) - 1, data)
1336
  return false;
1337
  });
1338
  }
1339
  if (typeof jQuery().swipeleft !== 'undefined' && jQuery.isFunction(jQuery().swipeleft)) {
1340
- jQuery('body').find('.bwg_image_wrap *').on('swipeleft', function () {
1341
  bwg_change_image(parseInt(jQuery('#bwg_current_image_key').val()), parseInt(jQuery('#bwg_current_image_key').val()) + 1, data);
1342
  return false;
1343
  });
1344
- }*/
1345
 
1346
  bwg_reset_zoom();
1347
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
1330
  jQuery(".bwg_image_wrap").bind("contextmenu", function (e) {
1331
  return false;
1332
  });
1333
+ if (typeof jQuery().swiperight !== 'undefined' && jQuery.isFunction(jQuery().swiperight)) {
1334
+ jQuery('#spider_popup_wrap').swiperight(function () {
1335
  bwg_change_image(parseInt(jQuery('#bwg_current_image_key').val()), parseInt(jQuery('#bwg_current_image_key').val()) - 1, data)
1336
  return false;
1337
  });
1338
  }
1339
  if (typeof jQuery().swipeleft !== 'undefined' && jQuery.isFunction(jQuery().swipeleft)) {
1340
+ jQuery('#spider_popup_wrap').swipeleft(function () {
1341
  bwg_change_image(parseInt(jQuery('#bwg_current_image_key').val()), parseInt(jQuery('#bwg_current_image_key').val()) + 1, data);
1342
  return false;
1343
  });
1344
+ }
1345
 
1346
  bwg_reset_zoom();
1347
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
frontend/views/BWGViewSlideshow.php CHANGED
@@ -534,7 +534,7 @@ class BWGViewSlideshow {
534
  }
535
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_dots_thumbnails_<?php echo $bwg; ?> {
536
  left: 0px;
537
- font-size: <?php echo ($theme_row->slideshow_dots_height + $theme_row->slideshow_dots_margin); ?>px;
538
  margin: 0 auto;
539
  overflow: hidden;
540
  position: relative;
@@ -1212,7 +1212,7 @@ class BWGViewSlideshow {
1212
  jQuery('div[id^="bwg_container"]').bind("contextmenu", function () {
1213
  return false;
1214
  });
1215
- /*if (typeof jQuery().swiperight !== 'undefined' && jQuery.isFunction(jQuery().swiperight)) {
1216
  jQuery('#bwg_container1_<?php echo $bwg; ?>').swiperight(function () {
1217
  bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - iterator_<?php echo $bwg; ?>()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length : data_<?php echo $bwg; ?>.length - 1, data_<?php echo $bwg; ?>);
1218
  return false;
@@ -1223,7 +1223,7 @@ class BWGViewSlideshow {
1223
  bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>);
1224
  return false;
1225
  });
1226
- }*/
1227
 
1228
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
1229
  var bwg_click = isMobile ? 'touchend' : 'click';
534
  }
535
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_dots_thumbnails_<?php echo $bwg; ?> {
536
  left: 0px;
537
+ font-size: 0;
538
  margin: 0 auto;
539
  overflow: hidden;
540
  position: relative;
1212
  jQuery('div[id^="bwg_container"]').bind("contextmenu", function () {
1213
  return false;
1214
  });
1215
+ if (typeof jQuery().swiperight !== 'undefined' && jQuery.isFunction(jQuery().swiperight)) {
1216
  jQuery('#bwg_container1_<?php echo $bwg; ?>').swiperight(function () {
1217
  bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - iterator_<?php echo $bwg; ?>()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length : data_<?php echo $bwg; ?>.length - 1, data_<?php echo $bwg; ?>);
1218
  return false;
1223
  bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>);
1224
  return false;
1225
  });
1226
+ }
1227
 
1228
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
1229
  var bwg_click = isMobile ? 'touchend' : 'click';
frontend/views/BWGViewThumbnails.php CHANGED
@@ -195,7 +195,7 @@ class BWGViewThumbnails {
195
  font-size: <?php echo $theme_row->thumb_title_font_size; ?>px;
196
  font-weight: <?php echo $theme_row->thumb_title_font_weight; ?>;
197
  height: inherit;
198
- margin: <?php echo $theme_row->thumb_title_margin; ?>;
199
  text-shadow: <?php echo $theme_row->thumb_title_shadow; ?>;
200
  vertical-align: middle;
201
  width: inherit;
195
  font-size: <?php echo $theme_row->thumb_title_font_size; ?>px;
196
  font-weight: <?php echo $theme_row->thumb_title_font_weight; ?>;
197
  height: inherit;
198
+ padding: <?php echo $theme_row->thumb_title_margin; ?>;
199
  text-shadow: <?php echo $theme_row->thumb_title_shadow; ?>;
200
  vertical-align: middle;
201
  width: inherit;
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: http://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.1.7
8
  * Author: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
@@ -2463,7 +2463,7 @@ function bwg_front_end_scripts() {
2463
 
2464
  // Styles/Scripts for popup.
2465
  wp_enqueue_style('font-awesome', WD_BWG_URL . '/css/font-awesome-4.0.1/font-awesome.css');
2466
- // wp_enqueue_script('jquery_mobile', WD_BWG_URL . '/js/jquery.mobile.js', array(), get_option("wd_bwg_version"));
2467
  wp_enqueue_script('bwg_mCustomScrollbar', WD_BWG_URL . '/js/jquery.mCustomScrollbar.concat.min.js', array(), get_option("wd_bwg_version"));
2468
  wp_enqueue_style('bwg_mCustomScrollbar', WD_BWG_URL . '/css/jquery.mCustomScrollbar.css');
2469
  wp_enqueue_script('jquery-fullscreen', WD_BWG_URL . '/js/jquery.fullscreen-0.4.1.js', array(), '0.4.1');
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: http://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.1.8
8
  * Author: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
2463
 
2464
  // Styles/Scripts for popup.
2465
  wp_enqueue_style('font-awesome', WD_BWG_URL . '/css/font-awesome-4.0.1/font-awesome.css');
2466
+ wp_enqueue_script('jquery_mobile', WD_BWG_URL . '/js/jquery.mobile.js', array(), get_option("wd_bwg_version"));
2467
  wp_enqueue_script('bwg_mCustomScrollbar', WD_BWG_URL . '/js/jquery.mCustomScrollbar.concat.min.js', array(), get_option("wd_bwg_version"));
2468
  wp_enqueue_style('bwg_mCustomScrollbar', WD_BWG_URL . '/css/jquery.mCustomScrollbar.css');
2469
  wp_enqueue_script('jquery-fullscreen', WD_BWG_URL . '/js/jquery.fullscreen-0.4.1.js', array(), '0.4.1');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://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
5
  Requires at least: 3.0
6
  Tested up to: 3.8.1
7
- Stable tag: 1.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
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
5
  Requires at least: 3.0
6
  Tested up to: 3.8.1
7
+ Stable tag: 1.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10