Photo Gallery by WD – Responsive Photo Gallery - Version 1.3.10

Version Description

  • Changed: Image alt/title input size.
Download this release

Release Info

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

Code changes from version 1.3.9 to 1.3.10

admin/views/BWGViewGalleries_bwg.php CHANGED
@@ -428,16 +428,16 @@ class BWGViewGalleries_bwg {
428
  var td_alt = document.createElement('td');
429
  td_alt.setAttribute('class', "table_extra_large_col");
430
  tr.appendChild(td_alt);
431
- var input_alt = document.createElement('input');
432
  input_alt.setAttribute('id', "image_alt_text_" + bwg_j);
433
  input_alt.setAttribute('name', "image_alt_text_" + bwg_j);
434
- input_alt.setAttribute('type', "text");
435
- input_alt.setAttribute('size', "24");
436
  if (is_embed && !is_direct_url) {
437
- input_alt.setAttribute('value', files[i]['name']);
438
  }
439
  else {/*uploaded images and direct URLs of images only*/
440
- input_alt.setAttribute('value', files[i]['filename']);
441
  }
442
  td_alt.appendChild(input_alt);
443
 
@@ -458,7 +458,6 @@ class BWGViewGalleries_bwg {
458
  textarea_desc.setAttribute('id', "image_description_" + bwg_j);
459
  textarea_desc.setAttribute('name', "image_description_" + bwg_j);
460
  textarea_desc.setAttribute('rows', "2");
461
- textarea_desc.setAttribute('cols', "20");
462
  textarea_desc.setAttribute('style', "resize:vertical;");
463
  if (is_embed && !is_direct_url) {
464
  textarea_desc.innerHTML = files[i]['description'];
@@ -983,13 +982,13 @@ class BWGViewGalleries_bwg {
983
  <input type="hidden" id="input_filetype_<?php echo $row_data->id; ?>" name="input_filetype_<?php echo $row_data->id; ?>" value="<?php echo $row_data->filetype; ?>" />
984
  </td>
985
  <td class="table_extra_large_col">
986
- <input size="24" type="text" id="image_alt_text_<?php echo $row_data->id; ?>" name="image_alt_text_<?php echo $row_data->id; ?>" value="<?php echo $row_data->alt; ?>" />
987
  <?php if ($option_row->thumb_click_action != 'open_lightbox') { ?>
988
  <input size="24" type="text" id="redirect_url_<?php echo $row_data->id; ?>" name="redirect_url_<?php echo $row_data->id; ?>" value="<?php echo $row_data->redirect_url; ?>" />
989
  <?php } ?>
990
  </td>
991
  <td class="table_extra_large_col">
992
- <textarea cols="20" rows="2" id="image_description_<?php echo $row_data->id; ?>" name="image_description_<?php echo $row_data->id; ?>" style="resize:vertical;"><?php echo $row_data->description; ?></textarea>
993
  </td>
994
  <td class="table_extra_large_col">
995
  <?php
428
  var td_alt = document.createElement('td');
429
  td_alt.setAttribute('class', "table_extra_large_col");
430
  tr.appendChild(td_alt);
431
+ var input_alt = document.createElement('textarea');
432
  input_alt.setAttribute('id', "image_alt_text_" + bwg_j);
433
  input_alt.setAttribute('name', "image_alt_text_" + bwg_j);
434
+ input_alt.setAttribute('style', "resize: vertical; height: 54px;");
435
+ input_alt.setAttribute('rows', "2");
436
  if (is_embed && !is_direct_url) {
437
+ input_alt.innerHtml = files[i]['name'];
438
  }
439
  else {/*uploaded images and direct URLs of images only*/
440
+ input_alt.innerHtml = files[i]['filename'];
441
  }
442
  td_alt.appendChild(input_alt);
443
 
458
  textarea_desc.setAttribute('id', "image_description_" + bwg_j);
459
  textarea_desc.setAttribute('name', "image_description_" + bwg_j);
460
  textarea_desc.setAttribute('rows', "2");
 
461
  textarea_desc.setAttribute('style', "resize:vertical;");
462
  if (is_embed && !is_direct_url) {
463
  textarea_desc.innerHTML = files[i]['description'];
982
  <input type="hidden" id="input_filetype_<?php echo $row_data->id; ?>" name="input_filetype_<?php echo $row_data->id; ?>" value="<?php echo $row_data->filetype; ?>" />
983
  </td>
984
  <td class="table_extra_large_col">
985
+ <textarea rows="2" id="image_alt_text_<?php echo $row_data->id; ?>" name="image_alt_text_<?php echo $row_data->id; ?>" style="resize:vertical;"><?php echo $row_data->alt; ?></textarea>
986
  <?php if ($option_row->thumb_click_action != 'open_lightbox') { ?>
987
  <input size="24" type="text" id="redirect_url_<?php echo $row_data->id; ?>" name="redirect_url_<?php echo $row_data->id; ?>" value="<?php echo $row_data->redirect_url; ?>" />
988
  <?php } ?>
989
  </td>
990
  <td class="table_extra_large_col">
991
+ <textarea rows="3" id="image_description_<?php echo $row_data->id; ?>" name="image_description_<?php echo $row_data->id; ?>" style="resize:vertical;"><?php echo $row_data->description; ?></textarea>
992
  </td>
993
  <td class="table_extra_large_col">
994
  <?php
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.9
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1923,7 +1923,7 @@ function bwg_activate() {
1923
  ));
1924
  }
1925
  $version = WD_BWG_VERSION;
1926
- $new_version = '1.3.9';
1927
  if ($version && version_compare($version, $new_version, '<')) {
1928
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1929
  bwg_update($version);
@@ -1975,7 +1975,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1975
 
1976
  function bwg_update_hook() {
1977
  $version = WD_BWG_VERSION;
1978
- $new_version = '1.3.9';
1979
  if ($version && version_compare($version, $new_version, '<')) {
1980
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1981
  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.10
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1923
  ));
1924
  }
1925
  $version = WD_BWG_VERSION;
1926
+ $new_version = '1.3.10';
1927
  if ($version && version_compare($version, $new_version, '<')) {
1928
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1929
  bwg_update($version);
1975
 
1976
  function bwg_update_hook() {
1977
  $version = WD_BWG_VERSION;
1978
+ $new_version = '1.3.10';
1979
  if ($version && version_compare($version, $new_version, '<')) {
1980
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1981
  bwg_update($version);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: album, image gallery, gallery, image, images, lightbox, photo, photo gallery, photos, responsive, thumbnail, widget
5
  Requires at least: 3.4
6
  Tested up to: 4.6
7
- Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -224,6 +224,9 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
224
 
225
  == Changelog ==
226
 
 
 
 
227
  = 1.3.9 =
228
  * Changed: Featured themes page.
229
 
4
  Tags: album, image gallery, gallery, image, images, lightbox, photo, photo gallery, photos, responsive, thumbnail, widget
5
  Requires at least: 3.4
6
  Tested up to: 4.6
7
+ Stable tag: 1.3.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
224
 
225
  == Changelog ==
226
 
227
+ = 1.3.10 =
228
+ * Changed: Image alt/title input size.
229
+
230
  = 1.3.9 =
231
  * Changed: Featured themes page.
232