Skip to content
risingisland edited this page Dec 11, 2025 · 1 revision

Welcome to the autoLightbox wiki!

Automatically adds a modern Lightbox effect to all images in your GetSimple CMS pages — no gallery plugin required.

Features

  • Automatically wraps images with a GLightbox zoom effect

  • No shortcodes or markup needed — just insert an image normally

  • Skips images already inside:

    • links
    • elements
    • Containers with a btn class
  • Skips images that contain the classes:

    • nolightbox
    • btn
  • Fully compatible with custom themes and responsive designs

  • Uses GLightbox (lightweight, touch-friendly, mobile ready)

How to Disable Lightbox for a Specific Image

Add class nolightbox: <img src="photo.jpg" class="nolightbox">

Images will NOT be wrapped if they are:

  • Inside <a> links
  • Inside <button> elements
  • Inside any parent element with a class containing btn
  • Already carrying nolightbox or btn classes

This prevents conflicts with clickable UI elements and custom layouts.

Clone this wiki locally