Image Photo Gallery Final Tiles Grid - Version 3.4.8

Version Description

Download this release

Release Info

Developer GreenTreeLabs
Plugin Icon 128x128 Image Photo Gallery Final Tiles Grid
Version 3.4.8
Comparing to
See all releases

Code changes from version 3.4.7 to 3.4.8

FinalTilesGalleryLite.php CHANGED
@@ -5,16 +5,18 @@
5
  * Plugin URI: https://www.final-tiles-gallery.com/wordpress
6
  * Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
7
  * Author: Green Tree Labs
8
- * Version: 3.4.6
9
  * Author URI: https://www.greentreelabs.net
10
  * Text Domain: final-tiles-grid-gallery-lite
11
  * Domain Path: /languages
12
  *
13
  *
14
  */
15
- define( "FTGVERSION", "3.4.6" );
16
  /*
17
  Changelog:
 
 
18
  3.4.6
19
  Fixed image source selection
20
  3.4.5
5
  * Plugin URI: https://www.final-tiles-gallery.com/wordpress
6
  * Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
7
  * Author: Green Tree Labs
8
+ * Version: 3.4.7
9
  * Author URI: https://www.greentreelabs.net
10
  * Text Domain: final-tiles-grid-gallery-lite
11
  * Domain Path: /languages
12
  *
13
  *
14
  */
