{"id":347025,"date":"2026-08-10T05:37:18","date_gmt":"2026-08-10T05:37:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/post-bottom-lightbox-gallery\/"},"modified":"2026-08-10T08:01:11","modified_gmt":"2026-08-10T08:01:11","slug":"lnsel-post-gallery-lightbox","status":"publish","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/lnsel-post-gallery-lightbox\/","author":23538757,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"7.0.3","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Lnsel Post Gallery Lightbox","header_author":"team-lnsel","header_description":"Adds a custom Gallery meta box in the post editor. Upload images per-post and display them as a responsive Grid or Masonry lightbox gallery using the [lnsel_gallery] shortcode. The gallery section is automatically hidden when no images are added.","assets_banners_color":"303f62","last_updated":"2026-08-10 08:01:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/lnsel-post-gallery-lightbox\/","header_author_uri":"https:\/\/profiles.wordpress.org\/team-lnsel\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":82,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.4":{"tag":"1.0.4","author":"karticklnsel","date":"2026-08-10 08:01:11"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3639992,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3639995,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3639991,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3639990,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3639998,"resolution":"1","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"The \"Post Gallery Images\" meta box in the WordPress post editor.","2":"Front-end Grid layout with lightbox overlay.","3":"Front-end Masonry layout.","4":"Lightbox open with navigation arrows and caption."}},"plugin_section":[],"plugin_tags":[210,6040,163,237,6822],"plugin_category":[50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-347025","plugin","type-plugin","status-publish","hentry","plugin_tags-gallery","plugin_tags-grid","plugin_tags-images","plugin_tags-lightbox","plugin_tags-masonry","plugin_category-media","plugin_committers-karticklnsel"],"banners":{"banner":"https:\/\/ps.w.org\/lnsel-post-gallery-lightbox\/assets\/banner-772x250.png?rev=3639990","banner_2x":"https:\/\/ps.w.org\/lnsel-post-gallery-lightbox\/assets\/banner-1544x500.png?rev=3639991","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lnsel-post-gallery-lightbox\/assets\/icon-128x128.png?rev=3639992","icon_2x":"https:\/\/ps.w.org\/lnsel-post-gallery-lightbox\/assets\/icon-256x256.png?rev=3639995","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/lnsel-post-gallery-lightbox\/assets\/screenshot-1.png?rev=3639998","caption":"The \"Post Gallery Images\" meta box in the WordPress post editor."}],"raw_content":"<!--section=description-->\n<p><strong>Lnsel Post Gallery Lightbox<\/strong> 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 <code>[lnsel_gallery]<\/code> shortcode \u2014 with a smooth lightbox, keyboard navigation, touch swipe support, and a choice of Grid or Masonry layout.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li>\ud83d\udcf7 Custom \"Post Gallery Images\" meta box on every post\/page edit screen<\/li>\n<li>\ud83d\uddbc Drag-and-drop image reordering in the editor<\/li>\n<li>\u26a1 Choose between <strong>Grid<\/strong> (uniform tiles) or <strong>Masonry<\/strong> (Pinterest-style) layout<\/li>\n<li>\ud83d\udd0d Built-in lightbox with arrow navigation, keyboard (\u2190 \u2192 Esc), and touch swipe<\/li>\n<li>\ud83d\udcf1 Fully responsive \u2014 4 \u2192 3 \u2192 2 \u2192 1 columns at breakpoints<\/li>\n<li>\ud83d\ude48 Gallery section is <strong>completely hidden<\/strong> when no images are uploaded<\/li>\n<li>\ud83d\udd0c Works with Elementor via the Shortcode widget<\/li>\n<li>No jQuery dependency on the front end \u2014 pure vanilla JS<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p><strong>Basic:<\/strong>\n    [lnsel_gallery]<\/p>\n\n<p><strong>Grid layout, 3 columns:<\/strong>\n    [lnsel_gallery layout=\"grid\" columns=\"3\"]<\/p>\n\n<p><strong>Masonry layout, 3 columns:<\/strong>\n    [lnsel_gallery layout=\"masonry\" columns=\"3\"]<\/p>\n\n<p><strong>All available attributes:<\/strong><\/p>\n\n<ul>\n<li><code>layout<\/code> \u2014 <code>grid<\/code> or <code>masonry<\/code> (default: <code>grid<\/code>)<\/li>\n<li><code>columns<\/code> \u2014 <code>2<\/code>, <code>3<\/code>, or <code>4<\/code> (default: <code>3<\/code>)<\/li>\n<li><code>size<\/code> \u2014 <code>thumbnail<\/code>, <code>medium<\/code>, <code>large<\/code>, or <code>full<\/code> (default: <code>large<\/code>)<\/li>\n<li><code>gap<\/code> \u2014 gap between images in px, number only (default: <code>10<\/code>)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>lnsel-post-gallery-lightbox<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install via the WordPress Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen in WordPress.<\/li>\n<li>Edit any post or page \u2014 you will see a <strong>\"\ud83d\udcf7 Post Gallery Images\"<\/strong> meta box below the content editor.<\/li>\n<li>Click <strong>\"Add \/ Edit Images\"<\/strong> to select one or more images from your Media Library.<\/li>\n<li>Add the shortcode <code>[lnsel_gallery]<\/code> to your post content or to an Elementor <strong>Shortcode widget<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"the%20gallery%20section%20does%20not%20appear%20on%20my%20post.\"><h3>The gallery section does not appear on my post.<\/h3><\/dt>\n<dd><p>Make sure you have added at least one image in the <strong>\"\ud83d\udcf7 Post Gallery Images\"<\/strong> meta box on the post edit screen, then also added the <code>[lnsel_gallery]<\/code> shortcode to your post content or Elementor template. The section is intentionally hidden when no images are uploaded.<\/p><\/dd>\n<dt id=\"can%20i%20use%20this%20with%20elementor%3F\"><h3>Can I use this with Elementor?<\/h3><\/dt>\n<dd><p>Yes. Add an Elementor <strong>Shortcode<\/strong> widget and paste <code>[lnsel_gallery]<\/code> into it.<\/p><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20grid%20and%20masonry%3F\"><h3>What is the difference between Grid and Masonry?<\/h3><\/dt>\n<dd><p><strong>Grid<\/strong> displays all images at a fixed 4:3 aspect ratio in uniform rows. <strong>Masonry<\/strong> preserves each image's natural height, creating a Pinterest-style staggered layout using CSS columns \u2014 no JavaScript library required.<\/p><\/dd>\n<dt id=\"can%20i%20set%20a%20different%20gallery%20for%20each%20post%3F\"><h3>Can I set a different gallery for each post?<\/h3><\/dt>\n<dd><p>Yes. Each post or page has its own independent gallery managed through the meta box.<\/p><\/dd>\n<dt id=\"does%20this%20work%20without%20elementor%3F\"><h3>Does this work without Elementor?<\/h3><\/dt>\n<dd><p>Yes. The shortcode works in the Gutenberg block editor via a Shortcode block, or in the Classic Editor.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<p>*Update Plugin Name<\/p>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updated Author URI to correct WordPress.org profile.<\/li>\n<li>Minor internal improvements and version bump.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed lightbox spinner stuck when show_title is disabled (null-guard caption\/counter elements).<\/li>\n<li>Fixed show_title checkbox defaulting to unchecked \u2014 now correctly defaults to checked on new posts.<\/li>\n<li>Improved show_title resolution: only explicit '0' means hidden; unset defaults to shown.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed lightbox image not loading when show_title disabled (JS null reference).<\/li>\n<li>Fixed admin checkbox default state.<\/li>\n<li>Version bump to bust browser cache for frontend.js.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Custom meta box for per-post gallery image management.<\/li>\n<li>Grid and Masonry layout options via shortcode attribute.<\/li>\n<li>Drag-and-drop reordering in the editor.<\/li>\n<li>Responsive lightbox with keyboard and touch swipe support.<\/li>\n<li>All CSS and JS in properly enqueued external files.<\/li>\n<li>Full output escaping throughout.<\/li>\n<li>Unique <code>lnsel_pgl_<\/code> prefix on all functions, hooks, meta keys, and handles.<\/li>\n<\/ul>","raw_excerpt":"Upload images per-post and display them as a responsive Grid or Masonry lightbox gallery using the [lnsel_gallery] shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/347025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=347025"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/karticklnsel"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=347025"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=347025"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=347025"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=347025"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=347025"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=347025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}