meumobi / infomobi-v2

http://meumobi.github.io/infomobi
2 stars 6 forks source link

Provide lazy loading of images #160

Open vdias38 opened 8 years ago

vdias38 commented 8 years ago

see http://afklm.github.io/ng-lazy-image/ and angular-lazy-img

vdias38 commented 8 years ago

Another solution could be the use of picture or srcset attribute as suggested on responsive html5 images. Both sol. provide fallback if device not support it. For offline purpose we should check if device cache could be used instead of imgcache.js. Or should we adapt imgcache ?

More sources: https://webdesign.tutsplus.com/tutorials/quick-tip-how-to-use-html5-picture-for-responsive-images--cms-21015 https://blog.uploadcare.com/5-steps-to-better-responsive-images-d7cf91e261f4#.eh5xqj9yy