PHP Classes
elePHPant
Icontem

image

Recommend this page to a friend!

      PHP Classes blog  >  Create Microsoft Word...  >  All threads  >  image  >  (Un) Subscribe thread alerts  
Subject:image
Summary:image from relative path
Messages:3
Author:Dominique
Date:2015-10-16 04:25:24
Update:2015-10-20 14:13:55
 

  1. image   Reply   Report abuse  
Dominique - 2015-10-16 04:43:52
Can an image from relative path be inserted in the document;
Currently only images with url , i.e. <img src='http://path'> is inserted.

  2. Re: image   Reply   Report abuse  
Ashraf Gheith - 2015-10-20 05:26:53 - In reply to message 1 from Dominique
Yes it can, just give a relative path and it should work.

  3. Re: image   Reply   Report abuse  
Dominique - 2015-10-20 14:13:55 - In reply to message 2 from Ashraf Gheith
I tried without success.
I had to make some kind of str_replace src="relative_path to src="http://path in the html source code before rendering into word.