| 开发者 | tayebsaeed |
|---|---|
| 更新时间 | 2026年11月14日 23:34 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
45-design-mouse-wheel-image-zoom directory under /wp-content/plugins/.No. It enlarges the image already displayed by the browser; it does not sharpen, remove blur, upscale with AI or create missing detail. It does not automatically fetch the original-resolution attachment. Sharpness depends on the actual image source, its focus, pixel dimensions and compression.
Choose a sharp image with fine detail and enough pixels for its displayed size and intended zoom. For detailed photos, 2000–3000 pixels on the long edge is a useful starting point, not a required minimum or a quality guarantee. Pixel dimensions matter here, not the print DPI setting. As a rule of thumb for each axis: source pixels ≈ displayed CSS pixels × zoom factor × device pixel ratio. For example, an image displayed 800 pixels wide needs roughly 1600 source pixels for 2× zoom on a standard-density screen, or 3200 on a 2×-density screen. This is a pixel-budget estimate, not a sharpness guarantee; raising maximum zoom cannot create source detail. Use a good-quality, web-optimized file and balance detail against loading time. WordPress or a gallery may serve a thumbnail or smaller responsive source even when the uploaded original is large. Select a suitable image size in the editor/gallery and check the image actually loaded in the browser; this plugin scales that source rather than switching to the original. Preview the intended zoom on desktop and mobile.
Yes. Mouse-wheel zoom uses the pointer position as its focal point, with a fresh origin after layout movement. Page-image translation is constrained by its clipping frame. Resizing the viewport resets active zoom to restore responsive layout.
The plugin includes two-finger pinch handling for compatible touch devices. Single-finger scrolling remains native on unzoomed images. Once an image is zoomed, enabled touch/pan interaction handles the gesture. Browser and lightbox compatibility must be tested on your own devices.
Yes, when panning is enabled. Drag the image or use arrow keys on a focused eligible image or its single-image link. Page images are constrained to their frame; lightbox layout and gestures remain dependent on the lightbox.
Eligible standalone images become keyboard-focusable, and single-image links use their existing focus target and show instructions on focus. Use + or - to zoom, arrows to pan when enabled, and Escape to reset. Reset zoom is also a keyboard-operable button when enabled. Single-image links keep their normal Enter behavior and do not gain an additional tab stop. Images inside buttons, editable content or links containing multiple images retain the host control's native behavior. This does not certify complete accessibility of third-party galleries.
Yes. Choose “Only images individually marked for zoom”. For attachment output that uses WordPress's image-attributes filter, enable the image's zoom field in the Media Library. The output must retain data-mwi-attachment-zoom="1".
The WordPress attachment-image function and gallery shortcode retain this marker in tested WordPress output. Saved Gutenberg/classic image HTML and third-party renderers may omit it. For individual Gutenberg Image blocks, open block Settings → Advanced → Additional CSS class(es), add mwi-zoom (keep existing classes separated by spaces), and update the page. The class is supported on an individual figure.wp-block-image containing one image; applying it to a Group or Gallery wrapper does not select all its images. For other saved images, add mwi-zoom to the image class or add data-mwi-zoom. Changing attachment metadata alone does not rewrite saved content.
Apply mwi-no-zoom or data-mwi-no-zoom to the image or its container. Common .custom-logo and .avatar containers are excluded. Images with a natural width or height below 80 pixels are not eligible.
Yes. Set maximum zoom from 1.5× to 10× and adjust the wheel step in Settings. Enlarging an image does not add source detail or automatically fetch the original-resolution attachment.
Ordinary wheel gestures over eligible images control image zoom. At a zoom limit the gesture is left to the page. Ctrl/Command wheel gestures are left to the browser. Outside eligible images, scrolling remains native.
Not necessarily. Different tools intercept wheel, pointer, and touch events differently. Test the gallery you use and its lightbox inclusion setting. The plugin does not create a lightbox.
Arabic interface translations and a responsive RTL Overview are included. The site's WordPress/user language determines the admin language. A focus hint explains the keyboard shortcuts in the front end's active language.
The current source performs zoom in the browser on images your site supplies and includes no external zoom-service or analytics integration. Company/developer website links are provided in the admin Overview. Its optional YouTube introduction player loads only after Play is pressed; see Optional Overview video above. Other site components have their own privacy behavior.
Confirm that zoom and the intended input method are enabled, the image is loaded and eligible, and the selected-images or exclusion rules allow it. Compare a normal page image with the gallery image. Clear relevant caches after an update, and inspect browser console errors.
For support, email imagezoom@45site.com with WordPress/PHP versions, theme, browser/device, gallery plugin and reproduction steps. You can also report reproducible technical issues at https://github.com/45-Design/Mouse-Wheel-Image-Zoom/issues. Remove private information before sharing. Use the official WordPress.org support/review pages once the listing is confirmed available. Honest reviews are welcome; no response-time guarantee or reward is offered.