mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[GiphyBridge] Lazy load images (#2512)
This change instructs browsers to gradually load images as the user is scrolling down. This is good for performance because browsers wont download all images right away.
This commit is contained in:
parent
ad6549efec
commit
1a3419a2d4
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ class GiphyBridge extends BridgeAbstract {
|
|||
'content' => <<<HTML
|
||||
<a href="{$entry->url}">
|
||||
<img
|
||||
loading="lazy"
|
||||
src="{$entry->images->downsized->url}"
|
||||
width="{$entry->images->downsized->width}"
|
||||
height="{$entry->images->downsized->height}" />
|
||||
|
|
Loading…
Add table
Reference in a new issue