Odoo Help

Welcome!

This community 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.

1

How to upload images inside OpenERP server

By
chesucr
on 11/7/14, 7:58 AM 949 views

I would like to send mails with embedded images in the body of an email
Is that possible? For example I could upload them to the Knowledge module, but I don't know how to link them from outside because they are embedded in the database.

The web_ckeditor4 module load the images as base64 code in the templates, but I need to upload the image somewhere in openerp server because mail clients (yahoo mail, gmail, etc) usually block base64 code
How could I modify ckeditor to upload the images inside OpenERP?

I would like to store the images in a url like this:
http(s)://www.openerp/web/static/src/img/example.jpg

EDIT: I can't use attached images, only direct links to the location in the server

Thanks!

0
Juan José Scarafía
On 11/7/14, 12:06 PM

Hi devel,

To add images to a email you have to attach them, using the link of the bottom of the widget ("Attach a file").

Regards,

Juan José - Ing ADHOC

Thanks Juan but I need to embed the images in the body of the e-mail

chesucr
on 11/7/14, 12:17 PM

You can upload your image to a image-server and then take the HTML code or the direct link. You can try this page to upload the images: http://www.subeimagenes.com/

Juan José Scarafía
on 11/11/14, 7:34 AM

thanks for your help Juan José :), but I will try to upload the images to my OpenERP anyway. If I get it I will write in here, if not I will upload them in a server as you said

chesucr
on 11/12/14, 4:41 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/7/14, 7:58 AM
Seen: 949 times
Last updated: 3/16/15, 8:10 AM