Lazy Loading (caricamento differito) per immagini e iframe, consente di far caricare più velocemente il tuo sito e risparmiare traffico dati. Non utilizza librerie JavaScript esterne e viene disabilitato senza problemi per i visitatori che non lo hanno attivo.
Votazioni
4.2
Ultimo aggiornamento
August 9, 2017
Versione
1.0.9
Installazioni attive
30K
BJ Lazy Load

Lazy loading makes your site load faster and saves bandwidth.

This plugin replaces all your post images, post thumbnails, gravatar images and content iframes with a placeholder and loads the content as it gets close to enter the browser window when the visitor scrolls the page. Also works with text widgets.

Since it works with iframes, it also covers embedded videoes from YouTube, Vimeo etc.

You can also lazy load other images and iframes in your theme, by using a simple filter.

Non-javascript visitors gets the original element in noscript.

Compatible with the RICG Responsive Images plugin for responsive images.

Please let me know if you have any issues. Fastest way to get a response is by Twitter: https://twitter.com/bjornjohansen

Traduzioni

  • Russian (ru_RU) di Elvisrk
  • Hebrew (he_IL) di Imri Sagive
  • Polish (pl_PL) di Maciej Gryniuk
  • Norwegian Bokmål (nb_NO) di Bjørn Johansen

Development happens at GitHub. Pull requests are very welcome.

Utilizzo opzionale

If you have images output in custom templates or want to lazy load other images in your theme, you may pass the HTML through a filter:

<?php $img_html = '<img src="myimage.jpg" alt="">'; $img_html = apply_filters( 'bj_lazy_load_html', $img_html ); echo $img_html; ?>

Note for developers: The filter has a priority of 10.

Gratuitosul piano Creator
Installazioni attive
30K
Testato fino alla versione
4.9.25
Questo plugin è disponibile per il download da usare sulla tua installazione WordPress ospitata personalmente.