react-image-timeline icon indicating copy to clipboard operation
react-image-timeline copied to clipboard

[FEATURE] Placeholder Images Displayed While Images Load

Open aaron9000 opened this issue 5 years ago • 4 comments

It would be cool if the timeline images optionally started with a placeholder while they loaded. Currently, the timeline shifts around while images pop in.

aaron9000 avatar Jun 30 '19 17:06 aaron9000

@aaron9000 is there an "easy" way to lazy load these images?

jderdock avatar Sep 12 '19 18:09 jderdock

Hi @jderdock I will do some research and get back to you.

Is this an important feature for you?

aaron9000 avatar Sep 12 '19 21:09 aaron9000

thanks @aaron9000 - no, not super important. it would be a nice feature for long timelines. I'm about to implement your timeline into a Gatsby site with 30+ events, so I'm trying to get this to work with gatsby-imageat the moment, but am going to do some sort of more basic lazy loading as a fallback. I wasn't sure if there was a lazy load option that I was missing here.

Thanks again!

jderdock avatar Sep 12 '19 21:09 jderdock

Thanks for the context - this is something I hope to add.

I would love to see the end result of what you build. Send me a link!

aaron9000 avatar Sep 13 '19 00:09 aaron9000