Photo Gallery by WD – Responsive Photo Gallery - Version 1.3.45

Version Description

  • Fixed: Bug on Import from library image sizes.
  • Fixed: Filemanager responsiveness.
Download this release

Release Info

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

Code changes from version 1.3.44 to 1.3.45

css/bwg_tables.css CHANGED
@@ -10,10 +10,6 @@
10
  border: none !important;
11
  margin-top: 200px;
12
  width: 30px;
13
- /*-webkit-animation: spin 2.5s infinite linear;
14
- -moz-animation: spin 2.5s infinite linear;
15
- -o-animation: spin 2.5s infinite linear;
16
- animation: spin 2.5s infinite linear;*/
17
  }
18
 
19
  @-moz-keyframes spin {
@@ -60,7 +56,8 @@
60
  #TB_window,
61
  #TB_iframeContent {
62
  width: 800px !important;
63
- /*height: 500px !important;*/
 
64
  }
65
 
66
  #TB_window {
@@ -358,7 +355,7 @@
358
  .buttons_div {
359
  clear: both;
360
  float: right;
361
- margin: 5px 0;
362
  width:100%;
363
  }
364
 
@@ -486,7 +483,6 @@
486
  line-height: 13px;
487
  margin: 2px 0;
488
  padding: 2px 5px 2px 5px;
489
- /* width: 132px; */
490
  }
491
 
492
  .tags_div {
@@ -793,6 +789,11 @@ a.wd-btn-primary:hover, a.wd-btn-primary:active, a.wd-btn-primary:link{
793
  background-repeat: no-repeat;
794
  background-position: 10% 50%;
795
  }
 
 
 
 
 
796
  .select_icon {
797
  background-image:url("../images/icons/arrow.png");
798
  background-repeat: no-repeat;
@@ -1056,6 +1057,21 @@ textarea.bwg_popup_input {
1056
  }
1057
  }
1058
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1059
  .bwg_tab_desc {
1060
  display: block;
1061
  font-size: 11px;
10
  border: none !important;
11
  margin-top: 200px;
12
  width: 30px;
 
 
 
 
13
  }
14
 
15
  @-moz-keyframes spin {
56
  #TB_window,
57
  #TB_iframeContent {
58
  width: 800px !important;
59
+ max-height: 100% !important;
60
+ max-width: 100% !important;
61
  }
62
 
63
  #TB_window {
355
  .buttons_div {
356
  clear: both;
357
  float: right;
358
+ margin: 10px 0 5px !important;
359
  width:100%;
360
  }
361
 
483
  line-height: 13px;
484
  margin: 2px 0;
485
  padding: 2px 5px 2px 5px;
 
486
  }
487
 
488
  .tags_div {
789
  background-repeat: no-repeat;
790
  background-position: 10% 50%;
791
  }
792
+ .wd-not-image_tabs {
793
+ padding: 0px 10px 7px 10px !important;
794
+ background-repeat: no-repeat;
795
+ background-position: 10% 50%;
796
+ }
797
  .select_icon {
798
  background-image:url("../images/icons/arrow.png");
799
  background-repeat: no-repeat;
1057
  }
1058
  }
1059
 
