【发布时间】:2017-01-29 13:12:45
【问题描述】:
最近我在我的 Wordpress 网站中注意到,在所有页面中,当我有要显示的图像时,它会显示图像,并在它显示图像的路径之后立即显示图像的路径,包括图像属性。整个
有人可以帮忙吗? enter image description here
【问题讨论】:
-
我已经禁用了所有插件,但并没有解决问题...
最近我在我的 Wordpress 网站中注意到,在所有页面中,当我有要显示的图像时,它会显示图像,并在它显示图像的路径之后立即显示图像的路径,包括图像属性。整个
有人可以帮忙吗? enter image description here
【问题讨论】:
似乎您的 HTML 结构与您的 PHP 代码不一致。您需要检查获取此图像的代码。这是 Inspect Element 的显示方式:
<img src="http://antiparosbeauty.gr/wp-content/uploads/2014/03/weding.jpg" alt="weding" class="alignleft size-full wp-image-140" srcset="http://antiparosbeauty.gr/wp-content/uploads/2014/03/weding.jpg 345w, <a href=" http:="" antiparosbeauty.gr="" wp-content="" uploads="" 2014="" 03="" weding-300x141.jpg"="" target="_blank" height="163" width="345">
【讨论】: