ek on Nostr: You could do both of course: load blurred inline image as a placeholder but also load ...
You could do both of course: load blurred inline image as a placeholder but also load a compressed version from imgproxy depending on screen size. Then, when you click on it, load a HD version. On Stacker News, we only do the last two steps but a blurred inline image as a placeholder is nice UX that we’re missing.
Published at
2025-02-12 12:03:41Event JSON
{
"id": "445cfbf878f1dbd1c05ee7db36f549c15b17c12f1e9fd3021029c30c53af3469",
"pubkey": "d19fec54027d097065482280ae17a68d0ad57f0f5c2fa74e24f3dbbb1e6c5495",
"created_at": 1739361821,
"kind": 1,
"tags": [
[
"e",
"b0468b6920bfeec884041082277555e17a1d185a5b57af12ea8a788d09bf32c2",
"",
"root"
],
[
"e",
"4d8cb8a7a8a624dee7fa6a16000d954debb6b5b264a0f0da0c3f9f04d6704efb",
"",
"reply"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
],
[
"p",
"7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805"
]
],
"content": "You could do both of course: load blurred inline image as a placeholder but also load a compressed version from imgproxy depending on screen size. Then, when you click on it, load a HD version. On Stacker News, we only do the last two steps but a blurred inline image as a placeholder is nice UX that we’re missing.",
"sig": "417edcd874de5c1746a2e8ba120d112b87a28e9b59e7d06f83dabc0e7b3982b1e60afe8a7c58fa8921e0064657a6d8a3fd3aa36b5dbfde11261ede67dedef689"
}