No description, website, or topics provided.
Clone or download
Latest commit a8d6739 Sep 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Creation of new repository Aug 20, 2017
images Creation of new repository Aug 20, 2017
js Creation of new repository Aug 20, 2017
languages Create tr_TR.json Sep 17, 2018
README.md Update README.md Feb 21, 2018
liesmich.txt Update and rename readme.txt to liesmich.txt Feb 21, 2018
metadata.json Update metadata.json Feb 21, 2018
plugin.php Update plugin.php Feb 21, 2018

README.md

Lightbox

Lightbox and gallery based on the lightbox script by Lokesh Dhakar.

Lightbox

Add a data-lightbox attribute to any image link to enable Lightbox. For the value of the attribute, use a unique name for each image. For example:

<a href="/bl-content/uploads/image-1.jpg" data-lightbox="image-1" data-title="My caption"><img src="image-1.jpg"></a>

Important: The link to the image must contain the path to the directory (/bl-content/uploads/).

Gallery

Add a data-title attribute if you want to show a caption.

If you have a group of related images that you would like to combine into a set, use the same data-lightbox attribute value for all of the images. For example:

<a href="/bl-content/uploads/image-2.jpg" data-lightbox="gallery"><img src="image-2.jpg"></a>

<a href="/bl-content/uploads/image-3.jpg" data-lightbox="gallery"><img src="image-3.jpg"></a>

<a href="/bl-content/uploads/image-4.jpg" data-lightbox="gallery"><img src="image-4.jpg"></a>

Important: The link to the image must contain the path to the directory (/bl-content/uploads/).

Website

Website of the script with more information:

http://lokeshdhakar.com/projects/lightbox2/

Versions

1.0, February 21, 2018

  • Compatibility with Bludit v2.
  • Some minor code changes.
  • German languge files and liesmich.txt.

0.2, August 23, 2016

  • Fixed "Lightbox script end tag missing" at line 28.

0.1, July 30, 2016

  • Release.