Easy Image Gallery - Version 1.0.2

Version Description

  • Tweak: Improved loading of scripts
Download this release

Release Info

Developer sumobi
Plugin Icon 128x128 Easy Image Gallery
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

Files changed (3) hide show
  1. easy-image-gallery.php +1 -1
  2. includes/scripts.php +2 -2
  3. readme.txt +16 -2
easy-image-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Easy Image Gallery
4
  Plugin URI: http://sumobi.com/shop/easy-image-gallery/
5
  Description: An easy to use image gallery with drag & drop re-ordering
6
- Version: 1.0.1
7
  Author: Andrew Munro, Sumobi
8
  Author URI: http://sumobi.com
9
  License: GPL-2.0+
3
  Plugin Name: Easy Image Gallery
4
  Plugin URI: http://sumobi.com/shop/easy-image-gallery/
5
  Description: An easy to use image gallery with drag & drop re-ordering
6
+ Version: 1.0.2
7
  Author: Andrew Munro, Sumobi
8
  Author URI: http://sumobi.com
9
  License: GPL-2.0+
includes/scripts.php CHANGED
@@ -37,8 +37,8 @@ function easy_image_gallery_scripts() {
37
  if ( easy_image_gallery_is_gallery() )
38
  wp_enqueue_style( 'easy-image-gallery' );
39
 
40
- // only load the JS if gallery images are linked or the featured image is linked
41
- if ( easy_image_gallery_has_linked_images() ) {
42
 
43
  $lightbox = easy_image_gallery_get_lightbox();
44
 
37
  if ( easy_image_gallery_is_gallery() )
38
  wp_enqueue_style( 'easy-image-gallery' );
39
 
40
+ // only load the JS if there are gallery images, they are linked, and we're on a singular page
41
+ if ( easy_image_gallery_has_linked_images() && easy_image_gallery_is_gallery() && is_singular() ) {
42
 
43
  $lightbox = easy_image_gallery_get_lightbox();
44
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: image gallery, image, galleries, simple, easy, sumobi
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
- Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ Easily create an image gallery on your posts, pages or any custom post type
12
 
13
  == Description ==
14
 
15
- There comes a time when you need more flexibility than the standard WP gallery offers, That's when this plugin steps in. This plugin's goal to to make it easy to create a gallery and place it wherever you need. A perfect example would be to create a product gallery for an ecommerce website and then have the flexibility to position it where you wanted to match your theme's design.
16
 
17
  This plugin allows you to easily create an image gallery on any post, page or custom post type. Images are can be added and previewed from the metabox. Images can be re-ordered by drag and drop.
18
 
@@ -90,8 +90,19 @@ If you use the template tag above, you will need remove the default content filt
90
  1. The front-end of the website showing the gallery which has been automatically appended to the content
91
  1. Clicking on an image launches the lightbox. Here it's shown with prettyPhoto
92
 
 
 
 
 
 
 
 
93
  == Changelog ==
94
 
 
 
 
 
95
  = 1.0.1 =
96
 
97
  * Tweak: Images now link to the "large" image size by default, rather than the original image
@@ -105,5 +116,8 @@ If you use the template tag above, you will need remove the default content filt
105
 
106
  == Upgrade Notice ==
107
 
 
 
 
108
  = 1.0.1 =
109
  More consistent styling with WordPress' Media Manager
4
  Tags: image gallery, image, galleries, simple, easy, sumobi
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
+ Stable tag: 1.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ There comes a time when you need more flexibility than the standard WP gallery offers, That's when this plugin steps in. This plugin's goal is to make it easy to create a gallery and place it wherever you need. A perfect example would be to create a product gallery for an ecommerce website and then have the flexibility to position it where you wanted to match your theme's design.
16
 
17
  This plugin allows you to easily create an image gallery on any post, page or custom post type. Images are can be added and previewed from the metabox. Images can be re-ordered by drag and drop.
18
 
90
  1. The front-end of the website showing the gallery which has been automatically appended to the content
91
  1. Clicking on an image launches the lightbox. Here it's shown with prettyPhoto
92
 
93
+ == Frequently Asked Questions ==
94
+
95
+ = How can I add another Lightbox script to the plugin? =
96
+
97
+ [Read This](http://sumobi.com/how-to-add-any-lightbox-script-to-the-easy-image-gallery-plugin "How to add another lightbox script to Easy Image Gallery")
98
+
99
+
100
  == Changelog ==
101
 
102
+ = 1.0.2 =
103
+
104
+ * Tweak: Improved loading of scripts
105
+
106
  = 1.0.1 =
107
 
108
  * Tweak: Images now link to the "large" image size by default, rather than the original image
116
 
117
  == Upgrade Notice ==
118
 
119
+ = 1.0.2 =
120
+ Improved loading of scripts
121
+
122
  = 1.0.1 =
123
  More consistent styling with WordPress' Media Manager