Tiny Responsive Image Lightbox Plugin For jQuery - Simplebox.js

Tiny Responsive Image Lightbox Plugin For jQuery - Simplebox.js

Simplebox.js is a simple, fast, lightweight jQuery lightbox plugin which shows the full size image in a responsive, fullscreen, always-centered modal popup with minimal markup.

How to use it:

1. Simplebox.js needs jQuery to work, so you have to include jQuery library in your web page before using this plugin.

<link rel="stylesheet" href="css/simplebox.css">
  ...
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="js/simplebox.js"></script>

2. Just call the simplebox() on the desired image and we're done .

$('.img').simplebox();

3. Change the transition speed of the fadeIn & fadeOut effect.

$('.img').simplebox({
  fadeSpeed: 350 // default: 400
});

4. If you want to use the 'Dark' mode.

$('.img').simplebox({
  darkMode: true
});

Change log:

2018-05-07

  • Add dark mode

This awesome jQuery plugin is developed by libhide. For more Advanced Usages, please check the demo page or visit the official website.

  • Publication date: 07.05.2018
  • Source

Whoops, looks like something went wrong.

(1/1) ErrorException

file_put_contents(): Only 0 of 252 bytes written, possibly out of free disk space

in Filesystem.php (line 122)
at HandleExceptions->handleError(2, 'file_put_contents(): Only 0 of 252 bytes written, possibly out of free disk space', '/home/p336588/web/ivanovdmitry.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 122, array('path' => '/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/fJnbW3n1Vt9NQdUhYTgT9VNzJT0Dy9Dmrev1evuM', 'contents' => 'a:3:{s:6:"_token";s:40:"voCZPVlF5IPVs9YqscbS7AvgEwbNQewUNycGSUED";s:9:"_previous";a:1:{s:3:"url";s:94:"http://ivanovdmitry.com/blog/post/tiny-responsive-image-lightbox-plugin-for-jquery-simpleboxjs";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
at file_put_contents('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/fJnbW3n1Vt9NQdUhYTgT9VNzJT0Dy9Dmrev1evuM', 'a:3:{s:6:"_token";s:40:"voCZPVlF5IPVs9YqscbS7AvgEwbNQewUNycGSUED";s:9:"_previous";a:1:{s:3:"url";s:94:"http://ivanovdmitry.com/blog/post/tiny-responsive-image-lightbox-plugin-for-jquery-simpleboxjs";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2)in Filesystem.php (line 122)
at Filesystem->put('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/fJnbW3n1Vt9NQdUhYTgT9VNzJT0Dy9Dmrev1evuM', 'a:3:{s:6:"_token";s:40:"voCZPVlF5IPVs9YqscbS7AvgEwbNQewUNycGSUED";s:9:"_previous";a:1:{s:3:"url";s:94:"http://ivanovdmitry.com/blog/post/tiny-responsive-image-lightbox-plugin-for-jquery-simpleboxjs";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true)in FileSessionHandler.php (line 83)
at FileSessionHandler->write('fJnbW3n1Vt9NQdUhYTgT9VNzJT0Dy9Dmrev1evuM', 'a:3:{s:6:"_token";s:40:"voCZPVlF5IPVs9YqscbS7AvgEwbNQewUNycGSUED";s:9:"_previous";a:1:{s:3:"url";s:94:"http://ivanovdmitry.com/blog/post/tiny-responsive-image-lightbox-plugin-for-jquery-simpleboxjs";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}')in Store.php (line 128)
at Store->save()in StartSession.php (line 88)
at StartSession->terminate(object(Request), object(Response))in Kernel.php (line 218)
at Kernel->terminateMiddleware(object(Request), object(Response))in Kernel.php (line 189)
at Kernel->terminate(object(Request), object(Response))in index.php (line 58)