title: Export grid with images - YII2 gridview widget
body: <p>I am exporting the data in Yii2 using ExportMenu widget of Kartik.</p>
  
  <p>When I export the xls, I can see the rows but without images, the images are shown via <code>&lt;img&gt;</code> tag and the images are in one of the upload directories.</p>
  
  <p><a href="https://i.stack.imgur.com/KOpSY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KOpSY.png" alt="enter image description here"></a></p>
  
  <p><strong>This is how my table looks like:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/2pNXU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2pNXU.png" alt="enter image description here"></a></p>
  
  <p><strong>That's how The export code is written:</strong></p>
  
  <pre><code>   echo \kartik\export\ExportMenu::widget([
          'dataProvider' =&gt; $dataProvider,
          'columns' =&gt;$exportColumns
      ]);
  </code></pre>