Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.54

Version Description

  • Fixed: Image browser view pagination styles.
Download this release

Release Info

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

Code changes from version 1.2.53 to 1.2.54

frontend/views/BWGViewImage_browser.php CHANGED
@@ -330,7 +330,7 @@ class BWGViewImage_browser {
330
  }
331
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .tablenav-pages_<?php echo $bwg; ?> .first-page,
332
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .tablenav-pages_<?php echo $bwg; ?> .last-page {
333
- padding: 0% 2%;
334
  }
335
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .tablenav-pages_<?php echo $bwg; ?> .next-page {
336
  margin: 0% 4% 0% 0%;
@@ -523,7 +523,43 @@ class BWGViewImage_browser {
523
  <?php
524
  }
525
  }
526
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
527
  </div>
528
  <?php
529
  if ($enable_image_description && ($image_row->description != "")) {
@@ -552,37 +588,6 @@ class BWGViewImage_browser {
552
  </div>
553
  </div>
554
  <script>
555
- function bwg_image_browser_<?php echo $bwg; ?>() {
556
- jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').width(jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').parent().width());
557
- jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').height(jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').width() * 0.5625);
558
- jQuery('#bwg_embed_frame_instapost_<?php echo $bwg; ?>').width(jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').parent().width());
559
- jQuery('#bwg_embed_frame_instapost_<?php echo $bwg; ?>').height(jQuery('#bwg_embed_frame_instapost_<?php echo $bwg; ?>').width() +88);
560
-
561
- var bwg_image_browser_width = jQuery('.image_browser_images_<?php echo $bwg; ?>').width();
562
- if (bwg_image_browser_width <= 108) {
563
- jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'none');
564
- }
565
- else if (bwg_image_browser_width <= 200) {
566
- jQuery('.paging-input_<?php echo $bwg; ?>').css('margin', '0% 3% 0% 3%');
567
- jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'inline');
568
- jQuery('.tablenav-pages_<?php echo $bwg; ?> .next-page').css('margin', '0% 0% 0% 0%');
569
- jQuery('.tablenav-pages_<?php echo $bwg; ?> .prev-page').css('margin', '0% 0% 0% 0%');
570
- }
571
- else if (bwg_image_browser_width <= 580) {
572
- jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'inline');
573
- jQuery('.tablenav-pages_<?php echo $bwg; ?> a').css('font-size', '13px');
574
- jQuery('.paging-input_<?php echo $bwg; ?>').css('margin', '0% 10% 0% 10%');
575
- jQuery('.tablenav-pages_<?php echo $bwg; ?> .next-page').css('margin', '0% 3% 0% 0%');
576
- jQuery('.tablenav-pages_<?php echo $bwg; ?> .prev-page').css('margin', '0% 0% 0% 3%');
577
- }
578
- else {
579
- jQuery('.tablenav-pages_<?php echo $bwg; ?> a').css('font-size', '15px');
580
- jQuery('.paging-input_<?php echo $bwg; ?>').css('margin', '0% 17% 0% 17%');
581
- jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'inline');
582
- jQuery('.tablenav-pages_<?php echo $bwg; ?> .next-page').css('margin', '0% 4% 0% 0%');
583
- jQuery('.tablenav-pages_<?php echo $bwg; ?> .prev-page').css('margin', '0% 0% 0% 4%');
584
- }
585
- }
586
  jQuery(window).load(function () {
587
  <?php
588
  if ($image_right_click) {
@@ -594,7 +599,6 @@ class BWGViewImage_browser {
594
  <?php
595
  }
596
  ?>
597
- bwg_image_browser_<?php echo $bwg; ?>();
598
  });
599
  jQuery(window).resize(function() {
600
  bwg_image_browser_<?php echo $bwg; ?>();
330
  }
331
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .tablenav-pages_<?php echo $bwg; ?> .first-page,
332
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .tablenav-pages_<?php echo $bwg; ?> .last-page {
333
+ padding: 0% 7%;
334
  }
335
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .tablenav-pages_<?php echo $bwg; ?> .next-page {
336
  margin: 0% 4% 0% 0%;
523
  <?php
524
  }
525
  }
526
+ ?>
527
+ <script>
528
+ function bwg_image_browser_<?php echo $bwg; ?>() {
529
+ jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').width(jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').parent().width());
530
+ jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').height(jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').width() * 0.5625);
531
+ jQuery('#bwg_embed_frame_instapost_<?php echo $bwg; ?>').width(jQuery('#bwg_embed_frame_16x9_<?php echo $bwg; ?>').parent().width());
532
+ jQuery('#bwg_embed_frame_instapost_<?php echo $bwg; ?>').height(jQuery('#bwg_embed_frame_instapost_<?php echo $bwg; ?>').width() +88);
533
+
534
+ var bwg_image_browser_width = jQuery('.image_browser_images_<?php echo $bwg; ?>').width();
535
+ if (bwg_image_browser_width <= 108) {
536
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'none');
537
+ }
538
+ else if (bwg_image_browser_width <= 200) {
539
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('margin', '0% 0% 0% 0%');
540
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'inline');
541
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> .next-page').css('margin', '0% 0% 0% 0%');
542
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> .prev-page').css('margin', '0% 0% 0% 0%');
543
+ }
544
+ else if (bwg_image_browser_width <= 580) {
545
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'inline');
546
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> a').css('font-size', '13px');
547
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('margin', '0% 7% 0% 7%');
548
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> .next-page').css('margin', '0% 0% 0% 0%');
549
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> .prev-page').css('margin', '0% 0% 0% 0%');
550
+ }
551
+ else {
552
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> a').css('font-size', '15px');
553
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('margin', '0% 14% 0% 14%');
554
+ jQuery('.paging-input_<?php echo $bwg; ?>').css('display', 'inline');
555
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> .next-page').css('margin', '0% 0% 0% 0%');
556
+ jQuery('.tablenav-pages_<?php echo $bwg; ?> .prev-page').css('margin', '0% 0% 0% 0%');
557
+ }
558
+ }
559
+ setTimeout(function() {
560
+ bwg_image_browser_<?php echo $bwg; ?>();
561
+ }, 3);
562
+ </script>
563
  </div>
