项目作者: wearerequired

项目描述 :
A WordPress plugin to implement lightbox functionality for images and galleries.
高级语言: PHP
项目地址: git://github.com/wearerequired/required-tobii.git
创建时间: 2020-11-19T12:46:24Z
项目社区:https://github.com/wearerequired/required-tobii

开源协议:GNU General Public License v2.0

下载


required Tobii

A WordPress plugin to implement lightbox functionality for images and galleries.

The plugin uses Tobii, an accessible, open-source lightbox with no dependencies.

Installation

You can install the plugin with Composer:

  1. composer require wearerequired/required-tobii

The plugin has no settings page.

Customize Tobii options

You can pass any supported option by Tobii through the required_tobii.options filter. For example to enable the zoom icons use the following snippet:

  1. add_filter(
  2. 'required_tobii.options',
  3. function( $options ) {
  4. $options['zoom'] = true;
  5. return $options;
  6. }
  7. );

Browser support

  • Internet Explorer 11
  • Last two versions of any other modern browser, including mobile browsers


a required open source product - let's get in touch