Skip to content

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

License

Notifications You must be signed in to change notification settings

seanbeaton/image_quickload

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published