Odoo Help


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.


How can I add product images from filestore ?

Ahmet Altinisik
on 2/13/13, 6:10 AM 5,561 views

I have around 14K products on my DB and I would like to add product images to them. However I dont want to include all of this images in my daily database backups since is is very unnecessary to backup images daily and an alternate location backup will took so long. I use same image for more than one product.

I just made it possible with attachments by selecting filestore in knowledge configuration. Is there such a configuration so I can use images in filestorage or web url as product images ?

Are you using 6.1? With 6.1 a filestore is possible, both external aswell internal filestore. As far as I know filestore is discontinued or not working in 7.0 . It seems to be the only way to store in 7.0 is in binaries in the database.

on 2/13/13, 6:16 AM

I am currently using 6.1 and hopefully update to the 7.0. I am currently using filestore for attachments howver I am asking how to use filestore for product images.

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/13/13, 9:16 AM

I can't upload product images from local repository in openERP 7.0 alpha version. We are using product_images_olbs add-on too. Its uploading, but can't save it. In openERP 7.0, where images will store? Can u help me on this?

on 2/14/13, 4:25 AM

Hello, everyone, Can somebody guide me how to import images for products and tell me if its better import products first and then the products images.

Scalaria S.A.S., Julián Lozano
on 2/15/13, 12:15 PM

Julian you should create a new question for that rather than asking here.

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/15/13, 5:02 PM

Ahmet, did you find a solution for this yet? I would also like to use the filestore for my product images on version 7.0 but didn't find any way to do so. Thanks Maikel

Michael Schmidt
on 5/13/13, 7:41 AM

In Version 6.1, You can upload your all images using filestore for attachment. It is possible to use 'Filestore' option of storage media configured at Knowledge -> Configuration -> Document Management -> Storage Media. This would store files/attachments on your local disk at the location specified or /openerp/filestore folder by default.

This is no longer valid for my install of version 8. is there a module that enables it ? There is a new question here https://www.odoo.com/forum/help-1/question/how-to-use-the-filesystem-instead-of-storing-images-in-the-database-with-base64-63108 where the user is looking for the same solution. David

David Myers
on 10/24/14, 4:10 AM
Ivan Yelizariev
On 3/6/15, 11:33 AM

I have made a module to store product images on a disk: https://github.com/yelizariev/addons-yelizariev/tree/8.0/product_image_filestore

It uses ir.attachment table to store product images.

It will delete binary images columns, so it is necessary to export product images before installing and then import images back after installing the module.

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

6 follower(s)


Asked: 2/13/13, 6:10 AM
Seen: 5561 times
Last updated: 3/21/15, 7:01 AM