iblh / hexo-theme-material

Material Design theme for hexo.
https://iblh.github.io/material-demo/
GNU General Public License v3.0
4.03k stars 564 forks source link

手机上相册界面不显示 #535

Open OYE93 opened 7 years ago

OYE93 commented 7 years ago

I certify that I have first consulted (check all with "x")

我确认我已经查看了 (使用 "x" 选择)


I'm submitting a (check one with "x")

我正在申请 (使用 "x" 选择)

电脑上相册显示正常,但是手机上相册里的照片显示不出来

hydroakri commented 7 years ago

希望快点解决这个bug

neoFelhz commented 7 years ago

Could you please give us a demo?

neoFelhz commented 7 years ago

http://oyeblog.com/gallery/ https://hssyuan.github.io/gallery/

I have checked both of the gallery pages that listed below, but nothing wrong..

automano commented 7 years ago

我也遇到了相同的问题。在PC端一切正常,但到移动端会有一些bug。你上面给出的两个链接,在移动端的浏览器不会显示图片,只有标题和描述。你可以试一下。

automano commented 7 years ago

我尝试的移动端浏览器。 iPhone 6s + Chrome or Safari or Firefox。 这几个都不行。

neoFelhz commented 7 years ago

@automano It may caused by the network status. To reduce the useless network traffic of visitors, we add lazyload feature for gallery, so pictures won't load until user scrolls to them in the viewports. That may caused some delayed.

automano commented 7 years ago

应该是lazy-load造成的,我在网上看到有人在讨论同样的问题。我这边不是单纯的delay,我是完全无法显示图片,不管等多久。貌似移动端的lazyload和PC端加载起来不太一样。

automano commented 7 years ago

不过我在我的三星手机上就没有问题。难道是因为iPhone对滚动条事件的监听机制不一样?不是很懂。

automano commented 6 years ago

Will someone explain why and give a valid solution for this? This is really a bad experience for IOS users which I believe is the majority group.

im commented 6 years ago

http://oyeblog.com/gallery/ https://hssyuan.github.io/gallery/

这两个地址在手机浏览器里面也打不开, 我用的是安卓手机。

neoFelhz commented 6 years ago

I will add gallery to test on BrowserStack

neoFelhz commented 6 years ago

I remove the css async load of gallery page in version 1.5.2. Update to the newest version and try again?

automano commented 6 years ago

It works! Gallery page can be loaded correctly in version 1.5.2.