[英]Wordpress website not displaying images on certain safari browsers
I have a weird situation, I am developing a site I can see all of the images well on my mac as well as an android phone but on my iPhone and my friends mac, and iPad it is not displaying the images when using safari.我有一个奇怪的情况,我正在开发一个网站,我可以在我的 mac 和 android 手机上很好地看到所有图像,但是在我的 iPhone 和我朋友的 mac 和 iPad 上,它在使用 safari 时不显示图像。 Is there something I need to add to the files for this to display properly all through out?有什么我需要添加到文件中才能正确显示的吗?
Thanks all feedback welcomes感谢所有反馈欢迎
It appears these assets are linked using https
but there is not a valid SSL on the site.这些资产似乎是使用https
链接的,但站点上没有有效的 SSL。 So on the devices where it works you have either authorized the SSL or bypassed it, but the other devices have not.所以在它工作的设备上,你要么授权了 SSL,要么绕过了它,但其他设备没有。
If you open up the Developer Tools in Chrome and view the console you can see the assets with issues along with the error message... "Failed to load resource: net::ERR_INSECURE_RESPONSE"如果您在 Chrome 中打开开发人员工具并查看控制台,您可以看到有问题的资产以及错误消息...“无法加载资源:net::ERR_INSECURE_RESPONSE”
Just in case someone else has the same problem.以防万一其他人有同样的问题。 For me the problem was that a plugin "Ewww image optimizer" converted images to webP, these were then cached and served by cloudflare and wouldn't load in safari对我来说,问题是插件“Ewww 图像优化器”将图像转换为 webP,然后将这些图像缓存并由 cloudflare 提供服务,并且不会在 safari 中加载
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.