diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-06 10:42:37 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-06 10:42:37 +0800 |
| commit | d79f51aa2862540c723edf1bd94eff7c1f1a6b53 (patch) | |
| tree | f08c814fc270fe7c08a0586dca66aea1440d53d4 /assets/css/components | |
| parent | abde8ae676026b3e8022dd088a839e4edd6a6a93 (diff) | |
fix: avoid showing thumbnail in source
The old lazy-loading solution requires an extra data-src attribute where the real image url is set. The script will replace src with data-src value when img tag is observed.
But this caused a problem: Third-party applications like RSS readers do not load script, hence the image source is always the placeholder (a blurry version of the real image).
Considering the fact that a placeholder image does not improve user experience that well, I removed it.
Former-commit-id: cee2e91904d09f075aba3eef8efe4929eca825a6
Diffstat (limited to 'assets/css/components')
0 files changed, 0 insertions, 0 deletions
