[英]Problem on Blogger template adding a image
I'm trying to add a picture in a blogger template.我正在尝试在博客模板中添加图片。 With the HTML tag.使用 HTML 标记。
<img src="img_avatar.png" alt="Avatar">
But it's not loading the image.但它没有加载图像。
I'm trying to put it in the direct code.我试图把它放在直接代码中。
<div class='container-fluid'>
<div class='row'>
<div class='col-sm-12 col-md-3 col-lg-3' id='sidebar'>
<b:section class='header-section' id='header-section' maxwidgets='0' showaddelement='no'>
<img src="picture goes here" alt="Avatar"/>
<b:widget id='Header1' locked='true' title='Blogs name (Cabeçalho)' type='Header' version='1'>
<b:widget-settings>
<b:widget-setting name='displayUrl'/>
<b:widget-setting name='displayHeight'>0</b:widget-setting>
<b:widget-setting name='sectionWidth'>22</b:widget-setting>
<b:widget-setting name='useImage'>false</b:widget-setting>
<b:widget-setting name='shrinkToFit'>false</b:widget-setting>
<b:widget-setting name='imagePlacement'>BEHIND</b:widget-setting>
<b:widget-setting name='displayWidth'>0</b:widget-setting>
</b:widget-settings>
I wanna to insert the picture in this space with a different color:我想在这个空间插入不同颜色的图片:
But its not loading the picture...但是它没有加载图片...
Thanks a lot非常感谢
The Blogger tag <b:section...
can only contain <b:widget...
Blogger 标签<b:section...
只能包含<b:widget...
To insert your image upload it directly in Header widget or use an image widget.要插入您的图像,请直接将其上传到页眉小部件或使用图像小部件。
Also, you can insert the image code within the widget tag <b:includable id='main'>
此外,您可以在小部件标签<b:includable id='main'>
中插入图像代码
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.