Linux 软件免费装
Banner图

WP ImageViewer

开发者 mpol
更新时间 2024年11月15日 20:20
PHP版本: 7.0 及以上
WordPress版本: 6.7

标签

lightbox modal fancybox colorbox iv-viewer imageviewer

下载

2.0.1 2.0.5 2.0.3 2.0.4 2.0.2 2.0.7 1.2.0 1.1.0 2.0.0 1.1.1 1.1.2 2.0.6

详情介绍:

ImageViewer is an image viewer inspired by Google Photo's. It may also look familiar to users of Ebay.com or Tweakers.net. It provides a modal for images, similar to modals as lightbox, colorbox and fancybox, just in a somewhat more abstract way. Features Anti-Features Upstream Project You can look at Github for the original code. This project is integrated in this WordPress plugin and all ready to use. Compatibility This plugin is compatible with ClassicPress. Contributions This plugin is also available in Codeberg.

安装:

Installation It should just work on the standard WordPress gallery and images.

常见问题:

I have an image, but when I click nothing happens

This plugin expects the same html layout as lightbox, colorbox and fancybox. The image/thumbnail should be inside a link, an a element. That link should point to the main media image, not the attachment page or a custom link. Only when the link points to an image file, it will show the viewer,

I am using Nextgen Gallery

You can go to Gallery > Other Options > Lightbox Effect-tab and select None for the Lightbox Effect.

I would like to use custom options for the viewer

This code should help you, you can change these default values and put this PHP code in the functions.php file of your theme (preferably a child theme). imageviewer_custom_options = { zoomValue: 100, snapView: true, maxZoom: 500, refreshOnResize: true, zoomOnMouseWheel: true };

更新日志:

2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.2.0 1.1.2 1.1.1 1.1.0 1.0.2 1.0.1 1.0.0