Lightbox

Let visitors open images, video or content in a full-screen view.

A button, image, icon or link opening a video, image, gallery, content or web page in an accessible native dialog.

Elementor widget

Requirements

  • Elementor 3.5 or newer
  • WordPress 6.2 or newer
  • PHP 7.4 or newer
  • Licence: free — installs straight from Moduly

Add it to a page

  1. Edit the page with Elementor.
  2. In the widget panel, search for Lightbox. Our widgets sit in the Moduly category and carry the Moduly badge.
  3. Drag it onto the page.
  4. Set it up in the Content tab, style it in the Style tab, and use Advanced for spacing, motion and visibility.

Settings

Trigger

SettingWhat you can set
TypeButton, Image, Icon or Text link
ImageImage
Image Resolutionany registered image size
Image DimensionYou can crop the original image size to any custom size. You can also set a single value for height or width in order to keep the original size ratio.
Icon Over the ImagePlay for videos, magnifier otherwise, Play, Magnifier or None
Text Under the ImageText
TextText
IconIcon picker
Icon PositionBefore or After
Accessible LabelRead by screen readers — an icon has no text of its own.
Pulse RingOn / off
AlignmentLeft, Center, Right or Full width
SettingWhat you can set
ShowsVideo, Image, Gallery, Text & content or Web page / map (iframe)
ImageEmpty: the trigger image, full size.
ImagesImages
CaptionImage caption, Image title, Custom text or None
Caption TextText
SourceYouTube, Vimeo or Self hosted
LinkText
Video FileImage
Or a Video URLText
Start Time (s)Number
End Time (s)Number
Play When OpenedOn / off
MutedOn / off
LoopOn / off
Privacy Modeyoutube-nocookie.com / Vimeo “do not track”.
Aspect Ratio16:9, 21:9, 4:3, 1:1 or 9:16 (vertical)
HeadingText
ContentRich text
Page URLThe page must allow being framed.
SettingWhat you can set
Opening AnimationFade, Zoom, Slide up, Drop down or None
Close ButtonScreen corner or Inside the box
Click Outside to CloseOn / off
Link to It (URL hash)Opening adds #id to the address, so the link can be shared and the page opens with the lightbox showing.
HashText
Loop the GalleryOn / off
Thumbnails RowOn / off

Style tab: design controls for Button / Link / Icon, Image, Lightbox Window, Close Button or Caption — colours, typography, spacing, borders and hover states.

Tips

  • Start with the Type choice — it changes the overall look the most; fine-tune the rest afterwards.
  • Visitors who ask their device for reduced motion get a calmer, still version automatically.

Troubleshooting

  • Changes not showing on the live page? Regenerate CSS in Elementor → Tools → Regenerate CSS & Data and clear any page cache.