Welcome to the preview page focussing on image modules. This page shows all the valuable features of the J1 Template to manage your image-based content using lightboxes, carousels, sliders, grids, and galleries.
The image-related modules of the J1 Template offer a wide range of complex functionality based on powerful Open Source libraries like Lightbox V2, Slick Slider, Master Slider, or Masonry Grid and JustifiedGallery to create masonry-styled preview maps.
15-30 Minutes to read
Lightboxes
A Lightbox is a helper which displays enlarged, almost screen-filling versions of images while dimming the remainder of the page. The technique, introduced by Lightbox V2, gained widespread popularity thanks to its simple style. The term Lightbox has been employed since then for Javascript libraries to support such functionality.
For J1 Template, different lightbox modules are available:
-
Lightbox V2 (default)
-
LightGallery Lightbox (optional)
-
Slick Lightbox (for Slick Carousels only)
The default tool employed by J1 Template is Lightbox V2, a Javascript library written by Lokesh Dhakar. For more complex use cases, like a thumbnail gallery preview or video support, LightGallery can be used alternatively.
All Lightboxes are fully integrated to be used as standalone modules or used as helpers under-the-hood by other modules focussing on image-data like gallerys or carousels.
For details of the default lightbox of J1 Template, see the documentation under the Lightbox module. |
Default Lightbox
Find below an example of using the rhe default lightbox used for standalone images. See how single (individual) images are linked.
The J1 lightbox module supports groups of images as well. Click on the image group below to see how a group is managed.
LightGallery
LightGallery provides more complex image data functions than the default lightbox. The module supports a gallery-style thumbnail preview plus image resizing, a download dialog, sharing provider support, and more helpful.
The name LightGallery implies a sort of a Gallery, but the library is a lightbox, and provides enhannced functionality on image-based data rather than enlarged displaying of images. |
Check what LightGallery can do this by the following example.
J1 Carousel
J1 Carousel is based on OWL Carousel V1 in the latest version. OWL Carousel is a clean and neat jQuery slider plugin for creating fully responsive and touch-enabled carousel sliders.
Simple Text Carousel
A slider or carousel is typically used for displaying images. Still, the implementation for the J1 Template supports a lot more sources to be displayed as a slide show: simple text, for example.
Important statements or topics can be placed, e.g., on top of an article or a paragraph, to give them better visibility. In one line, you can present many facts to know animated for the reader’s attention within a single line. No much space is needed!
Parallax Text Carousel
A more visual type of text-based slide show is a parallax text slider. If you want to emphasize your statements focussing the meaning, this kind of a slide show may be interesting. Image-based slide shows may draw off the reader’s attention from the text, therefore a pure text-based presentation maybe the better choice.
Parallax text shows can be placed as banners on a page. For text shows, different animations are available. Internally, J1 Template uses some of the great CSS styles offered by animate.css.
Have a look a Dan Eden’s home page to see all the possible dynamic styles you can create based on pure CSS. Some of them are implemented for the J1 Carousel for animation. See the documentation for the Carousel module for more details. |
Simple Image Carousel
Carousels are mostly used for pictures data to animate the images as a series. Find with the following some examples of how to use a carousel for your image data.
A simple image show is useful, for example, as an animated (or not animated) banner presenting exciting things about your site or the products offered.
Carousel + Caption + Lightbox
Carousels are used for an exceptionally compact form of image galleries. This example shows some pictures having individual caption text and supports a lightbox to enlarge images full size. For the example below, an almost simple lightbox is used: Lightbox2; or short: lightbox.
The J1 module lightbox is a simple Lightbox but offers a bunch of impressive features for displaying images. For example, the lightbox can display all images (of a carousel) as a group. If one picture is opened in the lightbox, others are browsed by easy-to-use control buttons.
One Slide Carousel + Lightbox
The build-in carousel supports multiple and single image shows. Here you find an example of a single image slide show with controls enabled to browse all images back and forth. An indicator below the slider shows how many images the show contains.
J1 Slick Carousel
Slick is a popular jQuery plugin for creating responsive and fully customizable carousels. It allows developers to easily create beautiful and dynamic carousels that can display images, videos, or any other type of content in a visually appealing way.
The plugin is designed to be lightweight, fast, and easy to use, making it a popular choice for all web developers. It has many features, including multiple navigation options, lazy loading, or autoplay. Slick carousels are compatible with all modern browsers and devices, making it a great choice to create a responsive and mobile-friendly website.
All Slick carousels for the J1 Template can be easily customized in various ways, such as changing the number of posts displayed, the slider speed, or the navigation options like Arrows and Dots.
Image Carousel
An Slick image carousel typically consists of a container with images and a navigation system, including buttons, arrows, or dots that allow users to move back and forth between images or select a specific image. Image carousels can also include animation effects, such as fade-in or slide-in transitions between images, to make the presentation more engaging and visually appealing.
Carousel from Collections
A carousel from a collection for J1 Template is a pre-defined element type to display articles from a Jekyll collection on a webpage. All carousels for collections display the article image and a link to the article as a caption.
Carousel from Posts
A Carousel from posts for J1 Template is a pre-defined carousel type to display post articles on a webpage. It is a popular way to showcase a selection of post articles visually appealingly and can be useful for highlighting important or featured content for your posts content.
Post carousels pull news articles from a specific group. All Carousels for posts display the post category, the title, the author information and date.
slick::post_carousel_featured[]
More about Slick Carousels
If you’re interested to learn more about Slick, go previewer page Slick Previewer,
J1 Master Slider
The Javascript library Master Slider is a 3rd party plugin fully integrated
into the J1 Template by the module masterslider
. J1 Template uses the free
version MS Lite. The free version of Master Slider does not support
all features: the functionality of filters, layouts are limited and no
overlay techniques are supported by MS Lite.
Carousel versus Slider
Sliders and Carousels are focussing quite the same thing: presenting images dynamically. The features of Sliders go far beyond what simple carousels can do: presenting image-based data as slide shows.
Well-known Office Products to create presentations are Powerpoint from Microsoft or Google Docs. Modern sliders like Master Slider provide similar features to present animated presentations based on digital image data combined with text elements, buttons, or overlay techniques for images or other digital data sources.
In short: Carousels are used to present images, and sliders are used to create complex image-based presentations.
For more details of the dimplementation of Master Slider of J1 Template, see find documentation at Master Slider module. |
Featured MS Slider
The following slider uses the (CSS) filter feature of Master Slider. Filters can be used, for example, to transform the style of the images presented by a slider. In this example, the slider images are transformed from style color to sepia.
Lightbox support is only available for the MS Lite version of J1 Theme. The product versions MS Lite and MS Pro does not support Lightboxes on sliders out-of-the-box. |
Click on the Lightbox symbol in the slides to see the colored images configured for the slider. |
MS Slider using Text Elements
One of the major features of sliders is to present additional animated elements, like text data, connected to the images presented by an slideshow. MS Slider additionally provides functions to combine images and text by so-called MSInfo blocks out-of-the-box.
MS Slider using ThumbImages
To give the users better control over a slideshow, sliders provide complex UI elements like thumbs placed side-by-side (left|right), at the top, or at the bottom of a slideshow. Find two examples to control a slideshow by thumb images.
MS Slider using ThumbInfo
To give the users better control over a slideshow, MS Slider provides complex UI elements like thumbs placed side-by-side (left|right), at the top, or at the bottom of a slideshow.
MS Slider using Layout PartialView
The following slider presents a slideshow that combines an MSInfo element
at the bottom and the MS Layout partialview
. A slideshow typically presents
a larger number of slides. The layout partialview
accompanies the active
slide by their neighbors on the left and the right.
More about Master Slider
If you’re interested to learn more about MS Slider, go for the following documents:
-
MS Slider Previewer
-
MS Slider Module documentation
J1 Masonry
J1 Masonry is based on the popular JavaScript library Masonry, enabling the creation of responsive, dynamic grid layouts of groups of content elements. It uses a unique algorithm to arrange elements vertically, then horizontally in a responsive grid.
The module provides a flexible configuration to enabling developers to customize the layout, adjust the column width, gutter size, and add animations.
Grid of Images
Bootstrap cards are a popular component of the Bootstrap front-end framework that provides a flexible and customizable way to display content on a website. Find an example below of how Bootstrap cards can be combined with the Masonry module for a fully responsive image grid.
Resize your browser window for the width to see the J1 Masonry module in action. |
JustifiedGallery
JustifiedGallery is a great jQuery Plugin to create responsive, infinite, and high-quality justified image galleries. J1 Template combines the Gallery with the lightboxes supported to enlarge the images of a gallery. See the gallery in action; and for sure, all that you see is even responsive. Change the size of your current browser window, by width or height to see what will happen!
Pictures you’ve made are typically not even in size. Images may have the same size (resolution), but some are orientated landscapes, or others may be portraits. For that reason, a more powerful gallery is needed to create so-called justified views. JustifiedGallery uses a so-called masonry grid layout. It works by placing elements in an optimal position based on available horizontal and vertical space. Sort of like mason fitting stones in a wall. You’ll have seen it in use all over the Internet!
What next
Hopefully, you’ve enjoyed exploring the possibilities J1 offers for managing and displaying digital image content. But much, much more can the J1 do for your web.
The J1 Template support playing video on web pages by HTML5 Video, the new
standard of HTML. HTML5 Video implements a pure HTML way to show video on
the web. Modern browsers support the video tag <video>
for the HTML5 video
standard. The previous proprietary de facto standard software like Flash
Player, Quicktime, or Silverlight is no longer needed as the Jekyll theme
JekyllOne provides HTML5 Video support for local video content and from
online sources on the Internet.
Incredible? See the next example page Present Videos.