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 โ€” grid or masonry (default: grid)
  • columns โ€” 2, 3, or 4 (default: 3)
  • size โ€” thumbnail, medium, large, or full (default: large)
  • gap โ€” gap between images in px, number only (default: 10)
  • show_title โ€” yes / no to override the per-post lightbox caption setting
  • show_bottom_image โ€” no to hide the bottom image (default: yes)
  • bottom_size โ€” image size for the bottom image (default: full)

Plugin tags