How can I fix the issue of portrait photos being rotated incorrectly in the lightbox mode on Webflow?

Published on
September 22, 2023

To fix the issue of portrait photos being rotated incorrectly in the lightbox mode on Webflow, you can follow these steps:

  1. Check the image orientation: The first step is to confirm that the image itself has the correct orientation. Sometimes, certain devices or image editors may assign incorrect orientation metadata to the image. To check this, open the image in an image editor or viewer and see if it appears correctly. If not, you will need to fix the image orientation before uploading it to Webflow.

  2. Image settings in Webflow: Once you have confirmed that the image itself has the correct orientation, make sure you have set the correct image settings in Webflow. Here's how you can do it:

    a. Select the image element in the Webflow designer.
    b. In the right-side panel, go to the Styles tab.
    c. Under the Transform section, check if the Rotate option is set to any value other than 0 degrees. If it is, set it back to 0 degrees.

  3. Disable lightbox rotation: By default, Webflow's lightbox feature rotates images based on their EXIF data. However, this can sometimes cause issues with portrait photos. To disable lightbox rotation, follow these steps:

    a. Select the lightbox element on your Webflow page.
    b. In the right-side panel, go to the Settings tab.
    c. Under the Lightbox section, toggle off the "Enable EXIF-based rotation" option. This will prevent the lightbox from automatically rotating images.

  4. Manually rotate images: If the above steps don't resolve the issue, you may need to manually rotate the images before uploading them to Webflow. This can be done using an image editing software like Photoshop or an online tool like LunaPic. Make sure to save the rotated images and then upload them to your Webflow project.

Following these steps should help you fix the issue of portrait photos being rotated incorrectly in the lightbox mode on Webflow.

Additional Questions:

  1. Why are my portrait photos rotated incorrectly in Webflow's lightbox mode?
  2. How do I disable automatic rotation of images in Webflow's lightbox?
  3. What can I do if my portrait images are still rotated incorrectly after following the above steps in Webflow?