/required-tobii

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

Primary LanguagePHPGNU General Public License v2.0GPL-2.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:

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:

add_filter(
	'required_tobii.options',
	function( $options ) {
		$options['zoom'] = true;
		return $options;
	}
);

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