Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
8456 Visualizzazioni

How can I take a folder of our product images and easily import them into our database with our products? We have 22,000+ products so doing them manually is not an option. I tried following this post: \how to import images for products in binary to the database but when I run the script it only gives the code for the first item in the list and the format refuses to work properly when importing. Is there another way to convert and import all of the images in? The images are all named (internal-reference).jpg so they can line up easily with the products. Using self hosted V10 enterprise on Ubuntu.

Avatar
Abbandona

you can import it with an import csv where image is base64.encodestring(img.read())

Autore

how can I easily convert the images files to the base64 in the csv file?

Risposta migliore

This seems quite good: https://www.odoo.com/de_DE/forum/hilfe-1/question/how-to-import-images-for-products-in-binary-to-the-database-1868

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
nov 24
14010
12
dic 23
39307
4
feb 18
4561
2
mag 25
688
1
nov 24
1042