From 05acab174f91c9f7e3847936209313d2a50cff2d Mon Sep 17 00:00:00 2001 From: long Date: Fri, 22 May 2026 04:12:48 -0500 Subject: [PATCH] added lazy image loading for search page --- lib/frontend.php | 20 ++++++++++---------- web.php | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/frontend.php b/lib/frontend.php index 6d4a7d1..c3b8ee2 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -276,7 +276,7 @@ class frontend{ $payload .= '">' . - 'thumb'; + 'thumb'; if($duration !== null){ @@ -499,7 +499,7 @@ class frontend{ $payload = '
' . ''; }else{ @@ -528,18 +528,18 @@ class frontend{ $payload = '
' . '' . '
'; $payload .= - 'arArchive.org' . - 'arArchive.is' . - 'ghGhostarchive' . - 'arArquivo.pt' . - 'biBing cache' . - 'meMegalodon' . + 'arArchive.org' . + 'arArchive.is' . + 'ghGhostarchive' . + 'arArquivo.pt' . + 'biBing cache' . + 'meMegalodon' . '
'; } diff --git a/web.php b/web.php index a1588fc..6a5ebf1 100644 --- a/web.php +++ b/web.php @@ -147,7 +147,7 @@ if(count($results["image"]) !== 0){ $right["image"] .= '' . - 'thumb'; + 'thumb'; if( $image["source"][0]["width"] !== null && @@ -301,7 +301,7 @@ if(count($results["answer"]) !== 0){ $right["answer"] .= '' . - 'thumb' . + 'thumb' . ''; } @@ -355,7 +355,7 @@ if(count($results["answer"]) !== 0){ case "image": $right["answer"] .= - 'image'; + 'image'; break; case "audio": @@ -410,7 +410,7 @@ if(count($results["answer"]) !== 0){ $right["answer"] .= '' . '
' . - 'icon' . + 'icon' . '
' . $website . '
' . '
' . '
';