Linux 软件免费装
Banner图

OpenVault Image Zoom

开发者 dmeijide
openvault
更新时间 2026年11月26日 05:34
PHP版本: 7.2 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce elementor magnifier image zoom hover zoom

下载

1.5.0 1.6.0 1.4.1

详情介绍:

Add the lupa CSS class and, on hover, the image zooms in on the area under the cursor and follows it across the image. It is the same behaviour as the WooCommerce product zoom, without depending on WooCommerce or on the theme. "Lupa" is Spanish for magnifying glass. Usage HTML: Page builders: turn on the Hover zoom switch of the image widget. Any other builder or widget: put the class (lupa by default) in its CSS class field. The image stays inside the widget. Shortcode: [agrse_zoom id="123"] [agrse_zoom src="photo.jpg" large="photo-full.jpg" zoom="3" mode="lens"] Per-image attributes: data-lupa-src, data-agencia-rse-image-zoom, data-lupa-mode, data-lupa-lens. JavaScript API: AgrseZoom.refresh(), AgrseZoom.destroyAll() and the lupa:refresh event (document.dispatchEvent(new CustomEvent('lupa:refresh'))). PHP filters: agrse_zoom_should_enqueue, agrse_zoom_config. The plugin makes no external requests and stores no visitor data.

安装:

  1. Install the plugin from Plugins > Add New, or upload the agencia-rse-image-zoom folder to /wp-content/plugins/.
  2. Activate it.
  3. Add the lupa class to an image or to the block that wraps it.
  4. Optional: adjust the mode and zoom level in Settings > OpenVault Image Zoom.

屏幕截图:

  • Lens mode: a lens over the image and the zoomed area in a side panel.
  • Settings screen: selector, mode, cursor, zoom level, touch and WooCommerce options.
  • Elementor: the Hover zoom switch on the Image widget. The block editor, WPBakery and Beaver Builder have the same switch.

常见问题:

Does it need WooCommerce?

No. It works on any image. With WooCommerce you can also apply it to the product gallery and turn off the built-in zoom to avoid a double zoom.

Which image does it zoom into?

The one in data-lupa-src if present. Otherwise it picks the largest image in the srcset, and if there is none, the src.

How do I load it only on some pages?

Return false from the agrse_zoom_should_enqueue filter on the pages where you don't need it.

更新日志:

1.6.0 1.5.0 1.4.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0