Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Why do e-mail images not load correctly on my Odoo but do on the Odoo website?

Subscribe

Get notified when there's activity on this post

This question has been flagged
11 Replies
17901 Views
Avatar
Yenthe Van Ginneken (Mainframe Monkey)

Hey everybody

When I make  a demo account on the Odoo website and set up the incoming and outgoing email servers and then send a e-mail everything works fine. My files load perfect and everything is as it should be.
The e-mail from the official Odoo demo looks like this:

When I do exactly the same from my own website the images do not work.
The e-mail from my website looks like this:

I've been looking some further, at the code, and I think that the image URL's are not 'build' correctly.
Image URL from my working Odoo demo account:
https://ci3.googleusercontent.com/proxy/ISSVwvY1LwTIvbQZNg3RaCGXhaj9J-RGDN9PUWA9C9IqrsOuJBiCXOy4hwsk8OhKMU7BZd5YpwQVu3uE6Q5K5fz6Ro8BYogPtzqqVcebkhXKRGlcywaTSiy_EAoJ4AI=s0-d-e1-ft#https://test1234567.odoo.com/website/image/ir.attachment/30_10a9287/datas

Image URL from my custom website, where the image is not loaded:
https://ci4.googleusercontent.com/proxy/Ps6q0Du7Xfum6u22uLb0qfxsM2AkUFmuZmwFDOqrRdmNrJ6uxkszCXlEFrfOwsj_Ne3mwtLqrxRyI4cgfY0HHPSWWlQH9nq4PgQN3z5M-bunCEX1T1fg99LtSKTfTH0=s0-d-e1-ft#http://www.yenthevg.com:8069/website/image/ir.attachment/51_017df56/datas

Could anybody tell me why/how this happens and how I can fix this please?
None of my custom images work in my own website but they do work at the official Odoo demo..

With kind regards
Yenthe

2
Avatar
Discard
Yenthe Van Ginneken (Mainframe Monkey)
Author

I'm still really looking for a solution.. the googleusercontent seems to be going wrong. Looks like an URL or rights problem for the resources I guess. Any solutions or anybody else having this problem?

Pau Ubach

Can you access http://www.yenthevg.com:8069/website/image/ir.attachment/51_017df56/datas?

Pau Ubach

Have you tried developer tools in Chrome or Firebug to check where is it trying to load the img from, and if you can access the image on this link?

Yenthe Van Ginneken (Mainframe Monkey)
Author

I can only open and view the image from the URL in my chrome, after having opened Odoo. It does not work in any other browser or anywhere else.. I'm not sure why I can't access or view the images though. The developer gives a longer URL which seems to be also combining the Google image proxy and Odoo location, as seen in this link: https://ci4.googleusercontent.com/proxy/xEdNPM1xZM7aRdtINAhS_imGdBn2kvUWed5pQYdaJi4nwOD8LOFILhRWfaHno1DD8QHMj91x-v4Utj9vQeFJxqxRWaqlyBS-FTkHlhU=s0-d-e1-ft#http://yenthevg.com:8069/mail/track/16/blank.gif?db=abc

Yenthe Van Ginneken (Mainframe Monkey)
Author

If I open the mail with my debugger open and watch the console I get a 404 by the way. So the image isn't even found on my server/Odoo.. Any ideas?

Pau Ubach

Focus on the 2nd link. I don't think the change of URL is a problem. Check why it generates the 404, or try to upload images to another folder.

Avatar
Ing. Daniel Blanco
Best Answer

I think the problem comes from the domain setting. But not only this; there is a patch that is recommended to apply. Take a look here:

http://github.com/odoo/odoo/issues/738


Try this, and tell me if it works for you.


0
Avatar
Discard
Avatar
Emipro Technologies Pvt. Ltd.
Best Answer

Hello,

By default when you upload Images Odoo  optomise it and make it to less size. So when you upload the image, select this option.

0
Avatar
Discard
Yenthe Van Ginneken (Mainframe Monkey)
Author

@Hiren I've tried your answer but this doesn't solve my problem. Images still do not show up on my e-mail and the links are still not working behind it

Timo Goosen

Try uploading the images using a URL? I assume you are on a dev server locally. Some images won't load if they point to a url on the local network even if you are on that network.

Yenthe Van Ginneken (Mainframe Monkey)
Author

Timo, you're right that uploading images by URL works! Sadly they want to be able to directly upload in Odoo and use those images in the mail campaigns..The problem only seems to occur when uploading on our VPS. Do you happen to know a solution for the local network to make it work?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now