Version Description
- Lightbox now group images by gallery
Download this release
Release Info
Developer | GreenTreeLabs |
Plugin | Image Photo Gallery Final Tiles Grid |
Version | 2.0.12 |
Comparing to | |
See all releases |
Code changes from version 2.0.10 to 2.0.12
- FinalTilesGalleryLite.php +3 -3
- admin/add-gallery.php +4 -1
- admin/css/style.css +14 -0
- admin/edit-gallery.php +1 -2
- admin/images/icon-shortpixel.png +0 -0
- admin/images/tip.png +0 -0
- admin/include/edit-gallery.php +5 -0
- admin/overview.php +1 -1
- lib/gallery-class.php +3 -2
- readme.txt +10 -4
FinalTilesGalleryLite.php
CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Final Tiles Grid Gallery Lite
|
|
4 |
Plugin URI: http://codecanyon.net/item/final-tiles-gallery-for-wordpress/5189351?ref=GreenTreeLabs
|
5 |
Description: Wordpress Plugin for creating responsive image galleries. By: Green Tree Labs
|
6 |
Author: Green Tree Labs
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://codecanyon.net/user/GreenTreeLabs
|
9 |
*/
|
10 |
|
11 |
-
define("FTGLITEVERSION", "2.0.
|
12 |
define("PRO_CALL", "<span class='procall'>(<a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>available with PRO version</a>)</span>");
|
13 |
define("PRO_UNLOCK", "<a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>Add unlimited images with PRO version</a>");
|
14 |
|
@@ -1030,7 +1030,7 @@ if (!class_exists("FinalTiles_GalleryLite"))
|
|
1030 |
"lightbox" => array(
|
1031 |
"name" => "Lightbox & Links",
|
1032 |
"type" => "select",
|
1033 |
-
"description" => "Define here what happens when user click on the images.<br><strong>Buy a PRO license</strong> to unlock 5 more lightboxes.",
|
1034 |
"values" => array(
|
1035 |
"Link" => array("|No link", "direct|Direct link to image"),
|
1036 |
"Lightboxes" => array("lightbox2|Lightbox")
|
4 |
Plugin URI: http://codecanyon.net/item/final-tiles-gallery-for-wordpress/5189351?ref=GreenTreeLabs
|
5 |
Description: Wordpress Plugin for creating responsive image galleries. By: Green Tree Labs
|
6 |
Author: Green Tree Labs
|
7 |
+
Version: 2.0.12
|
8 |
Author URI: http://codecanyon.net/user/GreenTreeLabs
|
9 |
*/
|
10 |
|
11 |
+
define("FTGLITEVERSION", "2.0.12");
|
12 |
define("PRO_CALL", "<span class='procall'>(<a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>available with PRO version</a>)</span>");
|
13 |
define("PRO_UNLOCK", "<a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>Add unlimited images with PRO version</a>");
|
14 |
|
1030 |
"lightbox" => array(
|
1031 |
"name" => "Lightbox & Links",
|
1032 |
"type" => "select",
|
1033 |
+
"description" => "Define here what happens when user click on the images.<br><strong><a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>Buy a PRO license</a></strong> to unlock 5 more lightboxes.",
|
1034 |
"values" => array(
|
1035 |
"Link" => array("|No link", "direct|Direct link to image"),
|
1036 |
"Lightboxes" => array("lightbox2|Lightbox")
|
admin/add-gallery.php
CHANGED
@@ -109,7 +109,10 @@
|
|
109 |
<i class="mdi-content-add-circle-outline left"></i> Add max 20 images</a>
|
110 |
<br>
|
111 |
<label>You can add images now or later.</label>
|
112 |
-
<label
|
|
|
|
|
|
|
113 |
<div class="images list-group"></div>
|
114 |
</div>
|
115 |
</fieldset>
|
109 |
<i class="mdi-content-add-circle-outline left"></i> Add max 20 images</a>
|
110 |
<br>
|
111 |
<label>You can add images now or later.</label>
|
112 |
+
<label class="shortpixel">
|
113 |
+
<img src="<?php echo plugins_url('',__file__) ?>/images/icon-shortpixel.png" alt="ShortPixel">
|
114 |
+
<a target="_blank" href="https://shortpixel.com/wp/af/J4PFT4Z72393"><?php _e('We suggest you to use ShortPixel image optimization plugin for best SEO results.','modula-gallery')?></a></label>
|
115 |
+
<label class="tip"><img src="<?php echo plugins_url('',__file__) ?>/images/tip.png" alt="unlock"> <?php _e(PRO_UNLOCK) ?></label>
|
116 |
<div class="images list-group"></div>
|
117 |
</div>
|
118 |
</fieldset>
|
admin/css/style.css
CHANGED
@@ -59,7 +59,21 @@
|
|
59 |
margin-right: 0;
|
60 |
margin-top: 69px;
|
61 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
|
|
|
|
|
|
|
|
63 |
.card {
|
64 |
padding: 0;
|
65 |
min-width: 0;
|
59 |
margin-right: 0;
|
60 |
margin-top: 69px;
|
61 |
}
|
62 |
+
.shortpixel {
|
63 |
+
display: block;
|
64 |
+
}
|
65 |
+
.shortpixel img {
|
66 |
+
position:relative;
|
67 |
+
top:5px;
|
68 |
+
}
|
69 |
+
#images .tips {
|
70 |
+
margin-bottom: 15px;
|
71 |
+
}
|
72 |
|
73 |
+
.tip img {
|
74 |
+
position: relative;
|
75 |
+
top:3px;
|
76 |
+
}
|
77 |
.card {
|
78 |
padding: 0;
|
79 |
min-width: 0;
|
admin/edit-gallery.php
CHANGED
@@ -29,8 +29,7 @@
|
|
29 |
<?php endif ?>
|
30 |
|
31 |
<header class="gallery-hd">
|
32 |
-
<
|
33 |
-
|
34 |
<ul>
|
35 |
<li>
|
36 |
<a target="_blank" href="http://issuu.com/greentreelabs/docs/finaltilesgridgallery-documentation?e=17859916/13243836">Documentation</a> <a target="_blank" href="http://final-tiles-gallery.com/FinalTilesGridGallery-documentation.pdf">(download)</a>
|
29 |
<?php endif ?>
|
30 |
|
31 |
<header class="gallery-hd">
|
32 |
+
<input type="text" readonly style="font-family: Courier, monospace;" value="[FinalTilesGallery id='<?php print $gid ?>']">
|
|
|
33 |
<ul>
|
34 |
<li>
|
35 |
<a target="_blank" href="http://issuu.com/greentreelabs/docs/finaltilesgridgallery-documentation?e=17859916/13243836">Documentation</a> <a target="_blank" href="http://final-tiles-gallery.com/FinalTilesGridGallery-documentation.pdf">(download)</a>
|
admin/images/icon-shortpixel.png
ADDED
Binary file
|
admin/images/tip.png
ADDED
Binary file
|
admin/include/edit-gallery.php
CHANGED
@@ -211,6 +211,11 @@ $colors = array('indigo', 'blue', 'cyan', 'teal', 'purple' , 'green', 'lime', 'd
|
|
211 |
</div>
|
212 |
<div class="actions source-images source-panel">
|
213 |
<div class="row">
|
|
|
|
|
|
|
|
|
|
|
214 |
<label><?php _e('Image size','final-tiles-gallery')?></label>
|
215 |
|
216 |
<select class="current-image-size browser-default">
|
211 |
</div>
|
212 |
<div class="actions source-images source-panel">
|
213 |
<div class="row">
|
214 |
+
<div class="tips">
|
215 |
+
<span class="shortpixel">
|
216 |
+
<img src="<?php echo plugins_url('',__file__) ?>/../images/icon-shortpixel.png" alt="ShortPixel">
|
217 |
+
<a target="_blank" href="https://shortpixel.com/wp/af/J4PFT4Z72393"><?php _e('We suggest you to use ShortPixel image optimization plugin for best SEO results.','modula-gallery')?></a></span>
|
218 |
+
</div>
|
219 |
<label><?php _e('Image size','final-tiles-gallery')?></label>
|
220 |
|
221 |
<select class="current-image-size browser-default">
|
admin/overview.php
CHANGED
@@ -169,7 +169,7 @@
|
|
169 |
}
|
170 |
});
|
171 |
});
|
172 |
-
$("body").on("click", "#adv [href
|
173 |
docCookies.setItem('gtl', '1', Infinity);
|
174 |
$(this).parents("#adv").remove();
|
175 |
});
|
169 |
}
|
170 |
});
|
171 |
});
|
172 |
+
$("body").on("click", "#adv [href=\"#close\"]", function () {
|
173 |
docCookies.setItem('gtl', '1', Infinity);
|
174 |
$(this).parents("#adv").remove();
|
175 |
});
|
lib/gallery-class.php
CHANGED
@@ -42,7 +42,8 @@ if (!class_exists("FinalTilesGallery"))
|
|
42 |
{
|
43 |
if($image->attID == $att->ID)
|
44 |
{
|
45 |
-
|
|
|
46 |
break;
|
47 |
}
|
48 |
}
|
@@ -331,7 +332,7 @@ if (!class_exists("FinalTilesGallery"))
|
|
331 |
}
|
332 |
else
|
333 |
{
|
334 |
-
$html .= "<a $title=\"".htmlspecialchars($image->description, ENT_QUOTES)."\" ". ($gallery->lightbox == "lightbox2" && empty($image->link) ? "data-lightbox='gallery'" : "") ." rel='$rel' " . ($this->getTarget($image)) . " class='tile-inner " . $gallery->aClass . " " . ($this->getLightboxClass($image)) . "' " . $this->getLink($image) . " data-big='".$this->getBigImage($image)."'>\n";
|
335 |
|
336 |
$src= $gallery->sequentialImageLoading == "T" ? "" : $image->imagePath;
|
337 |
|
42 |
{
|
43 |
if($image->attID == $att->ID)
|
44 |
{
|
45 |
+
//$image->url = $upload_dir['baseurl'] .'/'. $meta['_wp_attached_file'][0];
|
46 |
+
$image->url = wp_get_attachment_image_url($att->ID, "large", false);
|
47 |
break;
|
48 |
}
|
49 |
}
|
332 |
}
|
333 |
else
|
334 |
{
|
335 |
+
$html .= "<a $title=\"".htmlspecialchars($image->description, ENT_QUOTES)."\" ". ($gallery->lightbox == "lightbox2" && empty($image->link) ? "data-lightbox='gallery-$rid'" : "") ." rel='$rel' " . ($this->getTarget($image)) . " class='tile-inner " . $gallery->aClass . " " . ($this->getLightboxClass($image)) . "' " . $this->getLink($image) . " data-big='".$this->getBigImage($image)."'>\n";
|
336 |
|
337 |
$src= $gallery->sequentialImageLoading == "T" ? "" : $image->imagePath;
|
338 |
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Final Tiles Grid Gallery ===
|
2 |
Contributors: GreenTreeLabs
|
3 |
Donate link: http://greentreelabs.net/blog/donate/
|
4 |
-
Tags:
|
5 |
Requires at least: 3.8.0
|
6 |
-
Tested up to: 4.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -29,7 +29,7 @@ mobile devices because it can use the hardware acceleration taking advantage of
|
|
29 |
This plugin is perfect for you if you need:
|
30 |
|
31 |
* a wedding album
|
32 |
-
* a
|
33 |
* a photography portfolio
|
34 |
* a products showcase
|
35 |
|
@@ -80,7 +80,7 @@ Under some circumstances the images have to be enlared a bit to avoid gaps. To a
|
|
80 |
|
81 |
= I want to use another lightbox instead of the provided one =
|
82 |
|
83 |
-
The PRO license bundles
|
84 |
|
85 |
= How can I get support? =
|
86 |
|
@@ -103,6 +103,12 @@ The PRO license bundles 6 different lightboxes. However you can use any other li
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 2.0.10 =
|
107 |
* Fixed CSS conflict with Lightbox2 and some themes
|
108 |
|
1 |
=== Final Tiles Grid Gallery ===
|
2 |
Contributors: GreenTreeLabs
|
3 |
Donate link: http://greentreelabs.net/blog/donate/
|
4 |
+
Tags: best gallery plugin, grid gallery, best gallery, best grid gallery, photo album, wedding album, wedding photo album, portfolio plugin, portfolio design gallery, portfolio grid gallery, wordpress portfolio, wordpress portfolio plugin, best wordpress portfolio plugin, add gallery, add image, add images, add photo, add picture, add pictures, album, art gallery, content gallery, easy gallery, fotoalbum, fotogalerie, free gallery, free images, free photo gallery, free slider, fullscreen gallery, fullscreen slider, galeri, galeria, galerie, galery, Galleria, galleries, gallery, gallery image, gallery lightbox, Gallery Plugin, gallery shortcode, gallery slider, gallery wordpress, grid, grid gallery, image, image album, image gallery, image gallery plugin, Image Rotator, image slider, images, images gallery, iphone gallery, jquery gallery, lightbox gallery, Lightbox slider, media gallery, multiple pictures, photo album, photo albums, photo gallery, photoalbum, photogallery, photoset, Picture Gallery, plugin gallery, responsive, responsive galleries, responsive gallery, responsive wordpress photo gallery, revolution, shortcode gallery, Simple gallery, slide, slideshow, slideshow gallery, thumbnail view, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugins
|
5 |
Requires at least: 3.8.0
|
6 |
+
Tested up to: 4.5.2
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
29 |
This plugin is perfect for you if you need:
|
30 |
|
31 |
* a wedding album
|
32 |
+
* a designer portfolio
|
33 |
* a photography portfolio
|
34 |
* a products showcase
|
35 |
|
80 |
|
81 |
= I want to use another lightbox instead of the provided one =
|
82 |
|
83 |
+
The PRO license bundles 7 different lightboxes. However you can use any other lightbox you want also with the Lite license. If you have installed a lightbox plugin then you just need to select "Direct link to image" in the "Lightbox" settings.
|
84 |
|
85 |
= How can I get support? =
|
86 |
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 2.0.12 =
|
107 |
+
* Lightbox now group images by gallery
|
108 |
+
|
109 |
+
= 2.0.11 =
|
110 |
+
* Added links to ShortPixel image optimizer
|
111 |
+
|
112 |
= 2.0.10 =
|
113 |
* Fixed CSS conflict with Lightbox2 and some themes
|
114 |
|