コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5705 ビュー

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
2276
2
10月 22
5531
1
2月 22
2680
1
8月 21
4163
2
3月 21
3691