WP Image Zoom - Version 1.38

Version Description

  • 11/20/2019
  • Fix: product image gallery was broken on the Brooklyn theme
  • Tweak: update the plugin's presentation video on Youtube
Download this release

Release Info

Developer diana_burduja
Plugin Icon 128x128 WP Image Zoom
Version 1.38
Comparing to
See all releases

Code changes from version 1.37 to 1.38

Files changed (2) hide show
  1. image-zoooom.php +11 -2
  2. readme.txt +7 -2
image-zoooom.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Image Zoom
4
  * Plugin URI: https://wordpress.org/plugins/wp-image-zoooom/
5
  * Description: Add zoom effect over the an image, whether it is an image in a post/page or the featured image of a product in a WooCommerce shop
6
- * Version: 1.37
7
  * Author: SilkyPress
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
@@ -27,7 +27,7 @@ if ( ! class_exists( 'ImageZoooom' ) ) :
27
  */
28
  final class ImageZoooom {
29
  public $plugin;
30
- public $version = '1.37';
31
  public $theme = '';
32
  protected static $_instance = null;
33
 
@@ -269,6 +269,8 @@ final class ImageZoooom {
269
  function wp_head_compatibilities() {
270
  $theme = get_template();
271
 
 
 
272
  // These themes add a wrapper on the whole page with index higher than the zoom
273
  $wrapper_themes = array(
274
  array(
@@ -339,6 +341,13 @@ final class ImageZoooom {
339
  </style>
340
  <?php }
341
 
 
 
 
 
 
 
 
342
  if ( defined('LP_PLUGIN_FILE')) {
343
  echo '<style type="text/css">body.content-item-only .learn-press-content-item-only { z-index: 990; } .single-lp_course #wpadminbar{z-index:900;}</style>' . PHP_EOL;
344
  }
3
  * Plugin Name: WP Image Zoom
4
  * Plugin URI: https://wordpress.org/plugins/wp-image-zoooom/
5
  * Description: Add zoom effect over the an image, whether it is an image in a post/page or the featured image of a product in a WooCommerce shop
6
+ * Version: 1.38
7
  * Author: SilkyPress
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
27
  */
28
  final class ImageZoooom {
29
  public $plugin;
30
+ public $version = '1.38';
31
  public $theme = '';
32
  protected static $_instance = null;
33
 
269
  function wp_head_compatibilities() {
270
  $theme = get_template();
271
 
272
+ $opt = $this->get_option_general();
273
+
274
  // These themes add a wrapper on the whole page with index higher than the zoom
275
  $wrapper_themes = array(
276
  array(
341
  </style>
342
  <?php }
343
 
344
+ if ( $this->theme( 'brooklyn' ) && $opt['enable_woocommerce'] && class_exists('woocommerce') && version_compare( WC_VERSION, '3.0', '>') ) { ?>
345
+ <style type="text/css">
346
+ .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: start; }
347
+ </style>
348
+ <?php }
349
+
350
+
351
  if ( defined('LP_PLUGIN_FILE')) {
352
  echo '<style type="text/css">body.content-item-only .learn-press-content-item-only { z-index: 990; } .single-lp_course #wpadminbar{z-index:900;}</style>' . PHP_EOL;
353
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Email: diana@burduja.eu
5
  Tags: e-commerce, featured image, hover over image zoom, image, image zoom, image zoom plugin, image magnification, image magnifier, jquery picture zoom, magnifier, magnify image, magnifying glass, mouse over image zoom, panorama, picture zoom, product image, product zoom, product magnification, product magnifier, responsive, woocommerce product zoom, woocommerce zoom, woocommerce magnifying glass, zoom, zoom image, zoom plugin, woocommerce image zoom, woocommerce product image zoom, woocommerce zoom magnifier
6
  Requires at least: 3.0.1
7
  Tested up to: 5.3
8
- Stable tag: 1.37
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
@@ -20,7 +20,7 @@ WP Image Zoom is a robust, modern and very configurable image zoom plugin. It al
20
 
21
  Your visitors will be able to see the beautiful details of your images. This will improve your users' experience and hopefully also your revenue.
22
 
23
- [youtube https://www.youtube.com/watch?v=qph190mQaNI]
24
 
25
  = Features =
26
 
@@ -152,6 +152,11 @@ Alternatively you can upgrade to the Pro version, as there the zoom lens is buil
152
 
153
  == Changelog ==
154
 
 
 
 
 
 
155
  = 1.37 =
156
  * 11/05/2019
157
  * Declare compatibility with WordPress 5.3 and WooCommerce 3.8
5
  Tags: e-commerce, featured image, hover over image zoom, image, image zoom, image zoom plugin, image magnification, image magnifier, jquery picture zoom, magnifier, magnify image, magnifying glass, mouse over image zoom, panorama, picture zoom, product image, product zoom, product magnification, product magnifier, responsive, woocommerce product zoom, woocommerce zoom, woocommerce magnifying glass, zoom, zoom image, zoom plugin, woocommerce image zoom, woocommerce product image zoom, woocommerce zoom magnifier
6
  Requires at least: 3.0.1
7
  Tested up to: 5.3
8
+ Stable tag: 1.38
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
20
 
21
  Your visitors will be able to see the beautiful details of your images. This will improve your users' experience and hopefully also your revenue.
22
 
23
+ [youtube https://www.youtube.com/watch?v=JSkcItXaZK4]
24
 
25
  = Features =
26
 
152
 
153
  == Changelog ==
154
 
155
+ = 1.38 =
156
+ * 11/20/2019
157
+ * Fix: product image gallery was broken on the Brooklyn theme
158
+ * Tweak: update the plugin's presentation video on Youtube
159
+
160
  = 1.37 =
161
  * 11/05/2019
162
  * Declare compatibility with WordPress 5.3 and WooCommerce 3.8