LiteBokz.js is a modern, clean and minimal JavaScript
library for viewing images. You can embed it into any
HTML website for instant image previewing.
All Light, no Load
Designed as an alternative to other popular JavaScript
lightbox libraries, LiteBokz.js excels in instant
loading speeds, advanced customization & zero setup.
Use it instantly by linking the script, or download it on
GitHub.
Just add the "litebokz"
class to any image for instant results.
3
Customize your LiteBokz
LightBokz has been built with full customization
in mind. From creating color themes to
organizing the UI, we've achieved maximum
flexibility with minimal code.
Example gallery
Why Choose LiteBokz
Lightweight & mobile friendly
Perfectly scales to any screen size & layout.
Fully customizable
Easily add your own color themes, choose how
images should be displayed, and much more.
Free & open source
Litebokz is an open source project built
for developers looking for an efficient &
minimal way to display their images.
Feature suggestions & improvements are open
for discussion on our GitHub.
Guide
• Organize images using the name
data attribute. This prevents users from being able to navigate
between separate categories.
• LiteBokz.js automatically uses alt text
as the image description. Users can write
a new description simply by adding the
data-lb-alt attribute to the
image element.
<img class="litebokz" src="drawing.png" alt="sketch, OC" data-lb-alt="A weird drawing of a sad guy.">
• To customize, simply add a new
<script> element called "litebokz"
at the very end of your <head> element.
<script class="litebokz"> // content goes here
</script>
You can customize which tools should be displayed & the layout
using litebokz.tools.
The displayed order matches the order of the array.