-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Missing header image when opening an excel file an saving it #1645
Comments
@Raemy92 I haven't tried working with a template that already contains a header image but I have tried to insert one manually. It's not working for me either. PHPSpreadsheet 1.8 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Closing. I believe this issue is resolved. For example, if I load tests/data/Reader/XLSX/issue.3126.xlsx and save it elsewhere, the output file contains the same footer image as the input file. The same is true when I add a header image as well. |
This is:
I'm using this library on a TYPO3 installation to create excel order sheets from some articles. Everything works like a charm but the image in the header disappears.
I'm using a tamplate .xlsx file with the headers (image and some text) included, insert the articles with this library and save it to another path.
When I'm opening the file the header text and the articles are correctly saved but no the header image.
What is the expected behavior?
The same header as in the template file (image and text)
What is the current behavior?
Only the header text appears. The image on the header left is missing.
What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
See code above.
I also tried to insert the image manually:
Which versions of PhpSpreadsheet and PHP are affected?
PHPSpreadSheet: 1.14
PHP: 7.2
The text was updated successfully, but these errors were encountered: