Quote:
Originally Posted by cerulean
Do you have a github of the plugin? Myabe I can take a look and see if there's a way to fork it to use an image library in the background to blur the images server side.
|
The ZIP archive contains all the files you need.
The idea was to to keep it stupid simple, and JS blur all the JPG images only. It was created to be easily used with external images as well, such as images hosted on a CDN.
If you want to expand the script, what you can do is to implement BlurHash, process each image, save the hash in the database, and show it instead of an actual image. This is a process usually used in lazy loading. The only downside of this approach is that it can't be used on externally hosted images (CDN), unless you can control CORS policies and/or keep a copy of images locally.
Feel free to modify the code to your own needs, and share it. It might be helpful to others.