From 0e0ca76afb5f0ca953a56de7c22aab89d76db522 Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Sun, 1 May 2022 12:56:34 +0200 Subject: [PATCH] use 512px width --- public/API/queries/imgproxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/API/queries/imgproxy.php b/public/API/queries/imgproxy.php index 61e6ee8..aa23221 100644 --- a/public/API/queries/imgproxy.php +++ b/public/API/queries/imgproxy.php @@ -3,7 +3,7 @@ function imgproxy($imageURL) { require "./lib/config.php"; $encodedUrl = rtrim(strtr(base64_encode($imageURL), '+/', '-_'), '='); - $path = "/rs:fit:0:120:1/g:no/{$encodedUrl}.webp"; + $path = "/rs:fit:0:512:1/g:no/{$encodedUrl}.webp"; $signature = rtrim(strtr(base64_encode(hash_hmac('sha256', $imgProxySalt.$path, $imgProxyKey, true)), '+/', '-_'), '='); return $imgProxyUrl . "/" . $signature . $path;