1060
+ @media screen and (max-width: 782px) {
1061
+ #TB_window,
1062
+ #TB_iframeContent {
1063
+ width: 100% !important;
1064
+ height: 100% !important;
1065
+ }
1066
+
1067
+ #TB_window {
1068
+ margin-left: 0px !important;
1069
+ left: 0 !important;
1070
+ top: 0% !important;
1071
+ margin-top: 0px !important;
1072
+ }
1073
+ }
1074
+
1075
  .bwg_tab_desc {
1076
  display: block;
1077
  font-size: 11px;
filemanager/UploadHandler.php CHANGED
@@ -53,6 +53,7 @@ class bwg_UploadHandler {
53
  );
54
 
55
  function __construct($options = null, $initialize = true, $error_messages = null) {
 
56
  $this->options = array(
57
  'media_library_folder' => 'imported_from_media_libray' . '/',
58
  'script_url' => $this->get_full_url() . '/',
@@ -93,8 +94,8 @@ class bwg_UploadHandler {
93
  // The maximum number of files for the upload directory:
94
  'max_number_of_files' => null,
95
  // Image resolution restrictions:
96
- 'max_width' => ((isset($_REQUEST['file_namesML']) && esc_html($_REQUEST['file_namesML'])) ? (isset($_REQUEST['importer_img_width']) ? (int) $_REQUEST['importer_img_width'] : 1200) : (isset($_POST['upload_img_width']) ? (int) $_POST['upload_img_width'] : 1200)),
97
- 'max_height' => ((isset($_REQUEST['file_namesML']) && esc_html($_REQUEST['file_namesML'])) ? (isset($_REQUEST['importer_img_height']) ? (int) $_REQUEST['importer_img_height'] : 1200) : (isset($_POST['upload_img_height']) ? (int) $_POST['upload_img_height'] : 1200)),
98
  'min_width' => 1,
99
  'min_height' => 1,
100
  // Set the following option to false to enable resumable uploads:
@@ -106,7 +107,6 @@ class bwg_UploadHandler {
106
  $this->options['max_width'] = NULL;
107
  $this->options['max_height'] = NULL;
108
  }
109
- global $wd_bwg_options;
110
  $this->options += array(
111
  'image_versions' => array(
112
  '.original' => array(
@@ -120,8 +120,8 @@ class bwg_UploadHandler {
120
  'jpeg_quality' => $wd_bwg_options->jpeg_quality
121
  ),
122
  'thumb' => array(
123
- 'max_width' => ((isset($_REQUEST['file_namesML']) && esc_html($_REQUEST['file_namesML'])) ? (isset($_REQUEST['importer_thumb_width']) ? (int) $_REQUEST['importer_thumb_width'] : 300) : ((isset($_POST['upload_thumb_width']) && (int) $_POST['upload_thumb_width']) ? (int) $_POST['upload_thumb_width'] : 300)),
124
- 'max_height' => ((isset($_REQUEST['file_namesML']) && esc_html($_REQUEST['file_namesML'])) ? (isset($_REQUEST['importer_thumb_height']) ? (int) $_REQUEST['importer_thumb_height'] : 300) : ((isset($_POST['upload_thumb_height']) && (int) $_POST['upload_thumb_height']) ? (int) $_POST['upload_thumb_height'] : 300)),
125
  'jpeg_quality' => $wd_bwg_options->jpeg_quality
126
  ),
127
  )
53
  );
54
 
55
  function __construct($options = null, $initialize = true, $error_messages = null) {
56
+ global $wd_bwg_options;
57
  $this->options = array(
58
  'media_library_folder' => 'imported_from_media_libray' . '/',
59
  'script_url' => $this->get_full_url() . '/',
94
  // The maximum number of files for the upload directory:
95
  'max_number_of_files' => null,
96
  // Image resolution restrictions:
97
+ 'max_width' => (isset($_POST['upload_img_width']) ? (int) $_POST['upload_img_width'] : $wd_bwg_options->upload_img_width),
98
+ 'max_height' => (isset($_POST['upload_img_height']) ? (int) $_POST['upload_img_height'] : $wd_bwg_options->upload_img_height),
99
  'min_width' => 1,
100
  'min_height' => 1,
101
  // Set the following option to false to enable resumable uploads:
107
  $this->options['max_width'] = NULL;
108
  $this->options['max_height'] = NULL;
109
  }
 
110
  $this->options += array(
111
  'image_versions' => array(
112
  '.original' => array(
120
  'jpeg_quality' => $wd_bwg_options->jpeg_quality
121
  ),
122
  'thumb' => array(
123
+ 'max_width' => ((isset($_POST['upload_thumb_width']) && (int) $_POST['upload_thumb_width']) ? (int) $_POST['upload_thumb_width'] : $wd_bwg_options->upload_thumb_width),
124
+ 'max_height' => ((isset($_POST['upload_thumb_height']) && (int) $_POST['upload_thumb_height']) ? (int) $_POST['upload_thumb_height'] : $wd_bwg_options->upload_thumb_height),
125
  'jpeg_quality' => $wd_bwg_options->jpeg_quality
126
  ),
127
  )
filemanager/css/default.css CHANGED
@@ -52,7 +52,6 @@
52
 
53
  html {
54
  overflow: hidden !important;
55
-
56
  /*deny selecting text*/
57
  cursor: default;
58
  -webkit-touch-callout: none;
@@ -88,7 +87,6 @@ html, body, div, span, th, td, a {
88
  bottom: 0;
89
  left: 0;
90
  right: 0;
91
- width: 100%;
92
  }
93
 
94
  #file_manager,
@@ -115,7 +113,7 @@ html, body, div, span, th, td, a {
115
  border: solid 1px #e8e9ea;
116
  background-color: #f5f6f7;
117
  padding: 4px;
118
- height: 32px;
119
  }
120
 
121
  .ctrls_bar_header {
@@ -128,7 +126,7 @@ html, body, div, span, th, td, a {
128
 
129
  .ctrls_bar .ctrls_left {
130
  float: left;
131
- margin: 0;
132
  padding: 0;
133
  }
134
 
@@ -227,7 +225,6 @@ html, body, div, span, th, td, a {
227
  color: #F5F6F7;
228
  cursor: pointer;
229
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
230
- height: 30px !important;
231
  font-size: 14px !important;
232
  }
233
 
@@ -238,7 +235,6 @@ html, body, div, span, th, td, a {
238
  color: #F5F6F7;
239
  cursor: pointer;
240
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
241
- height: 32px !important;
242
  font-size: 13px !important;
243
  }
244
 
@@ -630,3 +626,162 @@ a.wd-btn-primary:link {
630
  background-repeat: no-repeat;
631
  background-position: 10% 50%;
632
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  html {
54
  overflow: hidden !important;
 
55
  /*deny selecting text*/
56
  cursor: default;
57
  -webkit-touch-callout: none;
87
  bottom: 0;
88
  left: 0;
89
  right: 0;
 
90
  }
91
 
92
  #file_manager,
113
  border: solid 1px #e8e9ea;
114
  background-color: #f5f6f7;
115
  padding: 4px;
116
+ max-height: 100% !important;
117
  }
118
 
119
  .ctrls_bar_header {
126
 
127
  .ctrls_bar .ctrls_left {
128
  float: left;
129
+ margin: 0 auto;
130
  padding: 0;
131
  }
132
 
225
  color: #F5F6F7;
226
  cursor: pointer;
227
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
 
228
  font-size: 14px !important;
229
  }
230
 
235
  color: #F5F6F7;
236
  cursor: pointer;
237
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
 
238
  font-size: 13px !important;
239
  }
240
 
626
  background-repeat: no-repeat;
627
  background-position: 10% 50%;
628
  }
629
+
630
+ @media screen and (max-width: 780px) {
631
+ .btn_view_thumbs, .btn_view_list {
632
+ display: none;
633
+ }
634
+
635
+ .ctrls_bar_footer {
636
+ bottom: 20px;
637
+ }
638
+
639
+ .upload_thumb_dim {
640
+ padding: 6px 4px !important;
641
+ }
642
+
643
+ .upload_thumb .thumb_full_title {
644
+ display: none;
645
+ }
646
+
647
+ .upload_thumb .thumb_title {
648
+ display: table-row;
649
+ }
650
+ }
651
+
652
+ @media screen and (max-width: 757px) {
653
+ .ctrls_bar .ctrls_right_img {
654
+ float: left;
655
+ margin: 5px 0 !important;
656
+ }
657
+
658
+ #drag_message {
659
+ top: 100px !important;
660
+ height: 250px !important;
661
+ }
662
+
663
+ #drag_message span {
664
+ font-size: 24pt !important;
665
+ line-height: 33px !important;
666
+ top: 35%;
667
+ }
668
+ }
669
+
670
+ @media screen and (max-width:731px) {
671
+ #path {
672
+ top: 70px !important;
673
+ }
674
+
675
+ #explorer_header_container {
676
+ top: 30px !important;
677
+ }
678
+
679
+ #explorer_body_container {
680
+ top: 60px !important;
681
+ }
682
+
683
+ #drag_message span {
684
+ font-size: 14pt !important;
685
+ line-height: 24px !important;
686
+ top: 35%;
687
+ }
688
+
689
+ #drag_message {
690
+ top: 130px !important;
691
+ height: 200px !important;
692
+ }
693
+
694
+ #jQueryUploader {
695
+ margin: 50px;
696
+ }
697
+
698
+ #uploaded_files {
699
+ bottom: 40px !important;
700
+ height: 40px !important;
701
+ }
702
+ }
703
+
704
+ @media screen and (max-width:521px) {
705
+ #path {
706
+ top: 105px !important;
707
+ }
708
+
709
+ #explorer_header_container {
710
+ top: 65px !important;
711
+ }
712
+
713
+ #explorer_body_container {
714
+ top: 95px !important;
715
+ }
716
+
717
+ .ctrls_bar_footer {
718
+ bottom: 30px;
719
+ }
720
+
721
+ .upload_thumb {
722
+ font-size: 15px !important;
723
+ }
724
+
725
+ .wd-btn-icon {
726
+ padding: 3px 10px 0px 36px !important;
727
+ }
728
+
729
+ .divider_search,
730
+ .divider_upload {
731
+ display: none;
732
+ }
733
+
734
+ .header_bar {
735
+ width: 100%;
736
+ }
737
+
738
+ #search_by_name {
739
+ display: inline-block;
740
+ width: 100%;
741
+ }
742
+
743
+ .search_by_name {
744
+ margin: 2px 0 0 0;
745
+ width: 100%;
746
+ }
747
+ }
748
+ @media screen and (max-height: 480px) {
749
+ #drag_message {
750
+ top: 120px !important;
751
+ height: 120px !important;
752
+ }
753
+
754
+ #jQueryUploader {
755
+ margin: 60px 30px;
756
+ }
757
+
758
+ #drag_message span {
759
+ font-size: 12pt !important;
760
+ line-height: 16px !important;
761
+ }
762
+ }
763
+
764
+ @media screen and (max-width:409px) {
765
+ #bwg_img_add,
766
+ #bwg_img_cancel {
767
+ display: none !important;
768
+ }
769
+ #add_selectid_img,
770
+ .wd-btn-cancel {
771
+ padding: 0 !important;
772
+ background-position: 50% 50%;
773
+ }
774
+ }
775
+
776
+ .thumb_full_title {
777
+ display: table-row;
778
+ float: left;
779
+ margin: 5px;
780
+ }
781
+
782
+ .thumb_title {
783
+ display: none;
784
+ float: left;
785
+ margin: 5px;
786
+ width: 90px;
787
+ }
filemanager/css/default_view_thumbs.css CHANGED
@@ -4,7 +4,7 @@
4
  bottom: 40px;
