该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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