Is it possible to recreate the image zoom effect, including the scroll feature, seen on Medium using Webflow behaviors?

Published on
September 22, 2023

Yes, it is possible to recreate the image zoom effect, including the scroll feature, seen on Medium using Webflow behaviors. Here's how you can achieve it:

  1. Start by adding an image to your Webflow project. Make sure you have the high-resolution version of the image ready.

  2. Place the image in a container div and give it a class name, for example, "image-container".

  3. Select the container div and go to the Interactions panel on the right-hand side of the Webflow Designer.

  4. Click on the "+" icon next to the "element trigger" section and select the "Scroll" trigger. Set the "Start" percentage to 0% and the "End" percentage to 100%.

  5. Once the scroll trigger is set, click on the "+" icon next to the "element actions" section and select the "Zoom" action. Set the "Zoom" percentage to a value greater than 100%, such as 150% or 200%.

  6. By default, the zoom action will apply to the entire image. If you want to focus on a specific area of the image, you can use the "Drag" action to move the container div around. To do this, select the container div, click on the "+" icon next to the "element actions" section, and select the "Drag" action. Adjust the "X" and "Y" values to position the container div as desired.

  7. Lastly, you can add an easing effect to the zoom action to make it smoother. To do this, go to the "Easing" section in the interactions panel and choose from the available options.

That's it! You have now recreated the image zoom effect with scroll feature seen on Medium using Webflow behaviors. Don't forget to test your website to ensure it works as intended.

Additional questions:

  1. How can I add a zoom effect to an image in Webflow using behaviors?
  2. Can I create a scroll-triggered zoom effect for an image in Webflow?
  3. Is it possible to control the zoom level and focus area of an image on scroll in Webflow?