Fill a docx with an image

Hello

I am using a Word template module “Fill a document with a batch of data”.
I am looking for a way to insert an image into that file.
That image is hosted online, i can get it quite easily with a http module.

Is there a way to do that ?
Thnaks

Hi @Fanch

With word I don’t know but I use Google Doc
image
image

Then you can download it in docx / PDF format
image

image

1 Like

Hmmm. Reading this doesn’t show a way to insert an image.

@YannD is right. I would use the Google Doc template + download as docx.

Thanks a lot for your replies.
It seems that the word module is more efficient than google doc for creating table with several records. This is the module i use in my script.

I ll try to switch to google docs…

Hi there, I still seek a way to add photos to my Word document. As stated above, this doesn’t seem feasible with the Word module. Instead, I tried ‘converting’ the docx to Google Docs, but this changed the layout and background colors :slight_smile:

Any idea, why this is happening and how I could possibly resolve this?

Once this is done, I tried adding an image but I need to provide an index number. Any tips on how I can find these please? I tried “Get the contents of a doc” but this returns a lot of objects I don’t know which one to pick (and tried a lot of them :slight_smile: ).

Thanks in advance,
Robbert