I am working with phpoffice/phpword downloading document as docx. I want to add a remote image for my document passging src as the image url.
https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885_960_720.jpg
this is the image url. In my src/PhpWord/Shared/Html.php, there is a condition to check is_file() which check for the given src path.
I am getting always false, then it is returned a "Could not load image" exception. How to fix this issue.