-
我有一个有大量图片的页面,会有部分图片加载不出来,鼠标点一下又能正常显示,刷新页面之后也能显示了。请问可能是什么原因呢? 链接:https://www.pil0txia.com/post/2020-10-01_tenki-no-ko-4k-hdr-wallpaper/ |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 8 replies
-
你可以試著把 lazyload 給關了 看看 |
Beta Was this translation helpful? Give feedback.
-
@jerryc127 被标记了 |
Beta Was this translation helpful? Give feedback.
-
我开全局代理用台湾节点试了一下,也是能复现CORS错误的,图会裂掉,鼠标单击又可以正常大图显示。chrome102 |
Beta Was this translation helpful? Give feedback.
-
本地测试,开启lazyload依然会裂图,同样的报错;关闭lazyload后恢复正常,图片全部正常加载。 应该是lazyload的问题 |
Beta Was this translation helpful? Give feedback.
-
补充:使用 希望这个lazyload问题能修复 |
Beta Was this translation helpful? Give feedback.
-
你把 lazyload 關了 圖片能正常顯示 {% gallery true,440,49 %} 這個沒有使用到 lazyload 那個插件 |
Beta Was this translation helpful? Give feedback.
-
@jerryc127 您好!lazyload的作者回复了,回复内容见verlok/vanilla-lazyload#590 |
Beta Was this translation helpful? Give feedback.
-
请问如果想要填写lazyload.placeholder属性,使用这段svg代码是否最好、最省流量?
来自 |
Beta Was this translation helpful? Give feedback.
确实感觉不出多少,不过也确实省下了一次HTTPS连接的时间hh。lazyload.placeholder属性不支持svg标签,经过yaml对双引号的反斜杠转义或HTML实体编码转义也不行,所以我还是用了base64。谢谢!