5
  left: 0;
6
  right: 0;
7
- background-color: #ffffff;
8
  width: 100%;
9
  }
10
 
@@ -14,7 +14,7 @@
14
  bottom: 40px;
15
  left: 0;
16
  right: 0;
17
- background-color: #ffffff;
18
  width: 100%;
19
  }
20
 
@@ -35,8 +35,8 @@
35
  z-index: 1;
36
  top: 0;
37
  display: table;
38
- outline: solid 1px #e8e9ea;
39
- background-color: #ffffff;
40
  width: 100%;
41
  color: #585858;
42
  padding: 0 0 0 5px;
@@ -52,6 +52,13 @@
52
  vertical-align: middle;
53
  }
54
 
 
 
 
 
 
 
 
55
  #explorer_body_container,
56
  #importer_body_container {
57
  position: absolute;
@@ -72,10 +79,10 @@
72
 
73
  .explorer_item,
74
  .importer_item {
75
- display: table-row;
76
- float: left;
77
  width: 120px;
78
  height: 100px;
 
79
  text-align: center;
80
  }
81
 
@@ -83,19 +90,18 @@
83
  .importer_item_hover {
84
  outline-style: solid;
85
  outline-width: 1px;
86
- outline-color: #70c0e7;
87
- background-color: #e5f3fb;
88
  }
