[英]image link in drupal 6 content
.content_left_image{
float:left;
width:746px;
height:368px;
padding-left:1px;
background-position:right;
}
<div class="content_left_image">$src</div>
This div is used in drupal 6 content. 该div用于drupal 6内容。 & $src
is image source... But image is not showed. & $src
是图像源...但是未显示图像。 i think i have problem in image src...my template name is codemen & image folder is in codemen folder...How can i show this image? 我认为我在图像src中有问题...我的模板名称是codemen&图像文件夹在codemen文件夹中...我如何显示此图像?
Do you really have this: 你真的有这个吗:
<div class="content_left_image">$src</div>
If yes, you should do this instead: 如果是,则应改为:
<div class="content_left_image"><?php print $src; ?></div>
I can't understand where are you writing this. 我不明白你在哪里写这本书。 If it's the body of a node, you should be able to view the image if the content type has PHP mode enabled. 如果它是节点的主体,并且内容类型启用了PHP模式,那么您应该能够查看该图像。 But where does $src
come from? 但是$src
是从哪里来的呢? It is a placeholder you wrote just here? 您在这里写的是占位符吗?
I think I'm can't get something of your question. 我想我无法解决您的问题。
Anyway, hope this helps. 无论如何,希望这会有所帮助。
—Alberto —阿尔贝托
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.