Made in Europe, buy from Europe.

Black Friday

65% off Annual plans

25% off Lifetime · 10 per week

Ends December 2

Get the deal →

How to add lightbox zoom in WordPress with Modula

Updated 3 min read

Modula Zoom adds lightbox zoom to your WordPress galleries. The lightbox is the window that opens over the page when someone clicks an image. When the pointer moves over that image, the part under it gets larger.

Visitors can then see the details of a product or a photo.

Note: Zoom is part of Modula Pro, included in the Business plan. Turn it on in Modula → Extensions (see how to install extensions). It works in the lightbox, so the gallery has to open images in the lightbox.

Watch how to switch on lightbox zoom and choose the kind of zoom and its options.

Turn on lightbox zoom in your gallery

  1. Go to Modula → Galleries and open the gallery.
  2. Click Lightbox.
  3. Make sure On click is set to Open in lightbox or Lightbox, or link when set.
  4. In the Lightbox card, switch on Enable lightbox zoom. The zoom options appear.

    Enable lightbox zoom on in the Lightbox section, with Kind set to Lens and the window, lens and tint options
  5. Choose the options you want. The next section explains each one.

Open the page with your gallery, click an image and move the pointer over it. You will see the zoom at work.

Zoom options

These options decide how the zoom looks and how it behaves.

  • Kind: How the magnified part is shown.

    • Magnify in place: The magnified part opens in a separate window, in a corner of the image.
    • Inner: The image itself magnifies inside its frame and follows the pointer.
    • Lens: A round or square lens follows the pointer and magnifies what’s under it.
  • How it appears: The effect when the zoom shows up and goes away. Pick No effect, Fade in, Fade out, Fade in/out or Easing.
  • Window position and Window size: Where the magnified window opens (Upper left, Upper right, Lower left, Lower right) and how big it is (S to XL).
  • Lens size and Lens shape: The size of the lens (S to XL) and whether it’s Round or Square.
  • Strength and Color (the tint): These dim the rest of the image while the visitor zooms, so the magnified part stands out. A value of 0 leaves the image as it is. A value of 100 covers it fully with the color.

The Trigger on hover switch is in Lightbox → More settings → Lightbox & Links. It shows while zoom is on, and it’s on by default. It starts the zoom as soon as the pointer is over the image. If you turn it off, visitors start and stop the zoom with a zoom button in the lightbox toolbar.

Other zoom features in Modula

Modula has three features with “zoom” in the name. The steps above are for the first one.

  • Lightbox zoom (this extension): A magnifier inside the lightbox.
  • Zoom hover effect: The thumbnail in the gallery grows a little when the pointer is over it. You pick it in Motion → Hover. It has nothing to do with the lightbox. See Modula Hover Effects.
  • Zoom button in the lightbox toolbar: Lets visitors enlarge the whole image in the lightbox with a click. You turn it on in Lightbox → More settings → Lightbox & Links.
Was this page helpful?
0 0

Still stuck?

Can’t find the answer?

Write to us with what you tried and what you expected to happen, and we’ll help you sort it out.