89
 
90
  .explorer_item_select,
91
  .importer_item_select {
92
  outline-style: solid;
93
  outline-width: 1px;
94
- outline-color: #66a7e8;
95
- background-color: #d1e8ff;
96
  }
97
 
98
-
99
  .item_thumb {
100
  display: table-cell;
101
  padding: 2px;
4
  bottom: 40px;
5
  left: 0;
6
  right: 0;
7
+ background-color: #FFFFFF;
8
  width: 100%;
9
  }
10
 
14
  bottom: 40px;
15
  left: 0;
16
  right: 0;
17
+ background-color: #FFFFFF;
18
  width: 100%;
19
  }
20
 
35
  z-index: 1;
36
  top: 0;
37
  display: table;
38
+ outline: solid 1px #E8E9EA;
39
+ background-color: #FFFFFF;
40
  width: 100%;
41
  color: #585858;
42
  padding: 0 0 0 5px;
52
  vertical-align: middle;
53
  }
54
 
55
+ #explorer_body_container,
56
+ #importer_body_container {
57
+ display: inline-block;
58
+ margin: 0 auto;
59
+ text-align: center;
60
+ }
61
+
62
  #explorer_body_container,
63
  #importer_body_container {
64
  position: absolute;
79
 
80
  .explorer_item,
