WP Image Zoom - Version 1.44

Version Description

  • 09/26/2020
  • Disable the Images Lazy Loading functionality from the Litespeed Cache plugin
  • Warning for the Additional Variation Images Gallery for WooCommerce plugin
Download this release

Release Info

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

Code changes from version 1.43 to 1.44

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.43
7
  * Author: SilkyPress
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
@@ -12,7 +12,7 @@
12
  * Domain Path: /languages/
13
  *
14
  * WC requires at least: 2.3.0
15
- * WC tested up to: 4.4
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
@@ -26,7 +26,7 @@ if ( ! class_exists( 'ImageZoooom' ) ) :
26
  * @class ImageZoooom
27
  */
28
  final class ImageZoooom {
29
- public $version = '1.43';
30
  public $theme = '';
31
  protected static $_instance = null;
32
 
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.44
7
  * Author: SilkyPress
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
12
  * Domain Path: /languages/
13
  *
14
  * WC requires at least: 2.3.0
15
+ * WC tested up to: 4.8
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
26
  * @class ImageZoooom
27
  */
28
  final class ImageZoooom {
29
+ public $version = '1.44';
30
  public $theme = '';
31
  protected static $_instance = null;
32
 
includes/admin-side.php CHANGED
@@ -266,6 +266,7 @@ class ImageZoooom_Admin {
266
  'iz_dismiss_avada_woo_gallery',
267
  'iz_dismiss_flatsome_theme',
268
  'iz_dismiss_smart_image_resize',
 
269
  );
270
 
271
  $w = new SilkyPress_Warnings( $allowed_actions );
@@ -345,10 +346,21 @@ class ImageZoooom_Admin {
345
  $slick_url = 'http://kenwheeler.github.io/slick/';
346
  $variation_plugin_url = 'https://wordpress.org/plugins/woo-variation-gallery/';
347
  $pro_url = 'https://www.silkypress.com/wp-image-zoom-plugin/?utm_source=wordpress&utm_campaign=iz_free&utm_medium=banner';
348
- $message = sprintf( __( 'The <a href="%1$s">Additional Variation Images Gallery for WooCommerce</a> plugin replaces the default WooCommerce gallery with a <a href="%2$s">Slick carousel</a> gallery. Unfortunately the <b>WP Image Zoom</b> plugin will not work with the <b>Slick carousel</b> gallery. You can try the zoom plugin with the default WooCommerce gallery by deactivating the <b>Additional Variation Images Gallery for WooCommerce</b> plugin. Alternatively, you can upgrade to the <a href="%3$s">WP Image Zoom Pro</a> version, which is compatible with the <b>Slick carousel</b> gallery, therefore compatible with the <b>Additional Variation Images Gallery for WooCommerce</b> plugin.' ), $variation_plugin_url, $slick_url, $pro_url );
349
  $w->add_notice( 'iz_dismiss_woo_variation', $message );
350
  }
351
 
 
 
 
 
 
 
 
 
 
 
 
352
  $w->show_warnings();
353
  }
354
 
266
  'iz_dismiss_avada_woo_gallery',
267
  'iz_dismiss_flatsome_theme',
268
  'iz_dismiss_smart_image_resize',
269
+ 'iz_dismiss_gallery_video',
270
  );
271
 
272
  $w = new SilkyPress_Warnings( $allowed_actions );
346
  $slick_url = 'http://kenwheeler.github.io/slick/';
347
  $variation_plugin_url = 'https://wordpress.org/plugins/woo-variation-gallery/';
348
  $pro_url = 'https://www.silkypress.com/wp-image-zoom-plugin/?utm_source=wordpress&utm_campaign=iz_free&utm_medium=banner';
349
+ $message = sprintf( __( 'The <a href="%1$s" target="_blank">Additional Variation Images Gallery for WooCommerce</a> plugin replaces the default WooCommerce gallery with a <a href="%2$s" target="_blank">Slick carousel</a> gallery. Unfortunately the <b>WP Image Zoom</b> plugin will not work with the <b>Slick carousel</b> gallery. You can try the zoom plugin with the default WooCommerce gallery by deactivating the <b>Additional Variation Images Gallery for WooCommerce</b> plugin. Alternatively, you can upgrade to the <a href="%3$s">WP Image Zoom Pro</a> version, which is compatible with the <b>Slick carousel</b> gallery, therefore compatible with the <b>Additional Variation Images Gallery for WooCommerce</b> plugin.' ), $variation_plugin_url, $slick_url, $pro_url );
350
  $w->add_notice( 'iz_dismiss_woo_variation', $message );
351
  }
352
 
