Forum


Replies: 3   Views: 190
Replacevariablebyhtml and img with a float
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ninof  · 05-02-2024 - 12:50

Thank you.

I am super impressed by your debugging - that mod certainly worked!

In my use case I am using a Word template to create a template so the Alt attribute is important to my application. I need to add alt='|img_qrcode|' (including placeholders) but replaceVariableByHTML does not carry the alt value but instead replaces it with the name of the image file ie alt='qrcode.png'.

Is this by design or is there a way to do this?

Regards