Forum


Replies: 6   Views: 4879
How to embed image linked in html?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by honzakuchar  · 11-07-2011 - 16:57

Hi,
I need to embed image from HTML. I tried following:
- <img src="data:image/png;base64encodedImage" does now working :-(
- <img src="link to local disk" (it links file does not embed it)
- Then I tried MHT file format (MIME format, where is HTML + files + file list). It worked, but word alert that, document is broken. When I click repair, It worked.

Is it possible to [b]embed[/b] image that is simply linked in HTML?

Sincerely,
Jan Kuchaƙ