-
Notifications
You must be signed in to change notification settings - Fork 2.7k
image width not set #1254
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
Comments
maybe you can help set: src/PhpWord/Style/Image.php in the previous release there was : P.S. translate.google :( |
Indeed, this is due to the fix for #224 $style['unit'] = \PhpOffice\PhpWord\Style\Image::UNIT_PX; Please tell me if that fixes the issue. |
resolve in my case |
@sergeizelenyi great, I'll include a fix in the next release |
It seems i still have a similar issue using phpWord v0.16 Please see : https://stackoverflow.com/questions/57867641/controling-image-size-with-addhtml-from-phpword-0-16-library Any idea ? |
Please, any clue regarding this ? |
I expected php-word to interpret width value from Actually, to solve my issue, I just remove my style attribute dynamically and add a |
This is:
a bug report
Expected Behavior
docx with table, one column with image with fixed width
Current Behavior
image with full size
Failure Information
How to Reproduce
Please provide a code sample that reproduces the issue.
Context
The text was updated successfully, but these errors were encountered: