Lazy Retina

Automatically loads normal or retina versions of images while scrolling.

Author:Finn Dohrn (profile at wordpress.org)
WordPress version required:3.8
WordPress version tested:5.6
Plugin version:1.2.2
Added to WordPress repository:06-09-2014
Last updated:11-03-2020
Rating, %:100
Rated by:1
Plugin URI:http://www.bit01.de/blog/lazy-retina/
Total downloads:1 737
Active installs:10+
plugin download
Click to start download

Fast Retina Images (Lazy Load) boost your website performance and reduce the traffic because images outside of viewport (visible part of web page) won’t be loaded until the user scrolls to them. This lazy technique works with jQuery or zepto.js.

Lazy Retina loads by default:

  • thumbnails
  • images in posts
  • images in pages

This plugin is based on Unveil.js.

Retina Images

The Lazy Retina plugin automatically adds retina sizes to every (custom) image size.

You’ve to regenerate already uploaded images.

Support in Themes

If you want to lazy load an image in themes please use the following code:

<?php if (function_exists('lazy_retina_image') { echo lazy_retina_image( $image_id, $size, $attr ); } ?>

Settings

Under “Options” -> “Media” you can remove the default link to full image path

Author