I use
```
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % o.visitor.visitor_image" height="120" border="1" width="120"/>
```
but still my image not show in Qweb PDF report
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I use
```
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % o.visitor.visitor_image" height="120" border="1" width="120"/>
```
but still my image not show in Qweb PDF report
Hi Usman,
Try following code:
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % o.visitor.visitor_image"/>
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % to_text(o.visitor.visitor_image)" height="120" border="1" width="120"/>
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
2
3月 24
|
3868 | |||
|
2
10月 22
|
6356 | |||
|
1
2月 22
|
3394 | |||
|
1
8月 21
|
4993 | |||
|
2
3月 21
|
4549 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.