Issue with Image in the merge field- Aspose Words 23.1

Issue with Image in the merge field- Aspose Words 23.1

We have a logo in the header section in a document and which is rendering through a merge field, dynamically from the DB.
In Aspose.Words 11.8 version the image was getting displayed properly in the header section irrespective of the actual size of the image.
However, in 23.1 it is not loading correctly. If the image size is large, the image is getting loaded in the same size and it is not fit in the header section. So unable to view the image completely.

I have provided size and height explictly in the html -“< img>” tag for few documents. It works fine.

Do we have any generic code level fix for this issue?

@Febinbabu Could you please attach your sample template, code and data that will allow us to reproduce the problem on our side. We will check the issue and provide you more information.
Also, it would be handy of you attach the current and expected output documents for our reference.