Skip to content

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