seanbeaton / image_quickload

A drupal 8 module to allow delayed/lazy loading of images, with a low quality prerender for better UX.

Home Page:https://www.drupal.org/sandbox/seanpb/2794593

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Quickload is a image slow/lazy loading sandbox module, with a low quality prerender for better UX.

It provides a page for configuration of image style pairs. If a "preload" (low quality) image style is provided for a given "full" (high quality, normal) image style, the preload one will be loaded first, then replaced with the full image style once the image is fully loaded and in the viewport.

Full image styles should be the one you'd normally use. Preload image styles should be the same aspect ratio as the full image style they correspond to, but much smaller. For example, if a full image style is a scale 650x650px, then the preload could be scale 8x8px. If the full image style were scale and crop 1920x1080, then the preload could be 16x9px.

About

A drupal 8 module to allow delayed/lazy loading of images, with a low quality prerender for better UX.

https://www.drupal.org/sandbox/seanpb/2794593

License:GNU General Public License v2.0


Languages

Language:PHP 61.8%Language:JavaScript 21.8%Language:CSS 9.7%Language:HTML 6.6%