chargement paresseux des images

This commit is contained in:
Esenjin 2022-09-17 00:52:57 +02:00
parent fd2b40d097
commit cec911053c

View File

@ -40,7 +40,7 @@ if(!empty($dossier));
foreach($dossier as $lien=>$date) foreach($dossier as $lien=>$date)
sort($fichier); sort($fichier);
foreach($fichier as $lien) { foreach($fichier as $lien) {
echo "<div align=\"center\"><img src=\"$dir_nom/$lien\"></img></div>\r echo "<div align=\"center\"><img src=\"$dir_nom/$lien\" loading=\"lazy\"></img></div>\r
<div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/img/$lien\" target=\_blank>source</a></p></div>\r\r </br></br>"; <div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/img/$lien\" target=\_blank>source</a></p></div>\r\r </br></br>";
} }