Forum


Replies: 8   Views: 4234
Add background image for first page
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 wwu_ivv_wiwi  · 02-02-2015 - 16:17

When I use addbackgroundimage($img), the image is added to each page, regardless of sections. How can I add the background image only to my first page? Also, how can I scale the Image resp. add width and height? Right now the image is larger than A4, so only the top-left part of the image is shown. I would like to have it fit to page. Thanks in advance! Edit: Using 4.5 Corporate with Namespaces