-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert image in TemplateProcessor #1079
Comments
I do not think you will be able to achieve this with the TemplateProcessor as as far as I know it does not allow you to add images to the archive. |
you can try out the pull request #1084 which seems to be doing exactly what you want |
You can add a dummy image with the right size and location (for example, in the footer), then open your docx with zip, and see where your dummy file is located (relative path and name)
For these actions, you need to save to disk. $templateProcessor->saveAs(...) |
@FBnil, |
When I create a file through TemplateProcessor, it does not add images.
I would like a simple example of how to do this. The idea is to put a logo on the document that repeats on every page
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: