mirror of
https://github.com/wah-su/wahs.wah.su.git
synced 2025-04-04 23:34:36 +00:00
forgot...
This commit is contained in:
parent
021170ed56
commit
5b60b2c611
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue