简体   繁体   English

img标签在drupal内容中不起作用

[英]img tag not working in drupal content

I tried to use <img src="sites/all/themes/bluez/images/team/zin.png"> in drupal content. 我试图在drupal内容中使用<img src="sites/all/themes/bluez/images/team/zin.png"> But, it doesn't working properly. 但是,它无法正常工作。 I also choose Full HTML in text format. 我还选择文本格式的完整HTML。 The image only show blank screen and when I click the image url, it says Not Found The requested URL "/planz/node/sites/all/themes/bluez/images/team/zin.png" was not found on this server. 该图像仅显示空白屏幕,当我单击图像URL时,显示未找到。在此服务器上未找到请求的URL“ /planz/node/sites/all/themes/bluez/images/team/zin.png”。 Please help my problem. 请帮助我的问题。 I'm new to Drupal. 我是Drupal的新手。 Thanks. 谢谢。

Try to make the target path absolute. 尝试使目标路径绝对。 Visit the absolute path from your browser - There you can easily see if you have the correct path or not! 通过浏览器访问绝对路径-您可以轻松地在其中找到正确的路径! When you have the correct path, than you can insert that to your code! 如果您具有正确的路径,则可以将其插入代码中!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM