Size of pictures in DOCX

Dear Support,

We are generating with Plumsail Documents a report, which has a lot of picture.
We would like that all pictures has the same width. See attachment: Correct size.png

We have tried several settings, but sadly we cannot achieve what we want:
1. Fixed size image using the parameter from Plumsail
{{Foto1}:picture(320)} - Because of the different DPI of the pictures, we get a totally different size. See attachment: Fixed size image.PNG
2. Fixed size image using the settings from Word
The pictures does not resize, the overflow is hidden. See attachment: Fixed size table.PNG

Is there any other option to achieve a fixed image size?

Hi @nataliWinOn365,

Could you share a docx sample with a couple of you pictures for me? I'll do some tests and either advise a workaround or ask the developers if we can improve the resizing.

Best regards,
Petr
plumsail team

Please find attached the template and the pictures. Template_Restaurant_Check_Natali.docx (13.9 KB) Picture1 Picture2

1 Like

Hello @nataliWinOn365,

You can place a dummy picture in the docx template and add the picture tag to the Alt text of the dummy picture.

Then replace it with real pictures:

The result:

Best regards,
Petr
Plumsail team