15
+ define( "FTGVERSION", "3.4.7" );
16
  /*
17
  Changelog:
18
+ 3.4.7
19
+ Removed unnecessary translation functions
20
  3.4.6
21
  Fixed image source selection
22
  3.4.5
admin/include/image-list.php CHANGED
@@ -18,8 +18,8 @@ if(isset($gallery))
18
  $thumb = plugins_url('../images/video.jpg', __FILE__);
19
  ?>
20
  <div class="">
21
- <div class='item card hidden-<?php echo $image->hidden ?>' data-type='<?php _e($image->type) ?>' data-image-id="<?php _e($image->imageId) ?>" data-id="<?php _e($image->Id) ?>">
22
- <div class="figure card-image" style="background-image: url('<?php _e($thumb) ?>');">
23
  <?php if($image->type == 'image') : ?>
24
  <img class="thumb" src="<?php echo plugins_url('../images/square.gif', __FILE__) ?>" />
25
  <?php else : ?>
@@ -75,27 +75,27 @@ if(isset($gallery))
75
  <?php echo (isset($image->title) && !empty($image->title)) ? $image->title : $image->description ?>
76
  </p>
77
 
78
- <input class="copy" type="hidden" name="id" value="<?php _e($image->Id); ?>" />
79
- <input class="copy" type="hidden" name="type" value="<?php _e($image->type); ?>" />
80
- <input class="copy" type="hidden" name="img_id" value="<?php _e($image->imageId); ?>" />
81
- <input class="copy" type="hidden" name="sortOrder" value="<?php _e($image->sortOrder); ?>" />
82
- <input class="copy" type="hidden" name="filters" value="<?php _e($image->filters); ?>" />
83
- <input class="copy" type="hidden" name="post_id" value="<?php _e(isset($image->postId) ? $image->postId : 0) ?>" />
84
  <select name="img_url" class="select hidden">
85
  <?php foreach($sizes as $k => $v) : ?>
86
  <option <?php echo $v == $image->imagePath ? "selected" : "" ?> value="<?php print $v ?>"><?php print $k ?></option>
87
  <?php endforeach ?>
88
  </select>
89
- <input type="hidden" name="target" value="<?php _e($image->target) ?>" />
90
- <input type="hidden" name="group" value="<?php _e($image->group); ?>" />
91
- <input type="hidden" name="zoom" value="<?php _e($image->zoom) ?>" />
92
- <input type="hidden" name="link" value="<?php _e($image->link) ?>" />
93
- <input type="hidden" name="blank" value="<?php _e($image->blank) ?>" />
94
- <input type="hidden" name="hidden" value="<?php _e($image->hidden) ?>" />
95
- <input type="hidden" name="sortOrder" value="<?php _e($image->sortOrder) ?>" />
96
- <pre class="hidden description"><?php _e($image->description) ?></pre>
97
- <pre class="hidden imagepath"><?php _e(htmlentities($image->imagePath)) ?></pre>
98
- <input type="hidden" id="img-title" value="<?php _e($image->title); ?>">
99
  </div>
100
  </div>
101
  </div>
18
  $thumb = plugins_url('../images/video.jpg', __FILE__);
19
  ?>
20
  <div class="">
21
+ <div class='item card hidden-<?php echo $image->hidden ?>' data-type='<?php echo $image->type ?>' data-image-id="<?php echo $image->imageId ?>" data-id="<?php echo $image->Id ?>">
22
+ <div class="figure card-image" style="background-image: url('<?php echo $thumb ?>');">
23
  <?php if($image->type == 'image') : ?>
24
  <img class="thumb" src="<?php echo plugins_url('../images/square.gif', __FILE__) ?>" />
25
  <?php else : ?>
75
  <?php echo (isset($image->title) && !empty($image->title)) ? $image->title : $image->description ?>
76
  </p>
77
 
78
+ <input class="copy" type="hidden" name="id" value="<?php echo $image->Id ?>" />
79
+ <input class="copy" type="hidden" name="type" value="<?php echo $image->type ?>" />
80
+ <input class="copy" type="hidden" name="img_id" value="<?php echo $image->imageId ?>" />
81
+ <input class="copy" type="hidden" name="sortOrder" value="<?php echo $image->sortOrder; ?>" />
82
+ <input class="copy" type="hidden" name="filters" value="<?php echo $image->filters ?>" />
83
+ <input class="copy" type="hidden" name="post_id" value="<?php echo isset($image->postId) ? $image->postId : 0 ?>" />
84
  <select name="img_url" class="select hidden">
85
  <?php foreach($sizes as $k => $v) : ?>
86
  <option <?php echo $v == $image->imagePath ? "selected" : "" ?> value="<?php print $v ?>"><?php print $k ?></option>
87
  <?php endforeach ?>
88
  </select>
89
+ <input type="hidden" name="target" value="<?php echo $image->target ?>" />
90
+ <input type="hidden" name="group" value="<?php echo $image->group ?>" />
91
+ <input type="hidden" name="zoom" value="<?php echo $image->zoom ?>" />
92
+ <input type="hidden" name="link" value="<?php echo $image->link ?>" />
93
+ <input type="hidden" name="blank" value="<?php echo $image->blank ?>" />
94
+ <input type="hidden" name="hidden" value="<?php echo $image->hidden ?>" />
95
+ <input type="hidden" name="sortOrder" value="<?php echo $image->sortOrder ?>" />
96
+ <pre class="hidden description"><?php echo $image->description ?></pre>
97
+ <pre class="hidden imagepath"><?php echo htmlentities($image->imagePath) ?></pre>
98
+ <input type="hidden" id="img-title" value="<?php echo $image->title ?>">
99
  </div>
100
  </div>
101
  </div>
lib/gallery-class.php CHANGED
@@ -669,7 +669,7 @@ if ( !class_exists( "FinalTilesGallery" ) ) {
669
  if ( !isset( $image->height ) ) {
670
  $image->height = "auto";
671
  }
672
- if ( !isset( $image->alt ) ) {
673
  $image->alt = $description;
674
  }
675
  $html .= "<img alt='{$image->alt}' class='item skip-lazy' data-class='item' data-ftg-source='{$image->imagePath}' src='{$src}' width='{$image->width}' height='{$image->height}' />\n";
669
  if ( !isset( $image->height ) ) {
670
  $image->height = "auto";
671
  }
672
+ if ( !isset( $image->alt ) || empty($image->alt) ) {
673
  $image->alt = $description;
674
  }
675
  $html .= "<img alt='{$image->alt}' class='item skip-lazy' data-class='item' data-ftg-source='{$image->imagePath}' src='{$src}' width='{$image->width}' height='{$image->height}' />\n";
readme.txt CHANGED
@@ -137,6 +137,9 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
137
 
138
  == Changelog ==
139
 
 
 
 
140
  = 3.4.6 =
141
  * [Fix] Fixed image source selection
142
 
@@ -327,6 +330,9 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
327
 
328
  == Upgrade Notice ==
329
 
 
 
 
330
  = 3.4.6 =
331
  * [Fix] Fixed image source selection
332
 
137
 
138
  == Changelog ==
139
 
140
+ = 3.4.7 =
141
+ * [Enhancement] Removed unnecessary translation functions
142
+
143
  = 3.4.6 =
144
  * [Fix] Fixed image source selection
145
 
330
 
331
  == Upgrade Notice ==
332
 
333
+ = 3.4.7 =
334
+ * [Enhancement] Removed unnecessary translation functions
335
+
336
  = 3.4.6 =
337
  * [Fix] Fixed image source selection
338