Linux 软件免费装

Inlarge – Inline Image Zoom

开发者 kyo-ichida
更新时间 2026年8月22日 00:49
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: MIT
版权网址: 版权信息

标签

gallery lightbox magazine zoom enlarge

下载

1.2.6 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5

详情介绍:

Inlarge brings the abc-enlarge jQuery library to WordPress. Unlike typical lightbox plugins that dim the whole screen, it enlarges the clicked image in place — the article text around it stays readable. Ideal for web magazines and long-form articles. 👉 Try the live demo — click an image and watch the text keep flowing around it. A before/after comparison is in the screenshots below. What it does

安装:

  1. Upload the inlarge folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Make sure your images link to the media file (in the block/classic editor, set the image link to "Media File"). Those images are enlarged automatically.

屏幕截图:

  • After one click — the image is enlarged in place and swapped to the high-resolution file. No overlay, no dimming: the article text below stays readable and the scroll position never moves. Click again to restore.

常见问题:

Which images get enlarged?

Outside galleries: only images wrapped in a link that points to an image file (.jpg, .png, .gif, .webp, .avif, .bmp, .svg). This is what WordPress produces when an image links to its Media File. Images without such a link are left untouched so they never break. Inside WordPress galleries: nothing, unless you tick Apply to WordPress galleries on the post (it is off by default). With it on, gallery images are made enlargeable regardless of their link setting: the plugin resolves a full-size image URL (from the image's attachment ID, or by dropping the resize suffix from the filename) and never swaps in a non-image, so images don't break.

Does it work with the block editor?

Yes. The per-post toggles work in both the block editor and the classic editor.

Does it work with custom post types?

Yes. The script and auto-class run on every singular view, and the per-post toggles are shown for posts, pages, and public custom post types that support the editor.

How do I load the unminified script for debugging?

Define SCRIPT_DEBUG as true in wp-config.php and the plugin loads the non-minified build.

Clicking the enlarged image again does not restore it

Another image-zoom plugin on the page is most likely taking over the second click. prettyPhoto and similar lightboxes are known to do this, so the image stays enlarged instead of collapsing back. PhotoSwipe-based plugins run alongside Inlarge without this problem.

更新日志:

1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.2 1.1.1 1.1.0 1.0.0