Webflow sync, pageviews & more.
NEW

Is it possible to enlarge an image to its full view when hovering or clicking on it in Webflow? If so, how can I achieve this?

TL;DR
  • Use hover interactions to scale the image (e.g., 1.2x) on hover in and return to normal on hover out.
  • Use the Lightbox component for click-to-enlarge functionality with automatic full-screen modal behavior.
  • For advanced customization, build a hidden modal with interactions to show/hide and animate image enlargement on click.

Yes, you can enlarge an image on hover or click in Webflow using built-in interactions and lightbox components.

1. Enlarge Image on Hover

To expand an image when the user hovers over it:

  • Select the image in the Designer.
  • In the Interactions panel, click + to add a new animation.
  • Choose Mouse Hover (Hover In/Out) trigger.
  • Under Hover In, create a Scale animation:
  • Set Scale to something like 1.2 / 1.2.
  • Under Hover Out, reverse it back to original size (1 / 1).
  • Adjust duration and easing as needed for smooth transition.
  • Make sure the image container has overflow: visible if enlargement exceeds the original bounds.

2. Enlarge Image on Click Using Lightbox

To enlarge an image by clicking, the easiest method is to use the Lightbox component:

  • Drag a Lightbox from the Add panel onto the canvas.
  • Replace the default image with your desired image.
  • Webflow automatically enables a popup (modal) view when the image is clicked.
  • You can group images under the same Lightbox Group Name if needed for galleries.
  • On click, the image opens centered in a full-screen overlay.

3. Customize with Modal (Optional for Advanced Control)

If you want full design control:

  • Create a hidden div elsewhere on the page styled as a full-screen modal.
  • Inside the modal, place the enlarged version of your image.
  • Set the modal’s visibility to hidden initially.
  • Add a click interaction to the image to:
  • Show the modal (change visibility/display),
  • Optionally use a Scale or Fade animation.
  • Add a close button inside the modal with an interaction to hide it again.

Summary

To enlarge an image in Webflow, use hover animations for simple effects or the Lightbox component for click-to-view functionality. For more custom needs, create a manual modal using interactions.

Rate this answer

Other Webflow Questions