Skip to content
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

Invalid image: zip:///tmp/......../iamge4.png #2585

Open
Loai-Hassan opened this issue Mar 17, 2024 · 0 comments
Open

Invalid image: zip:///tmp/......../iamge4.png #2585

Loai-Hassan opened this issue Mar 17, 2024 · 0 comments

Comments

@Loai-Hassan
Copy link

Describe the Bug

when i laod docx files it shows Invalid image: zip:///tmp/......../iamge4.png which is very weird and when i followed the code it leads to the library adding and image and triggering the error

and it happens with 90% of files

Specially the ones i made

some samples online work

but when i make a file it shows that error

Steps to Reproduce

<?php
require __DIR__ . '/vendor/autoload.php';

        $phpWord = PhpWordIOFactory::load($filePath);

Expected Behavior

the file should be loaded

Current Behavior

Invalid image: zip:///tmp/......../iamge4.png

Context

Please fill in your environment information:

  • PHP Version: 8.1 / laravel
  • PHPWord Version: 1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant