This addon helps to load your images progressively like Medium.
ember install ember-cli-blurred-image
-
Basically, it will load two images, the first one is pretty small and the second is usally the big one.
-
When the first one is loaded, the addon uses
canvas
to draw the image. In the meanwhile, the real image keeps loading. -
After the real image is loaded, it will be appended to the wrapper. CSS animation is applied during this period for better transition.
It supports customized radius for the bluring effect, you can pass in 0 - 180
.