title: i want to display image in select option dynamically but not working
body: <p>i want to show images in coming from database,  but its not displaying. There is no error at all even i checked with console, but if i display image out of select its works.</p>
  
  <p>How to display images?</p>
  
  <pre><code> &lt;select data-show-subtext="true" class=" selectpicker bs-select form- 
     control" data-live-search="true" data-size="8" name="drawing"&gt;
  
     &lt;option value=""&gt;&lt;/option&gt;
     &lt;?php  foreach($get_drawing as $row):   ?&gt;   
  
     &lt;option data-subtext="" value="&lt;?php echo $row-&gt;drawing_id; ?&gt;" &gt;
         &lt;?php echo $row-&gt;drawing_name;?&gt; 
         &lt;img width="22%" height="10%" class=""  src="&lt;?php 
             echo base_url('drawing/fabricator/admin_3/'.$row-&gt;image); ?&gt;"&gt;
         &lt;/img&gt;
     &lt;/option&gt;   
  
     &lt;?php endforeach; ?&gt;
   &lt;/select&gt;
  </code></pre>