Version Description
Download this release
Release Info
Developer | GreenTreeLabs |
Plugin | Gallery – Photo Gallery – Image Gallery |
Version | 1.1.12 |
Comparing to | |
See all releases |
Code changes from version 1.1.11 to 1.1.12
- Modula.php +1 -1
- README.txt +4 -1
- admin/add-gallery.php +3 -0
- admin/css/style.css +19 -13
- admin/edit-gallery.php +29 -22
- admin/images/icon-shortpixel.png +0 -0
- admin/images/tip.png +0 -0
Modula.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Modula Grid Gallery Lite
|
|
4 |
Plugin URI: http://modula.greentreelabs.net
|
5 |
Description: The Best Wordpress Gallery.
|
6 |
Author: GreenTreeLabs
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://modula.greentreelabs.net
|
9 |
*/
|
10 |
|
4 |
Plugin URI: http://modula.greentreelabs.net
|
5 |
Description: The Best Wordpress Gallery.
|
6 |
Author: GreenTreeLabs
|
7 |
+
Version: 1.0.12
|
8 |
Author URI: http://modula.greentreelabs.net
|
9 |
*/
|
10 |
|
README.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: GreenTreeLabs
|
3 |
Tags: best gallery, best gallery plugin, best responsive gallery, best responsive wordpress gallery, best wordpress gallery, best wordpress gallery plugin, best wp gallery, design portfolio, fullscreen, gallery, Gallery Plugin, image gallery, image gallery plugin, Image Rotator, javascript gallery, javascript rotator, jquery gallery, jquery rotator, media uploader, photo gallery, photo rotator, Picture Gallery, portfolio, responsive, responsive galleries, responsive gallery, responsive gallery plugin, responsive image gallery, responsive image gallery plugin, responsive rotator, responsive slideshow, responsive slideshow plugin, rotator, shortcode, slideshow, slideshow plugin, template tag, wordpress galleries, wordpress gallery, wordpress gallery plugin
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -83,6 +83,9 @@ The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'M
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
86 |
= 1.0.11 =
|
87 |
* Minor bug fix: fixed missing preview effect image
|
88 |
|
2 |
Contributors: GreenTreeLabs
|
3 |
Tags: best gallery, best gallery plugin, best responsive gallery, best responsive wordpress gallery, best wordpress gallery, best wordpress gallery plugin, best wp gallery, design portfolio, fullscreen, gallery, Gallery Plugin, image gallery, image gallery plugin, Image Rotator, javascript gallery, javascript rotator, jquery gallery, jquery rotator, media uploader, photo gallery, photo rotator, Picture Gallery, portfolio, responsive, responsive galleries, responsive gallery, responsive gallery plugin, responsive image gallery, responsive image gallery plugin, responsive rotator, responsive slideshow, responsive slideshow plugin, rotator, shortcode, slideshow, slideshow plugin, template tag, wordpress galleries, wordpress gallery, wordpress gallery plugin
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.5.1
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 1.0.12 =
|
87 |
+
* Added link to ShortPixel plugin for image optimization
|
88 |
+
|
89 |
= 1.0.11 =
|
90 |
* Minor bug fix: fixed missing preview effect image
|
91 |
|
admin/add-gallery.php
CHANGED
@@ -76,6 +76,9 @@
|
|
76 |
<i class="mdi mdi-plus left"></i> <?php _e('Add images','modula-gallery')?></a>
|
77 |
<br>
|
78 |
<label><?php _e('You can add images now or later.','modula-gallery')?></label>
|
|
|
|
|
|
|
79 |
<div class="images list-group"></div>
|
80 |
</div>
|
81 |
</fieldset>
|
76 |
<i class="mdi mdi-plus left"></i> <?php _e('Add images','modula-gallery')?></a>
|
77 |
<br>
|
78 |
<label><?php _e('You can add images now or later.','modula-gallery')?></label>
|
79 |
+
<label class="shortpixel">
|
80 |
+
<img src="<?php echo plugins_url('',__file__) ?>/images/icon-shortpixel.png" alt="ShortPixel">
|
81 |
+
<a target="_blank" href="https://shortpixel.com/h/af/N8LKGGT72393"><?php _e('We suggest you to use ShortPixel image optimization plugin for best SEO results.','modula-gallery')?></a></label>
|
82 |
<div class="images list-group"></div>
|
83 |
</div>
|
84 |
</fieldset>
|
admin/css/style.css
CHANGED
@@ -148,7 +148,13 @@ body
|
|
148 |
width: 80px;
|
149 |
float:left;
|
150 |
}
|
151 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
.dropdown-menu
|
153 |
{
|
154 |
width: 100%;
|
@@ -916,19 +922,19 @@ body
|
|
916 |
color: black;
|
917 |
}
|
918 |
#images .tips {
|
919 |
-
|
920 |
-
background: #343531;
|
921 |
-
border:1px solid #111;
|
922 |
-
margin-top: 2px;
|
923 |
-
color: #fff;
|
924 |
}
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
|
|
|
|
|
|
|
|
932 |
}
|
933 |
|
934 |
.clearfix:after {
|
148 |
width: 80px;
|
149 |
float:left;
|
150 |
}
|
151 |
+
.shortpixel {
|
152 |
+
display: block;
|
153 |
+
}
|
154 |
+
.shortpixel img {
|
155 |
+
position:relative;
|
156 |
+
top:5px;
|
157 |
+
}
|
158 |
.dropdown-menu
|
159 |
{
|
160 |
width: 100%;
|
922 |
color: black;
|
923 |
}
|
924 |
#images .tips {
|
925 |
+
margin-bottom: 15px;
|
|
|
|
|
|
|
|
|
926 |
}
|
927 |
+
#images .tip {
|
928 |
+
background: url('../images/tip.png') no-repeat;
|
929 |
+
text-indent: 21px;
|
930 |
+
display: block;
|
931 |
+
margin: 0 0 0 15px;
|
932 |
+
}
|
933 |
+
#images .shortpixel {
|
934 |
+
|
935 |
+
}
|
936 |
+
#images .btn.action {
|
937 |
+
margin-bottom: 0;
|
938 |
}
|
939 |
|
940 |
.clearfix:after {
|
admin/edit-gallery.php
CHANGED
@@ -259,6 +259,11 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die(_e('Y
|
|
259 |
<div class="collapsible-body white lighten-5">
|
260 |
<div class="image-size-section">
|
261 |
<div>
|
|
|
|
|
|
|
|
|
|
|
262 |
<label class="label-text"><?php _e('Image size','Modula-gallery')?></label>
|
263 |
<select class="current-image-size browser-default">
|
264 |
<?php
|
@@ -273,12 +278,11 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die(_e('Y
|
|
273 |
|
274 |
<div>
|
275 |
|
|
|
|
|
|
|
276 |
<div class="actions row">
|
277 |
-
<a href="#" class="open-media-panel waves-effect button-bg waves-light btn action"><i class="mdi-image-photo"></i> <?php _e('Add images','Modula-gallery')?></a>
|
278 |
-
</div>
|
279 |
-
<div class="row">
|
280 |
-
<span class="tip">For multiple selections: Click+CTRL.</span>
|
281 |
-
<span class="tip">Drag images to change order.</span>
|
282 |
</div>
|
283 |
|
284 |
<div class="bulk row">
|
@@ -294,18 +298,21 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die(_e('Y
|
|
294 |
<strong></strong>
|
295 |
<p class="text"></p>
|
296 |
<p class="buttons">
|
297 |
-
<a class="btn deep-orange darken-2 mrm cancel" href="#"
|
298 |
-
<a class="btn green mrm proceed firm" href="#"
|
299 |
</p>
|
300 |
</div>
|
301 |
</div>
|
302 |
-
|
|
|
|
|
|
|
303 |
<div id="image-list"></div>
|
304 |
|
305 |
<!-- image panel -->
|
306 |
<div id="image-panel-model" style="display:none">
|
307 |
<a href="#" class="close" title="Close">X</a>
|
308 |
-
<h4> Edit Image </h4>
|
309 |
<div class="clearfix">
|
310 |
<div class="left">
|
311 |
<div class="figure"></div>
|
@@ -313,38 +320,38 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die(_e('Y
|
|
313 |
</div>
|
314 |
<div class="editimage-right" >
|
315 |
<div class="field">
|
316 |
-
<label
|
317 |
<div class="text">
|
318 |
<textarea id="item-title" name="title"></textarea>
|
319 |
</div>
|
320 |
-
<label
|
321 |
<div class="text">
|
322 |
<textarea id="item-description" name="description"></textarea>
|
323 |
</div>
|
324 |
</div>
|
325 |
|
326 |
<div class="field">
|
327 |
-
<label for="alignment"
|
328 |
<select name="halign">
|
329 |
-
<option
|
330 |
-
<option selected
|
331 |
-
<option
|
332 |
</select>
|
333 |
<select name="valign">
|
334 |
-
<option
|
335 |
-
<option selected
|
336 |
-
<option
|
337 |
</select>
|
338 |
</div>
|
339 |
<div class="field">
|
340 |
-
<label
|
341 |
<div class="text">
|
342 |
<!-- <input type="text" name="link" value="" class="text-input row"> -->
|
343 |
<textarea id="item-link" name="link"></textarea>
|
344 |
<select name="target">
|
345 |
-
<option value=""
|
346 |
-
<option value="_self"
|
347 |
-
<option value="_blank"
|
348 |
</select>
|
349 |
</div>
|
350 |
</div>
|
259 |
<div class="collapsible-body white lighten-5">
|
260 |
<div class="image-size-section">
|
261 |
<div>
|
262 |
+
<div class="tips">
|
263 |
+
<span class="shortpixel">
|
264 |
+
<img src="<?php echo plugins_url('',__file__) ?>/images/icon-shortpixel.png" alt="ShortPixel">
|
265 |
+
<a target="_blank" href="https://shortpixel.com/h/af/N8LKGGT72393"><?php _e('We suggest you to use ShortPixel image optimization plugin for best SEO results.','modula-gallery')?></a></span>
|
266 |
+
</div>
|
267 |
<label class="label-text"><?php _e('Image size','Modula-gallery')?></label>
|
268 |
<select class="current-image-size browser-default">
|
269 |
<?php
|
278 |
|
279 |
<div>
|
280 |
|
281 |
+
<div class="">
|
282 |
+
<span class="tip">For multiple selections: Click+CTRL.</span>
|
283 |
+
</div>
|
284 |
<div class="actions row">
|
285 |
+
<a href="#" class="open-media-panel waves-effect button-bg waves-light btn action"><i class="mdi-image-photo"></i> <?php _e('Add images','Modula-gallery')?></a>
|
|
|
|
|
|
|
|
|
286 |
</div>
|
287 |
|
288 |
<div class="bulk row">
|
298 |
<strong></strong>
|
299 |
<p class="text"></p>
|
300 |
<p class="buttons">
|
301 |
+
<a class="btn deep-orange darken-2 mrm cancel" href="#" ><?php _e('Cancel','modula-gallery')?></a>
|
302 |
+
<a class="btn green mrm proceed firm" href="#"><?php _e('Proceed','modula-gallery')?></a>
|
303 |
</p>
|
304 |
</div>
|
305 |
</div>
|
306 |
+
<div class="row">
|
307 |
+
<span class="tip"><?php _e('Drag images to change order.','modula-gallery')?></span>
|
308 |
+
</div>
|
309 |
+
|
310 |
<div id="image-list"></div>
|
311 |
|
312 |
<!-- image panel -->
|
313 |
<div id="image-panel-model" style="display:none">
|
314 |
<a href="#" class="close" title="Close">X</a>
|
315 |
+
<h4> <?php _e('Edit Image','modula-gallery')?> </h4>
|
316 |
<div class="clearfix">
|
317 |
<div class="left">
|
318 |
<div class="figure"></div>
|
320 |
</div>
|
321 |
<div class="editimage-right" >
|
322 |
<div class="field">
|
323 |
+
<label><?php _e('Title','modula-gallery')?></label>
|
324 |
<div class="text">
|
325 |
<textarea id="item-title" name="title"></textarea>
|
326 |
</div>
|
327 |
+
<label><?php _e('Caption','modula-gallery')?></label>
|
328 |
<div class="text">
|
329 |
<textarea id="item-description" name="description"></textarea>
|
330 |
</div>
|
331 |
</div>
|
332 |
|
333 |
<div class="field">
|
334 |
+
<label for="alignment"><?php _e('Alignment','modula-gallery')?></label>
|
335 |
<select name="halign">
|
336 |
+
<option><?php _e('left','modula-gallery')?></option>
|
337 |
+
<option selected><?php _e('center','modula-gallery')?></option>
|
338 |
+
<option><?php _e('right','modula-gallery')?></option>
|
339 |
</select>
|
340 |
<select name="valign">
|
341 |
+
<option><?php _e('top','modula-gallery')?></option>
|
342 |
+
<option selected><?php _e('middle','modula-gallery')?></option>
|
343 |
+
<option><?php _e('bottom','modula-gallery')?></option>
|
344 |
</select>
|
345 |
</div>
|
346 |
<div class="field">
|
347 |
+
<label><?php _e('Link','modula-gallery')?></label>
|
348 |
<div class="text">
|
349 |
<!-- <input type="text" name="link" value="" class="text-input row"> -->
|
350 |
<textarea id="item-link" name="link"></textarea>
|
351 |
<select name="target">
|
352 |
+
<option value=""><?php _e('Default target','modula-gallery')?></option>
|
353 |
+
<option value="_self"><?php _e('Open in same page','modula-gallery')?></option>
|
354 |
+
<option value="_blank"><?php _e('Open in _blank','modula-gallery')?></option>
|
355 |
</select>
|
356 |
</div>
|
357 |
</div>
|
admin/images/icon-shortpixel.png
ADDED
Binary file
|
admin/images/tip.png
ADDED
Binary file
|