81
  .importer_item {
82
+ display: inline-block;
 
83
  width: 120px;
84
  height: 100px;
85
+ margin: 0 auto;
86
  text-align: center;
87
  }
88
 
90
  .importer_item_hover {
91
  outline-style: solid;
92
  outline-width: 1px;
93
+ outline-color: #70C0E7;
94
+ background-color: #E5F3FB;
95
  }
96
 
97
  .explorer_item_select,
98
  .importer_item_select {
99
  outline-style: solid;
100
  outline-width: 1px;
101
+ outline-color: #66A7E8;
102
+ background-color: #D1E8FF;
103
  }
104
 
 
105
  .item_thumb {
106
  display: table-cell;
107
  padding: 2px;
filemanager/view.php CHANGED
@@ -94,7 +94,7 @@ class FilemanagerView {
94
  </div>
95
  <div id="file_manager">
96
  <div class="ctrls_bar ctrls_bar_header">
97
- <div class="ctrls_left">
98
  <a class="ctrl_bar_btn btn_up" onclick="onBtnUpClick(event, this);" title="<?php echo __('Up', 'bwg_back'); ?>"></a>
99
  <a class="ctrl_bar_btn btn_make_dir" onclick="onBtnMakeDirClick(event, this);" title="<?php echo __('Make a directory', 'bwg_back'); ?>"></a>
100
  <a class="ctrl_bar_btn btn_rename_item" onclick="onBtnRenameItemClick(event, this);" title="<?php echo __('Rename item', 'bwg_back'); ?>"></a>
@@ -103,19 +103,23 @@ class FilemanagerView {
103
  <a class="ctrl_bar_btn btn_cut" onclick="onBtnCutClick(event, this);" title="<?php echo __('Cut', 'bwg_back'); ?>"></a>
104
  <a class="ctrl_bar_btn btn_paste" onclick="onBtnPasteClick(event, this);" title="<?php echo __('Paste', 'bwg_back'); ?>"> </a>
105
  <a class="ctrl_bar_btn btn_remove_items" onclick="onBtnRemoveItemsClick(event, this);" title="<?php echo __('Remove items', 'bwg_back'); ?>"></a>
106
- <span class="ctrl_bar_divider"></span>
 
 
 
 
 
 
107
  <span class="ctrl_bar_btn">
108
  <a id="upload_images" class="ctrl_bar_btn wd-btn wd-btn-primary wd-btn-icon wd-btn-uplaod" onclick="onBtnShowUploaderClick(event, this);"><?php echo __('Upload files', 'bwg_back'); ?></a>
109
  </span>
110
- <span class="ctrl_bar_divider"></span>
 
 
111
  <span id="search_by_name" class="ctrl_bar_btn">
112
  <input type="search" placeholder="Search" class="ctrl_bar_btn search_by_name">
113
  </span>
114
  </div>
115
- <div class="ctrls_right">
116
- <a class="ctrl_bar_btn btn_view_thumbs" onclick="onBtnViewThumbsClick(event, this);" title="<?php echo __('View thumbs', 'bwg_back'); ?>"></a>
117
- <a class="ctrl_bar_btn btn_view_list" onclick="onBtnViewListClick(event, this);" title="<?php echo __('View list', 'bwg_back'); ?>"></a>
118
- </div>
119
  </div>
120
  <div id="path">
121
  <?php
@@ -247,9 +251,16 @@ class FilemanagerView {
247
  <span>
248
  </span>
249
  </span>
250
- <a id="add_selectid_img" class="ctrl_bar_btn btn_open wd-btn wd-btn-primary wd-btn-icon-add wd-btn-add none_select" onclick="onBtnOpenClick(event, this);"><?php echo ((isset($_REQUEST['callback']) && esc_html($_REQUEST['callback']) == 'bwg_add_image') ? __('Add selected images to gallery', 'bwg_back') : __('Add', 'bwg_back')); ?></a>
 
 
 
 
 
251
  <span class="ctrl_bar_empty_devider"></span>
252
- <a class="ctrl_bar_btn btn_cancel wd-btn wd-btn-primary wd-btn-icon wd-btn-cancel none_select" onclick="onBtnCancelClick(event, this);"><?php echo 'Cancel'; ?></a>
 
 
253
  </div>
254
  </div>
255
  </div>
@@ -257,7 +268,8 @@ class FilemanagerView {
257
  <div id="uploader_bg"></div>
258
  <div class="ctrls_bar ctrls_bar_header">
259
  <div class="ctrls_left upload_thumb">
260
- <?php echo __("Thumbnail Maximum Dimensions:", 'bwg_back'); ?>
 
261
  <input type="text" class="upload_thumb_dim" name="upload_thumb_width" id="upload_thumb_width" value="<?php echo $wd_bwg_options->upload_thumb_width; ?>" /> x
262
  <input type="text" class="upload_thumb_dim" name="upload_thumb_height" id="upload_thumb_height" value="<?php echo $wd_bwg_options->upload_thumb_height; ?>" /> px
263
  </div>
@@ -265,7 +277,8 @@ class FilemanagerView {
265
  <a class="ctrl_bar_btn btn_back" onclick="onBtnBackClick(event, this);" title="<?php echo __('Back', 'bwg_back'); ?>"></a>
266
  </div>
267
  <div class="ctrls_right_img upload_thumb">
268
- <?php echo __("Image Maximum Dimensions:", 'bwg_back'); ?>
 
269
  <input type="text" class="upload_thumb_dim" name="upload_img_width" id="upload_img_width" value="<?php echo $wd_bwg_options->upload_img_width; ?>" /> x
270
  <input type="text" class="upload_thumb_dim" name="upload_img_height" id="upload_img_height" value="<?php echo $wd_bwg_options->upload_img_height; ?>" /> px
271
  </div>
94
  </div>
95
  <div id="file_manager">
96
  <div class="ctrls_bar ctrls_bar_header">
97
+ <div class="ctrls_left header_bar">
98
  <a class="ctrl_bar_btn btn_up" onclick="onBtnUpClick(event, this);" title="<?php echo __('Up', 'bwg_back'); ?>"></a>
99
  <a class="ctrl_bar_btn btn_make_dir" onclick="onBtnMakeDirClick(event, this);" title="<?php echo __('Make a directory', 'bwg_back'); ?>"></a>
100
  <a class="ctrl_bar_btn btn_rename_item" onclick="onBtnRenameItemClick(event, this);" title="<?php echo __('Rename item', 'bwg_back'); ?>"></a>
103
  <a class="ctrl_bar_btn btn_cut" onclick="onBtnCutClick(event, this);" title="<?php echo __('Cut', 'bwg_back'); ?>"></a>
104
  <a class="ctrl_bar_btn btn_paste" onclick="onBtnPasteClick(event, this);" title="<?php echo __('Paste', 'bwg_back'); ?>"> </a>
105
  <a class="ctrl_bar_btn btn_remove_items" onclick="onBtnRemoveItemsClick(event, this);" title="<?php echo __('Remove items', 'bwg_back'); ?>"></a>
106
+ <span class="ctrl_bar_divider divider_upload"></span>
107
+ </div>
108
+ <div class="ctrls_right">
109
+ <a class="ctrl_bar_btn btn_view_thumbs" onclick="onBtnViewThumbsClick(event, this);" title="<?php echo __('View thumbs', 'bwg_back'); ?>"></a>
110
+ <a class="ctrl_bar_btn btn_view_list" onclick="onBtnViewListClick(event, this);" title="<?php echo __('View list', 'bwg_back'); ?>"></a>
111
+ </div>
112
+ <div class="ctrls_left header_bar">
113
  <span class="ctrl_bar_btn">
114
  <a id="upload_images" class="ctrl_bar_btn wd-btn wd-btn-primary wd-btn-icon wd-btn-uplaod" onclick="onBtnShowUploaderClick(event, this);"><?php echo __('Upload files', 'bwg_back'); ?></a>
115
  </span>
116
+ <span class="ctrl_bar_divider divider_search"></span>
117
+ </div>
118
+ <div class="ctrls_left header_bar">
119
  <span id="search_by_name" class="ctrl_bar_btn">
120
  <input type="search" placeholder="Search" class="ctrl_bar_btn search_by_name">
121
  </span>
122
  </div>
 
 
 
 
123
  </div>
124
  <div id="path">
125
  <?php
251
  <span>
252
  </span>
253
  </span>
254
+ <?php
255
+ $add_image_btn = (isset($_REQUEST['callback']) && esc_html($_REQUEST['callback']) == 'bwg_add_image') ? __('Add selected images to gallery', 'bwg_back') : __('Add', 'bwg_back');
256
+ ?>
257
+ <a id="add_selectid_img" title="<?php echo $add_image_btn; ?>" class="ctrl_bar_btn btn_open wd-btn wd-btn-primary wd-btn-icon-add wd-btn-add none_select" onclick="onBtnOpenClick(event, this);">
258
+ <div id="bwg_img_add"><?php echo $add_image_btn; ?></div>
259
+ </a>
260
  <span class="ctrl_bar_empty_devider"></span>
261
+ <a class="ctrl_bar_btn btn_cancel wd-btn wd-btn-primary wd-btn-icon wd-btn-cancel none_select" title="<?php _e('Cancel', 'bwg_back'); ?>" onclick="onBtnCancelClick(event, this);">
262
+ <div id="bwg_img_cancel"><?php _e('Cancel', 'bwg_back'); ?></div>
263
+ </a>
264
  </div>
265
  </div>
266
  </div>
268
  <div id="uploader_bg"></div>
269
  <div class="ctrls_bar ctrls_bar_header">
270
  <div class="ctrls_left upload_thumb">
271
+ <div class="upload_thumb thumb_full_title"><?php _e("Thumbnail Maximum Dimensions:", 'bwg_back'); ?></div>
272
+ <div class="upload_thumb thumb_title"><?php _e("Thumbnail:", 'bwg_back'); ?></div>
273
  <input type="text" class="upload_thumb_dim" name="upload_thumb_width" id="upload_thumb_width" value="<?php echo $wd_bwg_options->upload_thumb_width; ?>" /> x
274
  <input type="text" class="upload_thumb_dim" name="upload_thumb_height" id="upload_thumb_height" value="<?php echo $wd_bwg_options->upload_thumb_height; ?>" /> px
275
  </div>
277
  <a class="ctrl_bar_btn btn_back" onclick="onBtnBackClick(event, this);" title="<?php echo __('Back', 'bwg_back'); ?>"></a>
278
  </div>
279
  <div class="ctrls_right_img upload_thumb">
280
+ <div class="upload_thumb thumb_full_title"><?php _e("Image Maximum Dimensions:", 'bwg_back'); ?></div>
281
+ <div class="upload_thumb thumb_title"><?php _e("Image:", 'bwg_back'); ?></div>
282
  <input type="text" class="upload_thumb_dim" name="upload_img_width" id="upload_img_width" value="<?php echo $wd_bwg_options->upload_img_width; ?>" /> x
283
  <input type="text" class="upload_thumb_dim" name="upload_img_height" id="upload_img_height" value="<?php echo $wd_bwg_options->upload_img_height; ?>" /> px
284
  </div>
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.3.44
8
  * Author: Photo Gallery Team
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1701,7 +1701,7 @@ function bwg_activate() {
1701
  ));
1702
  }
1703
  $version = get_option('wd_bwg_version');
1704
- $new_version = '1.3.44';
1705
  if ($version && version_compare($version, $new_version, '<')) {
1706
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1707
  bwg_update($version);
@@ -1753,7 +1753,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1753
 
1754
  function bwg_update_hook() {
1755
  $version = get_option('wd_bwg_version');
1756
- $new_version = '1.3.44';
1757
  if ($version && version_compare($version, $new_version, '<')) {
1758
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1759
  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.3.45
8
  * Author: Photo Gallery Team
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1701
  ));
1702
  }
1703
  $version = get_option('wd_bwg_version');
1704
+ $new_version = '1.3.45';
1705
  if ($version && version_compare($version, $new_version, '<')) {
1706
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1707
  bwg_update($version);
1753
 
1754
  function bwg_update_hook() {
1755
  $version = get_option('wd_bwg_version');
1756
+ $new_version = '1.3.45';
1757
  if ($version && version_compare($version, $new_version, '<')) {
1758
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1759
  bwg_update($version);
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Photo Gallery by WD Responsive Photo Gallery for WordPress ===
2
  Contributors: webdorado,wdsupport,photogallerysupport
3
  Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
5
  Requires at least: 3.4
6
  Tested up to: 4.8
7
- Stable tag: 1.3.44
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -188,6 +188,10 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
188
 
189
  == Changelog ==
190
 
 
 
 
 
191
  = 1.3.44 =
192
  * Fixed: Shortcode edit page responsiveness.
193
  * Fixed: Thumbnails transition effect in mosaic extended album view.
1
+ === Photo Gallery by WD - Responsive Photo Gallery for WordPress ===
2
  Contributors: webdorado,wdsupport,photogallerysupport
3
  Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
5
  Requires at least: 3.4
6
  Tested up to: 4.8
7
+ Stable tag: 1.3.45
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
188
 
189
  == Changelog ==
190
 
191
+ = 1.3.45 =
192
+ * Fixed: Bug on Import from library image sizes.
193
+ * Fixed: Filemanager responsiveness.
194
+
195
  = 1.3.44 =
196
  * Fixed: Shortcode edit page responsiveness.
197
  * Fixed: Thumbnails transition effect in mosaic extended album view.