Directory / plugin
Lnsel Post Gallery Lightbox
v1.0.5 ยท by TeamLNSEL
Upload images per-post and display them as a responsive Grid or Masonry lightbox gallery using the [lnsel_gallery] shortcode.
About this plugin
Lnsel Post Gallery Lightbox lets you upload a dedicated set of gallery images to any post or page via a custom meta box in the WordPress editor. Those images are then displayed on the front end using the [lnsel_gallery] shortcode โ with a smooth lightbox, keyboard navigation, touch swipe support, and a choice of Grid or Masonry layout.
Key Features:
- ๐ท Custom “Post Gallery Images” meta box on every post/page edit screen
- ๐ผ Drag-and-drop image reordering in the editor
- โก Choose between Grid (uniform tiles) or Masonry (Pinterest-style) layout
- ๐ Built-in lightbox with arrow navigation, keyboard ( Esc), and touch swipe
- ๐ฑ Fully responsive โ 4 3 2 1 columns at breakpoints
- ๐ Gallery section is completely hidden when no images are uploaded
- ๐ Works with Elementor via the Shortcode widget
- No jQuery dependency on the front end โ pure vanilla JS
Usage
Basic:
[lnsel_gallery]
Grid layout, 3 columns:
[lnsel_gallery layout=”grid” columns=”3″]
Masonry layout, 3 columns:
[lnsel_gallery layout=”masonry” columns=”3″]
All available attributes:
layoutโgridormasonry(default:grid)columnsโ2,3, or4(default:3)sizeโthumbnail,medium,large, orfull(default:large)gapโ gap between images in px, number only (default:10)show_titleโyes/noto override the per-post lightbox caption settingshow_bottom_imageโnoto hide the bottom image (default:yes)bottom_sizeโ image size for the bottom image (default:full)