564
  <?php
565
  if ($enable_image_description && ($image_row->description != "")) {
588
  </div>
589
  </div>
590
  <script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
591
  jQuery(window).load(function () {
592
  <?php
593
  if ($image_right_click) {
599
  <?php
600
  }
601
  ?>
 
602
  });
603
  jQuery(window).resize(function() {
604
  bwg_image_browser_<?php echo $bwg; ?>();
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.53
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -2311,7 +2311,7 @@ function bwg_activate() {
2311
  ));
2312
  }
2313
  $version = get_option("wd_bwg_version");
2314
- $new_version = '1.2.53';
2315
  if ($version && version_compare($version, $new_version, '<')) {
2316
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2317
  bwg_update($version);
@@ -2359,7 +2359,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
2359
 
2360
  function bwg_update_hook() {
2361
  $version = get_option("wd_bwg_version");
2362
- $new_version = '1.2.53';
2363
  if ($version && version_compare($version, $new_version, '<')) {
2364
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2365
  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.54
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
2311
  ));
2312
  }
2313
  $version = get_option("wd_bwg_version");
2314
+ $new_version = '1.2.54';
2315
  if ($version && version_compare($version, $new_version, '<')) {
2316
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2317
  bwg_update($version);
2359
 
2360
  function bwg_update_hook() {
2361
  $version = get_option("wd_bwg_version");
2362
+ $new_version = '1.2.54';
2363
  if ($version && version_compare($version, $new_version, '<')) {
2364
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2365
  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.3
7
- Stable tag: 1.2.53
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -207,6 +207,9 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
207
 
208
  == Changelog ==
209
 
 
 
 
210
  = 1.2.53 =
211
  * Fixed: Open shared album image.
212
  * Fixed: Image browse pagination.
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.3
7
+ Stable tag: 1.2.54
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
207
 
208
  == Changelog ==
209
 
210
+ = 1.2.54 =
211
+ * Fixed: Image browser view pagination styles.
212
+
213
  = 1.2.53 =
214
  * Fixed: Open shared album image.
215
  * Fixed: Image browse pagination.