We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to set image size when using docxImage? | Forum

Topic location: Forum home » Support » General Questions
Brian Bennett
I using the docxImage to display a picture, but I found the size was the picture size even I set the size in the wrod document. How to set image size when using docxImage?
Brittany Wang
Currently, the recipe always uses the size of the dynamic image provided through templating engine. Not the placeholder's size.
Alyvia Lynn
Alyvia Lynn Mar 3
I understand your frustration with setting the image size when using docxImage. It can be tricky when the size in the Word document doesn't seem to affect the displayed size. One approach you could try is adjusting the size programmatically within your code. Check the documentation or look for methods provided by the library that allow you to specify the image size directly.Additionally, if you encounter any issues with large file sizes, consider using jpg compress to optimize them. This tool can help reduce file sizes while preserving image quality, making it easier to manage and share your documents with images.