discourse/app/assets
Robin Ward 662cfc416b FEATURE: Show a blurry preview when lazy loading images
This generates a 10x10 PNG thumbnail for each lightboxed image.
If Image Lazy Loading is enabled (IntersectionObserver API) then
we'll load the low res version when offscreen. As the image scrolls
in we'll swap it for the high res version.

We use a WeakMap to track the old image attributes. It's much less
memory than storing them as `data-*` attributes and swapping them
back and forth all the time.
2018-12-19 01:57:30 +08:00
..
images update png assets for push notification images 2018-12-07 14:00:39 -08:00
javascripts FEATURE: Show a blurry preview when lazy loading images 2018-12-19 01:57:30 +08:00
stylesheets FEATURE: Show a blurry preview when lazy loading images 2018-12-19 01:57:30 +08:00