Has anyone experienced duplicate images appearing in a lightbox gallery when updating images on a client's site in Webflow?

Published on
September 22, 2023

Yes, some users have reported encountering duplicate images appearing in a lightbox gallery when updating images on a client's site in Webflow. This can happen if the images are not properly replaced or if the cache is not cleared correctly. Here are some steps you can take to avoid or fix this issue:

  1. Clear browser cache: Before updating any images in Webflow, clear your browser cache to ensure that you're seeing the latest version of the site. This can help prevent any caching issues that might cause image duplication.

  2. Replace images correctly: When updating images in a lightbox gallery, make sure you replace the existing images in the correct field. To do this, navigate to the page with the lightbox gallery and select the Gallery element. Then, go to the Settings tab and update the images within the Image field. Be cautious not to add new images to the gallery, as this can cause duplicates.

  3. Re-publish the site: After updating the images, re-publish the site to ensure that the changes take effect. This will update the live version with the newly replaced images and should remove any duplicates that may have appeared.

  4. Check for conflicting custom code: If you have custom code implemented on the site, it's possible that this could be causing the issue. Check the custom code to see if any scripts or plugins are interacting with the lightbox gallery. Temporarily remove or disable the code to see if the duplicates disappear. If they do, you may need to modify the custom code to ensure compatibility with the lightbox gallery.

  5. Contact Webflow Support: If you've followed the above steps and the duplicate image issue persists, it's recommended to reach out to Webflow Support for further assistance. They can help troubleshoot the specific issue and provide guidance or solutions to resolve the problem.

Additional Questions:

  1. Why are duplicate images appearing in my Webflow lightbox gallery?
  2. How do I clear the cache in Webflow to avoid image duplication?
  3. How can I replace images correctly in the lightbox gallery in Webflow without causing duplicates?