Title: Image Modal
Author: gptmade
Published: <strong>2023 年 3 月 3 日</strong>
Last modified: 2023 年 3 月 3 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/image-modal/assets/icon-256x256.png?rev=2874442)

# Image Modal

 作者：[gptmade](https://profiles.wordpress.org/gptmade/)

[下载](https://downloads.wordpress.org/plugin/image-modal.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/image-modal/#description)
 * [评价](https://cn.wordpress.org/plugins/image-modal/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/image-modal/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/image-modal/#developers)

 [支持](https://wordpress.org/support/plugin/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ gptmade ](https://profiles.wordpress.org/gptmade/)

[帮助将「Image Modal」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/image-modal)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/image-modal/)，查看[SVN仓库](https://plugins.svn.wordpress.org/image-modal/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/image-modal/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/image-modal/)。

## 更新日志

#### 1.0

Initial release

## 额外信息

 *  版本 **1.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **不到10**
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/image-modal/)
 * 标签
 * [image](https://cn.wordpress.org/plugins/tags/image/)[lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)
   [modal](https://cn.wordpress.org/plugins/tags/modal/)[popup](https://cn.wordpress.org/plugins/tags/popup/)
 *  [高级视图](https://cn.wordpress.org/plugins/image-modal/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/image-modal/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/image-modal/reviews/)

## 贡献者

 *   [ gptmade ](https://profiles.wordpress.org/gptmade/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/image-modal/)