-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
关于图片加载相关问题 #134
Comments
具体原因好像是因为主题的懒加载会为图片套上一个 |
butterfly主题内开启懒加载,然后在插件内
配置完以后会造成图片一直转圈圈 主题版本:4.3.1 hexo -v
测试查看在线链接: https://anzhiyu-a.github.io/bangumis/ 插件配置
主题配置
|
补充:开启主题的Lazyload并关闭hexo-bilibili-bangumi的Lazyload配置后会造成 加载到最后一页后继续点击下一页 图片会加载不出来,然后反复上下翻页,会有一点表现怪异 主题配置
插件配置
测试查看在线链接: https://anzhiy.cn/bangumis/ |
butterfly主题目前使用此方法已无效 |
😣有其他的 办法解决这个问题吗,呜呜呜 |
不开懒加载或者改主题文件 |
改主题文件是指的 修改 主题source/js/utils.js文件235行改为const dataSrc = i.dataset.lazySrc || i.getAttribute('data-src') || i.src
主题的懒加载开着的 |
|
貌似没有用 翻到最后一页 继续翻页图片加载有问题的现象还是存在😭。 |
我这边测试的没问题 |
我之前忘记开插件的懒加载了,这么改追番页确实没问题了,但是其他地方的图片全加载不出来了😭 |
那就没办法了 |
懒加载问题
此插件懒加载可能与你主题的懒加载存在冲突,以下为几种解决方法:
extra_option
中配置为关。srcValue
和lazyloadAttrName
,例butterfly主题:The text was updated successfully, but these errors were encountered: