I has some image file located outside web accessible folder.
I use this code in controller to get the image file and display it in a page.
My problem is when i use the same page as content for kartik mpdf extension to generate pdf, the page is displayed as a generated pdf, but without the image.
How to display the image in the generated pdf?
I already test display image located inside web accessible folder using Html::img() method, it work just fine. So problem is only with image from Yii::$app->response->sendFile($filePath).