這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Image Modal

外掛說明

The Image Modal plugin adds a modal lightbox effect to images within the post content, allowing users to view larger versions of images without leaving the post.

This plugin requires NO settings, NO subscriptions, NO trials or pro versions. It just works out of the box with any image on the content of your posts or pages, either if it was Attached to the media library or just pasted from clipboard.

When an image is clicked, a modal box will appear with the larger version of the image. Dismiss the modal box with the close button or clicking on the modal’s background.

Requirements

NONE, but to show a pointer cursor when hovering on the images, his plugin requires that your content div in your theme has the class “.entry-content”. Chances are that this is the case if you are working with a relatively modern theme.

Licensing

This plugin is released under GPLv2.

Author

gptmade.com

螢幕擷圖

  • Click on any image within the post or page content
  • A modal box will open showing the image in the original resolution

安裝方式

Upload the plugin files to the /wp-content/plugins/image-modal directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the ‘Plugins’ screen in WordPress
The modal effect will now be applied to images within the post content.

常見問題集

Can I customize the appearance of the modal?

The modal’s appearance can be customized by editing the CSS file included in the plugin.

Where are the plugin settings?

This plugin does not offer any admin settings at the moment.

Will this plugin affect all images on my site?

No, this plugin only affects images within the post content.

Is this plugin responsive?

Yes, the plugin is designed to be responsive and will adjust the modal’s size to fit the screen.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Image Modal〉的開發相關工作。

參與者

將〈Image Modal〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

Initial release