Odoo Help


logo.png;base64, shows Internal Server Error

Md. Tanzilul Hasan Khan
on 9/21/16, 8:35 PM 772 views

I am trying to show different size of image on website. When I use following line of code, it gives me 500 Internal Server Error :

<img t-att-src="'/logo.png;base64,'" t-att-title="res_company.name" style="max-width: 200px; max-height: 150px;"/>

It seems that whenever I use base64, it gives me internal server error. How to fix it?

Can you post the complete code (seems to be truncked... because "'/logo.png;base64,'" it is no valid ! Why are you trying to use base64 if you have the path ?

And please, provide the traceback present in your logs.

Jérémy Kersten (jke)
on 9/22/16, 3:32 AM

That sound like it is not root cause of your internal error.

Just tested here: http://172938-9-0-e72b85-all.runbot10.odoo.com/page/test1

Jérémy Kersten (jke)
on 9/22/16, 3:42 AM

I was using base64 so that I could change the size of logo on website. The company logo gets resized to 183px (approx) and I needed to have bigger logo on website. I found this on forum - https://www.odoo.com/forum/help-1/question/how-change-the-logo-size-101691

Later I created image field and showed that on website.

Md. Tanzilul Hasan Khan
on 9/22/16, 3:50 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 9/21/16, 8:35 PM
Seen: 772 times
Last updated: 9/22/16, 3:33 AM