內容簡介
Inlarge 外掛將 abc-enlarge jQuery 函式庫帶入 WordPress,提供點擊圖片時在原地放大顯示的功能,讓周圍的文章文字仍然可讀,特別適合用於網路雜誌和長篇文章。
【主要功能】
• 在文章中自動為連結圖片添加放大功能
• 點擊時顯示高解析度圖片,收起時恢復小圖
• 支援手機橫向滾動的自動置中顯示
• 可應用於 WordPress 圖庫,需手動啟用
• 每篇文章可選擇禁用放大功能
外掛標籤
開發者團隊
原文外掛簡介
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
Automatically adds the abc-enlarge class to linked images in your post content (only images wrapped in a link to an image file, so nothing breaks).
Swaps in the high-resolution image from the link’s href on click, and restores the small one on collapse.
On portrait phones, expands the image into a horizontally scrollable, auto-centered view.
Can also apply to WordPress galleries (classic and block), making those images enlargeable regardless of their link setting. Off by default — tick it per post.
Lets you disable enlargement per post — enabled by default.
Runs on one very small JavaScript file. No extra CSS file is loaded.
Usage
Under Settings → Inlarge, tick which post types (post, page, custom post types) enlargement runs on. Only checked post types are enabled; all eligible types are checked by default.
Within an enabled post type, each post also has controls in the Inlarge box:
Block editor: the box appears at the bottom of the editor.
Classic editor: the box appears in the right-hand sidebar.
The “Enable image enlargement for this post” checkbox is checked by default; uncheck it to opt that post out. The Apply to WordPress galleries checkbox is off by default — tick it when you also want images inside classic and block galleries to be enlargeable.
