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

Changed logic that determines the extension of image file #1

Conversation

gatis-ozols
Copy link

Currently the logic to determine the extension of resulting zip image file was based on the extension of source file. I had a situation where source file is an image but does not have an extension.
I basically copied this solution from src/PhpWord/Element/Image.php.

…ment to depend on MIME type. This same logic is used in Element/Image.php
@SailorMax SailorMax merged commit ff512f4 into SailorMax:template_processor__set_image_value Jan 18, 2018
@SailorMax
Copy link
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants