Jump to content
Search Community

LazyLoad Image with gsap fadeIn option

Juraj test
Moderator Tag

Recommended Posts

Both of the below examples use GSAP and IntersectionObserver for lazy loading images. You would just need to convert them to use GSAP 3 and whatever lazyload script/approach you prefer. Each should allow for you to build upon this type of approach and refactor either within your own project.


See the Pen eYOpROp by ItsLefty (@ItsLefty) on CodePen

See the Pen WWqZWj by jomartinez27 (@jomartinez27) on CodePen


** Most of this topic is unrelated to GreenSock specifically, but hopefully one of those can provide a starting point for you to achieve your desired result.

  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...