Importing images on products

I recently wrote some python code to upload an image using the API but because of a bug in Dolibarr it doesn’t work.

Does anyone heve have php code I could use instead?

Hi,
I wrote an external module to do this.

It’s in french but i hope it will help.

Arg, i cant post link…
Look for “faites-le-vous-meme-module-pour-upload-des-images-sur-le-serveur” on the french forum

here is the link :