描述
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
屏幕截图
安装
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.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0
Initial release