353
+ // Warning about Additional Variation Images Gallery for WooCommerce plugin.
354
+ if ( is_plugin_active( 'product-video-gallery-slider-for-woocommerce/product-video-gallery-slider-for-woocommerce.php' ) && $w->is_url( 'zoooom_settings' ) ) {
355
+ $slick_url = 'http://kenwheeler.github.io/slick/';
356
+ $gallery_plugin_url = 'https://wordpress.org/plugins/product-video-gallery-slider-for-woocommerce/';
357
+ $pro_url = 'https://www.silkypress.com/wp-image-zoom-plugin/?utm_source=wordpress&utm_campaign=iz_free&utm_medium=banner';
358
+ $message = sprintf( __( 'The <a href="%1$s" target="_blank">WooCommerce Product Video Gallery</a> plugin replaces the default WooCommerce gallery with a <a href="%2$s" target="_blank">Slick carousel</a> gallery. Unfortunately the <b>WP Image Zoom</b> plugin will not work with the <b>Slick carousel</b> gallery. You can try the zoom plugin with the default WooCommerce gallery by deactivating the <b>WooCommerce Product Video Gallery</b> plugin. Alternatively, you can upgrade to the <a href="%3$s">WP Image Zoom Pro</a> version, which is compatible with the <b>Slick carousel</b> gallery, therefore compatible with the <b>WooCommerce Product Video Gallery</b> plugin.' ), $gallery_plugin_url, $slick_url, $pro_url );
359
+ $w->add_notice( 'iz_dismiss_gallery_video', $message );
360
+ }
361
+
362
+
363
+
364
  $w->show_warnings();
365
  }
366
 
includes/class-iz-compatibilities.php CHANGED
@@ -184,6 +184,12 @@ class IZ_Compatibilities {
184
  remove_action( 'woocommerce_product_thumbnails', 'avia_close_div', 21 );
185
  remove_filter( 'woocommerce_single_product_image_thumbnail_html', 'avia_woocommerce_gallery_thumbnail_description', 10, 4 );
186
  }
 
 
 
 
 
 
187
  }
188
 
189
 
184
  remove_action( 'woocommerce_product_thumbnails', 'avia_close_div', 21 );
185
  remove_filter( 'woocommerce_single_product_image_thumbnail_html', 'avia_woocommerce_gallery_thumbnail_description', 10, 4 );
186
  }
187
+
188
+
189
+ // Disable the Lazy Loading functionality for the LiteSpeed Cache plugin.
190
+ if ( defined( 'LSWCP_PLUGIN_URL' ) ) {
191
+ do_action( 'litespeed_conf_force', 'media-lazy', false );
192
+ }
193
  }
194
 
195
 
includes/right_columns.php CHANGED
@@ -44,7 +44,7 @@ $offer_link = 'https://www.silkypress.com/wp-image-zoom-plugin/?a=' . iz_convert
44
  <?php if ( $show_discount ) : ?>
45
  <div class="panel main_container">
46
  <div class="container_title">
47
- <h3><img src="<?php echo site_url(); ?>/wp-content/plugins/wp-image-zoooom/assets/images/icon.svg" /> <?php _e( 'WP Image Zoooom Pro', 'wp-image-zoooom' ); ?></h3>
48
  </div>
49
  <div class="metabox-holder discount" style="text-align: center;">
50
 
44
  <?php if ( $show_discount ) : ?>
45
  <div class="panel main_container">
46
  <div class="container_title">
47
+ <h3><img src="<?php echo site_url(); ?>/wp-content/plugins/wp-image-zoooom/assets/images/icon.svg" /> <?php _e( 'WP Image Zoom Pro', 'wp-image-zoooom' ); ?></h3>
48
  </div>
49
  <div class="metabox-holder discount" style="text-align: center;">
50
 
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.5
8
- Stable tag: 1.43
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
@@ -154,6 +154,11 @@ Alternatively you can upgrade to the Pro version, as there the zoom lens is buil
154
 
155
  == Changelog ==
156
 
 
 
 
 
 
157
  = 1.43 =
158
  * 08/12/2020
159
  * Test with WordPress 5.5, WooCommerce 4.4 and jQuery 3.5.1
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.5
8
+ Stable tag: 1.44
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
154
 
155
  == Changelog ==
156
 
157
+ = 1.44 =
158
+ * 09/26/2020
159
+ * Disable the Images Lazy Loading functionality from the Litespeed Cache plugin
160
+ * Warning for the Additional Variation Images Gallery for WooCommerce plugin
161
+
162
  = 1.43 =
163
  * 08/12/2020
164
  * Test with WordPress 5.5, WooCommerce 4.4 and jQuery 3.5.1