lazyImg un script de Lazy loading d’images pour accélerer le chargement de ses pages

Sript de Lazy loading des images

Le lazy-loading est une technique qui consiste à ne charger des objets sur la page qu’au moment où ils sont visibles pour l’internaute. Cette technique permet d’accélérer le chargement des pages et d’économiser des ressources serveurs.

Cette technique est souvent utilisée pour ne charger les commentaires qu’au moment où l’internaute arrive à la fin de l’article. Il est en effet inutile d’aller interroger la base de données en sachant que peu de lecteur scroll jusqu’en bas de la page.

Je me suis basé sur un script Qazy existant afin de l’optimiser et qu’il réponde à toutes mes problématiques.

  • Fichier léger avec une taille de 2.58KB soit 20.64kb
  • Aucune dépendance avec une librairie (jQuery n’est pas utile), contrairement aux 90% des scripts déjà existants
  • Aucune modification du code HTML nécessaire
  • Script SEO friendly : l’attribut src est conservé pour Google

Utilisation

Le script est accessible ici sous le nom de lazyImg
Il faut charger le script le plus tôt possible car il bloque le chargement des images qui ne sont pas dans le viewport.

<script type='text/javascript' src='lazyImg.min.js'></script>

Fonctionnalité

Par défaut ce script, affichera un pixel 1 x 1 à la place des images. Il est possible via l’appel à la fonction setConfig de changer :

  • l’image
  • le custom offset. Par défaut, les images apparaissent un peu avant qu’elles soient dans le viewport, pour être exact 100px avant d’être visible. Si vous modifiez ce dernier à 400, les images se chargeront 400 pixels avant qu’elles ne soient visibles à l’écran.

<script> lazyImg.setConfig(‘img/loading.gif’, 400); </script>

 

Vous avez aussi la possibilité de rajouter du css pour customiser l’image :

img[data-lazyimg-loading="true"] {
  background-repeat: no-repeat;
  background-image: url(data:image/gif;base64,R0lGODlhMAAwAPcAAAAAABMTExUVFRsbGx0dHSYmJikpKS8vLzAwMDc3Nz4+PkJCQkRERElJSVBQUFdXV1hYWFxcXGNjY2RkZGhoaGxsbHFxcXZ2dnl5eX9/f4GBgYaGhoiIiI6OjpKSkpaWlpubm56enqKioqWlpampqa6urrCwsLe3t7q6ur6+vsHBwcfHx8vLy8zMzNLS0tXV1dnZ2dzc3OHh4eXl5erq6u7u7vLy8vf39/n5+f///wEBAQQEB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OYssYbMJJlv5V1IaZmhMLPJvTh7UQtKtarSGVfIQw3g4T3SjWVTVTMHtklYwlwDBWjAgQECELTRn/ccgtdWwFihwYMSpQKJv25FKJdCkX01ogkGpSKG9RQ04aLL7Y4S4cTWaLCjTjimMdithjg44+D/CjNaxvdIsKRSCJphxYC9fjjkz6GQiRFxSST5JVLCpRKIy3G2KKMNEpkY4457thQDvahmOKabCp0g5FhJnTgWVtV0sgCDKgQkhbNNGPCZhTxWc0nhLYRp2qozMLBLB8kU+BCgNQCAaGESmOHmgjtccwsis7yRFMlqkDBApRWw0FqaGIq0FtdJPNBp7PU/8LfQcU0wwClC7QxCUEmILFrQjA8oedAmJjQzKIcNMOXahpQGoEtr2lBgTShTGjiQCog0QgHRRVjiQiccnALQpVIM8QTRQl0zBDSSDNuDrZwwIEJAu2hbSP0TpbHMccAWtAe3BlkSQTscqguBRN8sKoIjbihAaoVMbnRDRu0C0FxORwzQcJopaKBG26IcChFI7GrsFoTUHCyQCY00ggSe6TYhRvsyiKxuhsfI9YsbjTSzJQh1WKuNKgUdAzCKwukgsuNLLuVFhOY68ajGW+c9F8f9KxZWpbIMkQowxKkMccFWYKEGxvc7BMMsxwT4thXo2lCliQWM6LGKtPaJkIipA8c2t4T/bHHHv4CbjhBAQEAOw==);
  background-position: center center;
}

L’image affichée ressemblera à ceci :

 

Si vous rencontrez des soucis, des bugs n’hésitez pas à laisser un commentaire pour qu’on tente de corriger cela ensemble. Il en est de même si vous avez des suggestions d’améliorations.