Hello,
External files can be embedded in DOCX templates. phpdocx doesn't change the contents of a template when doing replacements unless they are requested to be done using the API of the library.
Transforming DOCX to PDF may not include the embedded external files.
We recommend you send the DOCX to contact[at]phpdocx.com so we can check it.
Regards.