A WordPress plugin to implement lightbox functionality for images and galleries.
The plugin uses Tobii, an accessible, open-source lightbox with no dependencies.
You can install the plugin with Composer:
composer require wearerequired/required-tobii
The plugin has no settings page.
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;
}
);
- Internet Explorer 11
- Last two versions of any other modern browser, including mobile browsers