How to add Static Images ?
It is very simple to show static images in Odoo Qweb templates (viewes or reports).
For that you need to add your image inside static directory
Use below xml syntax to show
<img src="/iwesabe_sample/static/src/img/iWesabe-logo.png"/>
In case you want to use an image that isn't static, here's what you can do instead.
<img t-att-src="'data:image/png;base64,%s' % to_text(product_id.image_medium)"/>
Here the product_id is an object and image_medium is image field(binary).
Then as Odoo renders by default binary data as base64, you can simply append the content of the image after base64,.
This doesn't work (for Static Images)
20 November, 2019
web space
i got base64 error......<a href="http://learnopenerp.blogspot.com/2020/01/open-wizard-on-button-click-in-odoo.html">.</a>.....
17 January, 2020
sehrish
How to show images in qweb (odoo 11) ? <a href="http://www.g4zvem72k3q4pp1ho4398pzot26257z3s.org/">atqbyzmzssj</a> [url=http://www.g4zvem72k3q4pp1ho4398pzot26257z3s.org/]utqbyzmzssj[/url] tqbyzmzssj http://www.g4zvem72k3q4pp1ho4398pzot26257z3s.org/
06 December, 2020
tqbyzmzssj
How to show images in qweb (odoo 11) ? ttgxsgnzow http://www.g7yps6v6s0533z4rozp859jfzk48s232s.org/ <a href="http://www.g7yps6v6s0533z4rozp859jfzk48s232s.org/">attgxsgnzow</a> [url=http://www.g7yps6v6s0533z4rozp859jfzk48s232s.org/]uttgxsgnzow[/url]
09 December, 2020
ttgxsgnzow
How to show images in qweb (odoo 11) ? tyhtwozqre http://www.gokdv41gxjr8919on1f222694wy50po5s.org/ <a href="http://www.gokdv41gxjr8919on1f222694wy50po5s.org/">atyhtwozqre</a> [url=http://www.gokdv41gxjr8919on1f222694wy50po5s.org/]utyhtwozqre[/url]
24 December, 2020
tyhtwozqre
How to show images in qweb (odoo 11) ? <a href="http://www.g9pm0u981qh088t2hs7y19z1o17eqy2us.org/">asksermgov</a> sksermgov http://www.g9pm0u981qh088t2hs7y19z1o17eqy2us.org/ [url=http://www.g9pm0u981qh088t2hs7y19z1o17eqy2us.org/]usksermgov[/url]
24 December, 2020
sksermgov
How to show images in qweb (odoo 11) ? [url=http://www.guo44vlt1nh9638l4geqew1701906k5os.org/]urspbyjwkqe[/url] <a href="http://www.guo44vlt1nh9638l4geqew1701906k5os.org/">arspbyjwkqe</a> rspbyjwkqe http://www.guo44vlt1nh9638l4geqew1701906k5os.org/
24 January, 2021
rspbyjwkqe
How to show images in qweb (odoo 11) ? [url=http://www.g5zi6be2o5g39eu4b68u00ar04i3kf43s.org/]ukgrgezbwxe[/url] <a href="http://www.g5zi6be2o5g39eu4b68u00ar04i3kf43s.org/">akgrgezbwxe</a> kgrgezbwxe http://www.g5zi6be2o5g39eu4b68u00ar04i3kf43s.org/
30 January, 2021
kgrgezbwxe
i've tried your suggestion but it does not seem to work. Any other way of displaying static images ? Thx!
30 January, 2021
Daniel
How to show images in qweb (odoo 11) ? [url=http://www.g34627338dd2ykgq1mm383d92ly4hsxls.org/]upqqqiqogr[/url] <a href="http://www.g34627338dd2ykgq1mm383d92ly4hsxls.org/">apqqqiqogr</a> pqqqiqogr http://www.g34627338dd2ykgq1mm383d92ly4hsxls.org/
31 January, 2021
pqqqiqogr
How to show images in qweb (odoo 11) ? [url=http://www.g0hrc1dre9p56288r2nz103e05m68isns.org/]utcqonzpzsm[/url] <a href="http://www.g0hrc1dre9p56288r2nz103e05m68isns.org/">atcqonzpzsm</a> tcqonzpzsm http://www.g0hrc1dre9p56288r2nz103e05m68isns.org/
01 February, 2021
tcqonzpzsm
Thanks, This helps for me
06 February, 2021
joyanto barmon
How to show images in qweb (odoo 11) ? [url=http://www.gw699rqlctc118048tj0xuxq67n813k0s.org/]uwpqlsmvhvb[/url] <a href="http://www.gw699rqlctc118048tj0xuxq67n813k0s.org/">awpqlsmvhvb</a> wpqlsmvhvb http://www.gw699rqlctc118048tj0xuxq67n813k0s.org/
18 February, 2021
wpqlsmvhvb
How to show images in qweb (odoo 11) ? oimhnmtdw http://www.gy6t066040a75101xwf0hwyp7ocqy2z4s.org/ <a href="http://www.gy6t066040a75101xwf0hwyp7ocqy2z4s.org/">aoimhnmtdw</a> [url=http://www.gy6t066040a75101xwf0hwyp7ocqy2z4s.org/]uoimhnmtdw[/url]
20 February, 2021
oimhnmtdw