Skip to Content
मेन्यू
This question has been flagged
1 Reply
5963 Views

<td style="width:10%;height:10%"><div class="row-md-10">

<span t-field="l.name"/>

<div class="col-md-10" colspan="5">

<span t-field="l.product_id.image_medium" t-field-options="{&quot;widget&quot;: &quot;image&quot;, &quot;class&quot;: &quot;img-rounded&quot;,&quot;size&quot;:[20,20]}" /></div></div>

</td>

Avatar
Discard
Best Answer

Hello Shubham,


  <div class="col-xs-12"><center>

<img t-if="o.image" t-att-src="'data:image/png;base64,%s' % o.image" style="max-height: 120px;max-width: 100px;"/></center>

</div>Try this.



Avatar
Discard

Didn't you mean "max-width" instead of "max-weight"?

@Ermin Trevisan: Thanks for pointing my typo mistake, updated my answer.:)

Related Posts Replies Views Activity
1
जुल॰ 20
7147
1
फ़र॰ 16
3407
1
मार्च 15
5618
0
मार्च 15
4216
0
जून 15
3725