Photo Gallery by WD – Responsive Photo Gallery - Version 1.1.29

Version Description

  • Bug fixed in tag cloud widget
Download this release

Release Info

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

Code changes from version 1.1.28 to 1.1.29

admin/controllers/BWGControllerGalleries_bwg.php CHANGED
@@ -318,9 +318,10 @@ class BWGControllerGalleries_bwg {
318
  }
319
  break;
320
  case 'image':
 
321
  foreach ($images as $image) {
322
  if (isset($_POST['check_' . $image->id]) || isset($_POST['check_all_items'])) {
323
- $this->set_image_watermark(ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, $options->built_in_watermark_url, $options->built_in_watermark_size, $options->built_in_watermark_size, $options->built_in_watermark_position);
324
  }
325
  }
326
  break;
318
  }
319
  break;
320
  case 'image':
321
+ $watermark_path = str_replace(site_url() . '/', ABSPATH, $options->built_in_watermark_url);
322
  foreach ($images as $image) {
323
  if (isset($_POST['check_' . $image->id]) || isset($_POST['check_all_items'])) {
324
+ $this->set_image_watermark(ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, $watermark_path, $options->built_in_watermark_size, $options->built_in_watermark_size, $options->built_in_watermark_position);
325
  }
326
  }
327
  break;
admin/views/BWGViewGalleries_bwg.php CHANGED
@@ -535,7 +535,7 @@ class BWGViewGalleries_bwg {
535
  <td><?php echo get_userdata($row->author)->display_name; ?></td>
536
  </tr>
537
  <tr>
538
- <td class="spider_label"><label for="published1">Published: </label></td>
539
  <td>
540
  <input type="radio" class="inputbox" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" >
541
  <label for="published0">No</label>
535
  <td><?php echo get_userdata($row->author)->display_name; ?></td>
536
  </tr>
537
  <tr>
538
+ <td class="spider_label"><label>Published: </label></td>
539
  <td>
540
  <input type="radio" class="inputbox" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" >
541
  <label for="published0">No</label>
frontend/models/BWGModelThumbnails.php CHANGED
@@ -73,7 +73,7 @@ class BWGModelThumbnails {
73
  $limit_str = '';
74
  }
75
  if($type == 'tag') {
76
- $row = $wpdb->get_results($wpdb->prepare('SELECT image.* FROM ' . $wpdb->prefix . 'bwg_image as image INNER JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id WHERE image.published=1 ' . $where . ' AND tag.tag_id="%d" ORDER BY ' . $sort_by . $sort_direction, $id));
77
  }
78
  else {
79
  $row = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE published=1 ' . $where . ' AND gallery_id="%d" ORDER BY ' . $sort_by . ' ' . $sort_direction . ' ' . $limit_str, $id));
73
  $limit_str = '';
74
  }
75
  if($type == 'tag') {
76
+ $row = $wpdb->get_results($wpdb->prepare('SELECT image.* FROM ' . $wpdb->prefix . 'bwg_image as image INNER JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id WHERE image.published=1 ' . $where . ' AND tag.tag_id="%d" ORDER BY ' . $sort_by . ' ' . $sort_direction . ' ' . $limit_str, $id));
77
  }
78
  else {
79
  $row = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE published=1 ' . $where . ' AND gallery_id="%d" ORDER BY ' . $sort_by . ' ' . $sort_direction . ' ' . $limit_str, $id));
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -16,8 +16,6 @@ class BWGViewGalleryBox {
16
  ////////////////////////////////////////////////////////////////////////////////////////
17
  public function __construct($model) {
18
  $this->model = $model;
19
- require_once WD_BWG_DIR . "/frontend/models/BWGModelThumbnails.php";
20
- $this->thumb_model = new BWGModelThumbnails();
21
  }
22
  ////////////////////////////////////////////////////////////////////////////////////////
23
  // Public Methods //
16
  ////////////////////////////////////////////////////////////////////////////////////////
17
  public function __construct($model) {
18
  $this->model = $model;
 
 
19
  }
20
  ////////////////////////////////////////////////////////////////////////////////////////
21
  // Public Methods //
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.28
8
  * Author: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
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.29
8
  * Author: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
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.9
7
- Stable tag: 1.1.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -72,7 +72,9 @@ Photo Gallery product in addition to the main plugin includes 4 specific widgets
72
  * Possibility of uploading images from the Media Library of the website.
73
  * Possibility to add tags to all images at once.
74
  * Right-click enabling option for the image downloads protection.
75
-
 
 
76
  Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) to add features:
77
 
78
  * Masonry View.
@@ -172,6 +174,9 @@ If any problem occurs, please contact us at [info@web-dorado.com](mailto:info@w
172
 
173
  == Changelog ==
174
 
 
 
 
175
  = 1.1.28 =
176
  * Bug fixed in filemanager
177
 
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.9
7
+ Stable tag: 1.1.29
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
72
  * Possibility of uploading images from the Media Library of the website.
73
  * Possibility to add tags to all images at once.
74
  * Right-click enabling option for the image downloads protection.
75
+ * Possibility to display images in the albums in thumbnail or masonry view upon opening
76
+
77
+
78
  Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) to add features:
79
 
80
  * Masonry View.
174
 
175
  == Changelog ==
176
 
177
+ = 1.1.29 =
178
+ * Bug fixed in tag cloud widget
179
+
180
  = 1.1.28 =
181
  * Bug fixed in filemanager
182