Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7608 Vizualizări

Hello everybody,

Do you guys know how to upload image from PHP to OpenERP?

Imagine profil
Abandonează
Cel mai bun răspuns

On the database level, the image is just a huge string of base64 encoded information. Use the PHP equivalent of the python base64 to encode your image and then send it as you would any other variable.

This is what that looks like in python:

http://www.programcreek.com/2013/09/convert-image-to-string-in-python/

Imagine profil
Abandonează