blurhash
lazysizes
Our great sponsors
blurhash | lazysizes | |
---|---|---|
41 | 19 | |
14,997 | 17,297 | |
1.2% | - | |
5.5 | 0.0 | |
about 1 month ago | 24 days ago | |
C | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
blurhash
-
BlurHash: An Alternative to Generic Image Placeholders
Blogspam, including just taking over the source images.
Original: https://blurha.sh/ and https://blog.wolt.com/hq/2019/07/01/how-we-came-to-create-a-... (2019)
-
Generate thumbhash at edge for tiny progressive images
While it's similar to BlurHash, the color performance is much better for the same filesize. Here's a a demonstration of this from the demo page (with ThumbHash in the middle and BlurHash on the right):
- How do you do these placeholder for loading images based on color?
-
How to make a hash of the images with blurhash python package and react
Package Link - https://blurha.sh
-
blurred layer on top of other content using react-native-skia
If you do go this way, you can use https://blurha.sh
-
Migrating my website from Gatsby to Astro
No blurhash for images like Next or Gatsby
- A very compact representation of a placeholder for an image.
- Blurhash: A compact representation of a placeholder for an image
lazysizes
-
Optimizing Images for Developer Blogs
Use a JavaScript library to implement lazy loading. There are a number of JavaScript libraries available that can help you implement lazy loading, such as Lazysizes and Lozad.
-
Generate thumbhash at edge for tiny progressive images
Normally I would write some client-side JS to do this but as this project is solely server-rendered I opted to use a simple tried-and-true library for this: lazysizes.
-
Tell HN: I was tired of being a perfectionist so I built an app within 24 hours
I recently did some optimizations on my personal website to make the images load “lazily.” In other words it only loads stuff once it hits the viewport. I think that’s what you’re looking for. I tried two techniques:
1. There is an HTML attribute to do just this and it seems to work for iframes too: https://developer.mozilla.org/en-US/docs/Web/Performance/Laz...
2. There is a simple library called “lazy sizes” (https://github.com/aFarkas/lazysizes)
I tried to avoid the lib and use the native HTML… but for whatever reason the lib worked more reliably/effectively in manual tests as well as in my benchmarking via PageSpeed / Lighthouse. YMMV!
-
What unpopular webdev opinions do you have?
lazysizes is better than loading="lazy"
-
Native lazyload images vs other libraries
Since browsers support native lazy-loading, do we need libraries like this https://github.com/aFarkas/lazysizes?
-
Few tips to improve WebPage Performance
Use Lazy loading for below-the-fold images. (You can use different 3rd party libraries like Unveil, lazysizes, etc.)
-
The Ultimate Eleventy Template for your blog with a FREE minimalist theme [Open Source]
⚡️ Lazy load images with lazysizes
-
Best CLS Practices for Images
You can also use this really great library for handling the loading of images in a holistic and well-supported way or you can look at manually implementing the LQIP technique.
-
HTML tips you might not have been aware of
And, lazyloading is only for images. If you use e.g. lazysizes you can do anything with it. I'm a digital publisher so I use it for ads and embedded tweets/IGs and so on.
- LazyLoad not loading all the times the images. Fix or change lazyload mode? Angular project
What are some alternatives?
thumbhash - A very compact representation of an image placeholder
vanilla-lazyload - LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.
flutter_gen - The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
ng-bootstrap - Angular powered Bootstrap
engine - The Flutter engine
react-lazy-load - React component that renders children elements when they enter the viewport.
randimage - Create random images
Tailwind CSS - A utility-first CSS framework for rapid UI development.
clipview - Titanium Module for Android ClipView
select2 - Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.