forgot...

This commit is contained in:
Kentai Radiquum 2025-02-02 23:40:08 +05:00
parent 021170ed56
commit 5b60b2c611
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -40,6 +40,7 @@ function renderImage(endpoint, bucket, prefix, isrc, placeholder) {
const Img = document.createElement("img");
blurImg.src = `https://wsrv.nl/?url=${encodeURI(src)}&w=16&h=16`;
blurImg.className = "object-cover w-full h-full absolute inset-0";
blurImg.alt = `Loading: ${isrc}`
Img.dataset.hi = "fit";
Img.src = `https://wsrv.nl/?url=${encodeURI(src)}`;
Img.className = "invisible w-full h-full object-contain";