Version Description
- [Fix] Fixed ignored caption font size
Download this release
Release Info
Developer | GreenTreeLabs |
Plugin | Image Photo Gallery Final Tiles Grid |
Version | 3.3.19 |
Comparing to | |
See all releases |
Code changes from version 3.3.18 to 3.3.19
- FinalTilesGalleryLite.php +238 -236
- lib/gallery-class.php +5 -5
- readme.txt +6 -0
FinalTilesGalleryLite.php
CHANGED
@@ -1,242 +1,244 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/**
|
4 |
-
* Plugin Name: Final Tiles Grid Gallery - Image Gallery
|
5 |
-
* Plugin URI: https://www.final-tiles-gallery.com
|
6 |
-
* Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
|
7 |
-
* Author: Green Tree Labs
|
8 |
-
* Version: 3.3.
|
9 |
-
* Author URI: https://www.greentreelabs.net
|
10 |
-
*
|
11 |
-
* @fs_premium_only /lightbox-pro/
|
12 |
-
*
|
13 |
*/
|
14 |
-
define( 'FTGVERSION', '3.3.
|
15 |
-
/*
|
16 |
-
Changelog:
|
17 |
-
3.3.
|
18 |
-
Fixed
|
19 |
-
3.3.
|
20 |
-
Fixed
|
21 |
-
3.3.
|
22 |
-
Fixed
|
23 |
-
3.3.
|
24 |
-
Fixed
|
25 |
-
3.3.
|
26 |
-
Fixed
|
27 |
-
3.3.
|
28 |
-
Fixed
|
29 |
-
3.3.
|
30 |
-
|
31 |
-
3.3.
|
32 |
-
|
33 |
-
3.3.
|
34 |
-
|
35 |
-
3.3.
|
36 |
-
|
37 |
-
3.3.
|
38 |
-
Bug fix (
|
39 |
-
3.3.
|
40 |
-
Bug fix (
|
41 |
-
3.3.
|
42 |
-
|
43 |
-
3.3.
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
3.3.
|
49 |
-
Bug fix (
|
50 |
-
3.3.
|
51 |
-
Bug fix (videos not
|
52 |
-
3.3.
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
Added
|
58 |
-
|
59 |
-
Added
|
60 |
-
Added
|
61 |
-
|
62 |
-
Added
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
3.2.
|
67 |
-
Minor Bug fix
|
68 |
-
3.2.
|
69 |
-
Bug fix
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
3.2.
|
78 |
-
Bug fix
|
79 |
-
3.2.
|
80 |
-
Bug fix
|
81 |
-
3.2.
|
82 |
-
Bug fix
|
83 |
-
3.2.
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
3.1.
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
3.1.
|
98 |
-
|
99 |
-
3.1.
|
100 |
-
|
101 |
-
3.1.
|
102 |
-
|
103 |
-
3.1.
|
104 |
-
Bug fix
|
105 |
-
3.1.
|
106 |
-
Bug fix
|
107 |
-
3.1.
|
108 |
-
|
109 |
-
3.1.
|
110 |
-
Lazy load
|
111 |
-
3.1.
|
112 |
-
|
113 |
-
3.1.
|
114 |
-
|
115 |
-
3.1.
|
116 |
-
|
117 |
-
3.1.
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
Fixed bug in
|
125 |
-
3.1.
|
126 |
-
|
127 |
-
3.1.
|
128 |
-
|
129 |
-
3.1.
|
130 |
-
|
131 |
-
3.1.
|
132 |
-
|
133 |
-
3.1.
|
134 |
-
|
135 |
-
3.1.
|
136 |
-
|
137 |
-
3.1.
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
3.1.
|
143 |
-
|
144 |
-
3.1.
|
145 |
-
|
146 |
-
3.1.
|
147 |
-
|
148 |
-
3.1.
|
149 |
-
|
150 |
-
3.1.
|
151 |
-
|
152 |
-
3.1.
|
153 |
-
|
154 |
-
3.1.
|
155 |
-
|
156 |
-
3.1.
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
3.0.
|
165 |
-
|
166 |
-
3.0.
|
167 |
-
|
168 |
-
3.0.
|
169 |
-
|
170 |
-
3.0.
|
171 |
-
|
172 |
-
3.0.
|
173 |
-
|
174 |
-
3.0.
|
175 |
-
|
176 |
-
3.
|
177 |
-
|
178 |
-
3.
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
3.0.
|
185 |
-
|
186 |
-
3.0.
|
187 |
-
|
188 |
-
3.0.
|
189 |
-
|
190 |
-
3.0.
|
191 |
-
Minor bug fix
|
192 |
-
3.0.
|
193 |
-
Minor bug fix
|
194 |
-
3.0.
|
195 |
-
|
196 |
-
3.0.
|
197 |
-
|
198 |
-
3.0.
|
199 |
-
Minor bug fix
|
200 |
-
3.0.
|
201 |
-
|
202 |
-
3.0.
|
203 |
-
Bug fix
|
204 |
-
3.0.
|
205 |
-
Bug fix
|
206 |
-
3.0
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
2.1.
|
213 |
-
|
214 |
-
2.1.
|
215 |
-
|
216 |
-
2.1.
|
217 |
-
|
218 |
-
2.1.
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
2.1.
|
223 |
-
New
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
|
|
|
|
240 |
*/
|
241 |
if ( !function_exists( 'ftg_fs' ) ) {
|
242 |
// Create a helper function for easy SDK access.
|
1 |
<?php
|
2 |
|
3 |
+
/**
|
4 |
+
* Plugin Name: Final Tiles Grid Gallery - Image Gallery
|
5 |
+
* Plugin URI: https://www.final-tiles-gallery.com
|
6 |
+
* Description: Wordpress Plugin for creating responsive image galleries. By: GreenTreeLabs
|
7 |
+
* Author: Green Tree Labs
|
8 |
+
* Version: 3.3.19
|
9 |
+
* Author URI: https://www.greentreelabs.net
|
10 |
+
*
|
11 |
+
* @fs_premium_only /lightbox-pro/
|
12 |
+
*
|
13 |
*/
|
14 |
+
define( 'FTGVERSION', '3.3.19' );
|
15 |
+
/*
|
16 |
+
Changelog:
|
17 |
+
3.3.19
|
18 |
+
Fixed ignored caption font size
|
19 |
+
3.3.18
|
20 |
+
Fixed issue with iconv function
|
21 |
+
3.3.17
|
22 |
+
Fixed issues in admin panel
|
23 |
+
3.3.16
|
24 |
+
Fixed plugin name
|
25 |
+
3.3.15
|
26 |
+
Fixed minor issue
|
27 |
+
3.3.14
|
28 |
+
Fixed bug
|
29 |
+
3.3.13
|
30 |
+
Fixed menu slug
|
31 |
+
3.3.12
|
32 |
+
Lite version code merged with premium
|
33 |
+
3.3.10
|
34 |
+
Bug fix (wrong behaviour on mobile with columns layout)
|
35 |
+
3.3.9
|
36 |
+
Extended support for PHP versions
|
37 |
+
3.3.8
|
38 |
+
Bug fix (Woocommerce categories were ignored)
|
39 |
+
3.3.7
|
40 |
+
Bug fix (Youtube videos not showing in lightboxes)
|
41 |
+
3.3.6
|
42 |
+
Bug fix (Vimeo videos not showing in lightboxes)
|
43 |
+
3.3.5
|
44 |
+
Enhanced compatibility with EverlightBox
|
45 |
+
3.3.4
|
46 |
+
Bug fix (woocommerce 3.1.x galleries not working)
|
47 |
+
Admin UI minor fixes
|
48 |
+
3.3.3
|
49 |
+
Bug fix (wrong behaviour of captions on mobile devices)
|
50 |
+
3.3.2
|
51 |
+
Bug fix (videos not using the masonry layout)
|
52 |
+
3.3.1
|
53 |
+
Bug fix (videos not visible)
|
54 |
+
3.3.0
|
55 |
+
Use gallery options inside shortcode
|
56 |
+
Enhanced backend UI
|
57 |
+
Added new caption behaviours
|
58 |
+
Fix FitVid conflicts
|
59 |
+
Added Hover effects and Image loaded effects presets
|
60 |
+
Added hover effect duration
|
61 |
+
Added new feature: disable grid size below given screen width
|
62 |
+
Added title and description to LightGallery
|
63 |
+
3.2.9
|
64 |
+
Added support for EverlightBox
|
65 |
+
Renamed get_image_sizes function to avoid conflicts
|
66 |
+
3.2.8
|
67 |
+
Minor Bug fix
|
68 |
+
3.2.7
|
69 |
+
Minor Bug fix
|
70 |
+
3.2.6
|
71 |
+
Bug fix
|
72 |
+
New feature: choose image size for lightbox
|
73 |
+
3.2.5
|
74 |
+
SwipeBox now supports filters
|
75 |
+
Download the full size from LighGallery
|
76 |
+
Ajax loading (beta)
|
77 |
+
3.2.4
|
78 |
+
Bug fix
|
79 |
+
3.2.3
|
80 |
+
Bug fix
|
81 |
+
3.2.2
|
82 |
+
Bug fix
|
83 |
+
3.2.1
|
84 |
+
Bug fix
|
85 |
+
3.2.0
|
86 |
+
Lightbox groups
|
87 |
+
Hidden images
|
88 |
+
3.1.32
|
89 |
+
Added date filter to media panel
|
90 |
+
Added support to Enhanced Media Panel
|
91 |
+
Lazy loading with multiple image loading
|
92 |
+
Pre-selected filter
|
93 |
+
3.1.31
|
94 |
+
Enhanced compatibility with other plugins and themes by adding data-class attribute on images
|
95 |
+
3.1.30
|
96 |
+
Fixed jQuery issue
|
97 |
+
3.1.29
|
98 |
+
Minor bug fix
|
99 |
+
3.1.28
|
100 |
+
Bug fix
|
101 |
+
3.1.27
|
102 |
+
Alt tag
|
103 |
+
3.1.26
|
104 |
+
Bug fix
|
105 |
+
3.1.25
|
106 |
+
Bug fix
|
107 |
+
3.1.24
|
108 |
+
Bug fix
|
109 |
+
3.1.23
|
110 |
+
Fixed bug occuring with Lazy load + Filters
|
111 |
+
3.1.22
|
112 |
+
Lazy load
|
113 |
+
3.1.21
|
114 |
+
New layout Masonry
|
115 |
+
3.1.20
|
116 |
+
Max number of posts for "Recent posts" galleries
|
117 |
+
3.1.19
|
118 |
+
Open videos in lightbox
|
119 |
+
3.1.18
|
120 |
+
Admin panel enhancements
|
121 |
+
Fixed issue about Magnific Popup being loaded even when not needed
|
122 |
+
3.1.17
|
123 |
+
New lightbox added: Lightgallery
|
124 |
+
Fixed minor bug in Custom CSS (removed slashes)
|
125 |
+
3.1.16
|
126 |
+
Fixed bug in 'Recent posts' galleries, now it's possible to link posts
|
127 |
+
3.1.15
|
128 |
+
Added new lightbox: LightGallery
|
129 |
+
3.1.14
|
130 |
+
Import/Export features, Set title font size, select images by filter (backend), choose mobile lightbox
|
131 |
+
3.1.13
|
132 |
+
Fixed issue with some lightboxes on pages with more than one gallery
|
133 |
+
3.1.12
|
134 |
+
Solved conflicts with FitVids
|
135 |
+
3.1.11
|
136 |
+
[Backend] edit gallery by clicking the tile
|
137 |
+
3.1.10
|
138 |
+
Bug fix
|
139 |
+
3.1.9
|
140 |
+
Load gallery with a selected filter, choose to reload page after clicking a filter,
|
141 |
+
choose gallery from text editor, load scripts from footer for enhanced page load
|
142 |
+
3.1.8
|
143 |
+
Updated material design fonts
|
144 |
+
3.1.7
|
145 |
+
Fix grid size 0
|
146 |
+
3.1.6
|
147 |
+
Minor bug fix
|
148 |
+
3.1.5
|
149 |
+
Image loaded effects
|
150 |
+
3.1.4
|
151 |
+
Bug fix
|
152 |
+
3.1.3
|
153 |
+
Set a custom label for "All" filter, Choose size of images in admin panel, Loading bar color, Loading bar background color, Caption font size, Sequential image loading
|
154 |
+
3.1.2
|
155 |
+
PrettyPhoto security fix
|
156 |
+
3.1.1
|
157 |
+
Minor bug fix
|
158 |
+
3.1.0
|
159 |
+
New Backoffice
|
160 |
+
Wizard
|
161 |
+
WooCommerce products
|
162 |
+
New caption styles
|
163 |
+
Earn money with referral
|
164 |
+
3.0.21
|
165 |
+
Bug fix
|
166 |
+
3.0.20
|
167 |
+
Support for Social Gallery plugin by EpicPlugins
|
168 |
+
3.0.19
|
169 |
+
Bug fix
|
170 |
+
3.0.18
|
171 |
+
Posts galleries can use lightboxes
|
172 |
+
3.0.17
|
173 |
+
Bug fix
|
174 |
+
3.0.16
|
175 |
+
Filters available with recent posts
|
176 |
+
3.0.15
|
177 |
+
bug fix
|
178 |
+
3.1.14
|
179 |
+
New customization fields: before gallery text and after gallery text
|
180 |
+
3.0.13
|
181 |
+
Removed unused gallery properties
|
182 |
+
Read "Description" field from media panel
|
183 |
+
Added delay control
|
184 |
+
3.0.12
|
185 |
+
minor bug fix
|
186 |
+
3.0.11
|
187 |
+
Image width and height attributes are now ignored
|
188 |
+
3.0.10
|
189 |
+
Added compatibility with Cherry themes
|
190 |
+
3.0.9
|
191 |
+
Minor bug fix
|
192 |
+
3.0.8
|
193 |
+
Minor bug fix
|
194 |
+
3.0.7
|
195 |
+
Minor bug fix
|
196 |
+
3.0.6
|
197 |
+
Added filters in media panel
|
198 |
+
3.0.5
|
199 |
+
Minor bug fix
|
200 |
+
3.0.4
|
201 |
+
Minor bug fix
|
202 |
+
3.0.3
|
203 |
+
Bug fix
|
204 |
+
3.0.2
|
205 |
+
Bug fix
|
206 |
+
3.0.1
|
207 |
+
Bug fix
|
208 |
+
3.0
|
209 |
+
New grid layout algorithm
|
210 |
+
Video support, reverse order option
|
211 |
+
Automatic gallery with recent posts, toggle HTML compression, caption behavior on mobile devices, custom caption icon, update to FontAwesone 4.1.0
|
212 |
+
2.1.10
|
213 |
+
Lazy loading
|
214 |
+
2.1.9
|
215 |
+
Fixed issue with single quote character in captions
|
216 |
+
2.1.8
|
217 |
+
Re-activated html compression
|
218 |
+
2.1.7
|
219 |
+
Fixed notice messages
|
220 |
+
2.1.6
|
221 |
+
Magnific Popup and Lightbox now work with gallery filters
|
222 |
+
2.1.5
|
223 |
+
New feature: dynamic image size factor
|
224 |
+
2.1.4
|
225 |
+
New fields: CSS class and REL on A tag
|
226 |
+
2.1.3
|
227 |
+
Social icons bug fix
|
228 |
+
|
229 |
+
2.1.2
|
230 |
+
Show empty captions
|
231 |
+
Inverted captions (visible then hidden on mouse over)
|
232 |
+
Icons in captions
|
233 |
+
Admin redesign UI
|
234 |
+
Enable/Disable effects on mouse over
|
235 |
+
Caption auto height
|
236 |
+
Set color of social sharing icons
|
237 |
+
Fixed captions
|
238 |
+
Loading progress bar
|
239 |
+
Minor bugs fixes
|
240 |
+
Page with support request instructions
|
241 |
+
Page with instructions
|
242 |
*/
|
243 |
if ( !function_exists( 'ftg_fs' ) ) {
|
244 |
// Create a helper function for easy SDK access.
|
lib/gallery-class.php
CHANGED
@@ -369,7 +369,7 @@ if (!class_exists("FinalTilesGallery"))
|
|
369 |
|
370 |
if($gallery->captionFontSize)
|
371 |
{
|
372 |
-
$html .= "#ftg-$this->id$rid .tile .caption-block .text-wrapper span.
|
373 |
}
|
374 |
if($gallery->titleFontSize)
|
375 |
{
|
@@ -381,7 +381,7 @@ if (!class_exists("FinalTilesGallery"))
|
|
381 |
|
382 |
if($gallery->captionColor)
|
383 |
{
|
384 |
-
$html .= "#ftg-$this->id$rid .tile .caption-block .text-wrapper span.
|
385 |
$html .= "#ftg-$this->id$rid .tile .caption-block .text-wrapper span.title { color: " . $gallery->captionColor . "; }\n";
|
386 |
}
|
387 |
|
@@ -405,7 +405,7 @@ if (!class_exists("FinalTilesGallery"))
|
|
405 |
$html .= "#ftg-$this->id$rid .tile .tile-inner:before { background-color: rgba($bgCaption[0], $bgCaption[1], $bgCaption[2], ". ($gallery->captionOpacity/100) . "); }\n";
|
406 |
|
407 |
if($gallery->captionFrame == 'T' && $gallery->captionFrameColor)
|
408 |
-
$html .= "#ftg-$this->id$rid .tile .caption-block.frame .
|
409 |
|
410 |
$loadedEasing = $gallery->loadedEasing;
|
411 |
if($gallery->loadedEasing == "ease-out-back")
|
@@ -760,7 +760,7 @@ if (!class_exists("FinalTilesGallery"))
|
|
760 |
|
761 |
$title_text = htmlspecialchars($description, ENT_QUOTES);
|
762 |
if($lightbox == 'lightgallery' && $this->useCaptions())
|
763 |
-
$title_text = "<span class='title'>$image->title</span><span class='
|
764 |
|
765 |
|
766 |
$html .= "<a $title=\"".$title_text."\" ". (($gallery->lightbox == "lightbox2" ) && empty($image->link) ? "data-lightbox='$rel'" : "") ." rel='$rel' " . ($this->getTarget($image)) . " class=' tile-inner " . $gallery->aClass . " " . ($this->getLightboxClass($image)) . "' " . $this->getLink($image) . " " . ($lightbox == "lightgallery" ? "data-download-url='$image->original'" : '') . ">\n";
|
@@ -803,7 +803,7 @@ if (!class_exists("FinalTilesGallery"))
|
|
803 |
if(($gallery->source == "posts" || $gallery->source == "woocommerce") && $this->useCaptions())
|
804 |
{
|
805 |
$html .= "\t<div class='text-wrapper'>\n";
|
806 |
-
$html .= "\t\t<span class='
|
807 |
$html .= "\t</div>\n";
|
808 |
}
|
809 |
$html .= "</div>\n";
|
369 |
|
370 |
if($gallery->captionFontSize)
|
371 |
{
|
372 |
+
$html .= "#ftg-$this->id$rid .tile .caption-block .text-wrapper span.text { font-size:".$gallery->captionFontSize."px; }\n";
|
373 |
}
|
374 |
if($gallery->titleFontSize)
|
375 |
{
|
381 |
|
382 |
if($gallery->captionColor)
|
383 |
{
|
384 |
+
$html .= "#ftg-$this->id$rid .tile .caption-block .text-wrapper span.text { color: " . $gallery->captionColor . "; }\n";
|
385 |
$html .= "#ftg-$this->id$rid .tile .caption-block .text-wrapper span.title { color: " . $gallery->captionColor . "; }\n";
|
386 |
}
|
387 |
|
405 |
$html .= "#ftg-$this->id$rid .tile .tile-inner:before { background-color: rgba($bgCaption[0], $bgCaption[1], $bgCaption[2], ". ($gallery->captionOpacity/100) . "); }\n";
|
406 |
|
407 |
if($gallery->captionFrame == 'T' && $gallery->captionFrameColor)
|
408 |
+
$html .= "#ftg-$this->id$rid .tile .caption-block.frame .text { border-color: ". $gallery->captionFrameColor ."; }\n";
|
409 |
|
410 |
$loadedEasing = $gallery->loadedEasing;
|
411 |
if($gallery->loadedEasing == "ease-out-back")
|
760 |
|
761 |
$title_text = htmlspecialchars($description, ENT_QUOTES);
|
762 |
if($lightbox == 'lightgallery' && $this->useCaptions())
|
763 |
+
$title_text = "<span class='title'>$image->title</span><span class='text'>$image->description</span>";
|
764 |
|
765 |
|
766 |
$html .= "<a $title=\"".$title_text."\" ". (($gallery->lightbox == "lightbox2" ) && empty($image->link) ? "data-lightbox='$rel'" : "") ." rel='$rel' " . ($this->getTarget($image)) . " class=' tile-inner " . $gallery->aClass . " " . ($this->getLightboxClass($image)) . "' " . $this->getLink($image) . " " . ($lightbox == "lightgallery" ? "data-download-url='$image->original'" : '') . ">\n";
|
803 |
if(($gallery->source == "posts" || $gallery->source == "woocommerce") && $this->useCaptions())
|
804 |
{
|
805 |
$html .= "\t<div class='text-wrapper'>\n";
|
806 |
+
$html .= "\t\t<span class='text'>$image->description</span>\n";
|
807 |
$html .= "\t</div>\n";
|
808 |
}
|
809 |
$html .= "</div>\n";
|
readme.txt
CHANGED
@@ -135,6 +135,9 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
138 |
= 3.3.18 =
|
139 |
* [Fix] Fixed issue with iconv function
|
140 |
|
@@ -239,6 +242,9 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
|
|
239 |
|
240 |
== Upgrade Notice ==
|
241 |
|
|
|
|
|
|
|
242 |
= 3.3.10 =
|
243 |
* Lite and paid versions merged in same repository
|
244 |
|
135 |
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= 3.3.19 =
|
139 |
+
* [Fix] Fixed ignored caption font size
|
140 |
+
|
141 |
= 3.3.18 =
|
142 |
* [Fix] Fixed issue with iconv function
|
143 |
|
242 |
|
243 |
== Upgrade Notice ==
|
244 |
|
245 |
+
= 3.3.19 =
|
246 |
+
* [Fix] Fixed ignored caption font size
|
247 |
+
|
248 |
= 3.3.10 =
|
249 |
* Lite and paid versions merged in same repository
|
250 |
|