源集中的绝对图像URL将附加到上载目录

时间:2019-06-05 作者:Michael Walter

我已经为我的主题安装了WooZoone、Woocommerce和Divi。产品详细信息页面看起来很完美。但当我在首页添加产品块时,图像不会显示。

生成的HTML代码为:

<img width="300" height="300" src="https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS300_.jpg" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail wp-post-image" alt="" srcset="https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS300_.jpg 300w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS150_.jpg 150w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS768_.jpg 768w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS1024_.jpg 1024w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS400_.jpg 400w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS1080_.jpg 1080w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS510_.jpg 510w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS600_.jpg 600w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS100_.jpg 100w, https://armbanduhr-angebote.com/wp-content/uploads/https://images-eu.ssl-images-amazon.com/images/I/416uQ46gN5L._SS64_.jpg 64w" sizes="(max-width: 300px) 100vw, 300px">
srcset中的所有链接都是https://armbanduhr-angebote.com/wp-content/uploads/ + absolute amazon url.

有人知道这是从哪里来的吗?我如何解决这个问题?

1 个回复
最合适的回答,由SO网友:Marc Loeb 整理而成

我想你已经解决了这个问题,但我还是无意中发现你的帖子也有同样的问题。我可以通过应用woozone本身的错误修复来解决问题-在启用woozone的wordpress解决方案中,转到:

WZone->;配置->;Bug Fixes(错误修复)向下滚动至选项;禁用WordPress图像Srcset属性

相关推荐

Testing Plugins for Multisite

我最近发布了一个WordPress插件,它在单个站点上非常有效。我被告知该插件在多站点安装上不能正常工作,我理解其中的一些原因。我已经更新了代码,现在需要一种方法来测试更新后的代码,然后才能转到实时客户的多站点安装。我有一个用于测试的WordPress安装程序的单站点安装,但需要在多站点安装上进行测试。根据我所能找到的唯一方法是在网络上至少有两个站点来安装整个多站点安装,以测试我的插件。设置WordPress的整个多站点安装是插件开发人员的唯一/首选方式,还是有更快的测试环境可用。