title: how to display uploaded images in codeigniter 4
body: <p>In Codeigniter 4, how to display uploaded images. Is there any permission needed to be given?</p>
  
  <p>I uploaded images in writable/uploads/avatar in CI4 project
  when I check on the inspect element and  copy the link and paste on the browser the images show.</p>
  
  <pre class="lang-php prettyprint-override"><code>    &lt;pre&gt;
          &lt;img src="&lt;?=WRITEPATH.$list-&gt;avatars?&gt;" class="img-radius" alt="User- 
       Profile-Image"&gt;
          &lt;img src="&lt;?=base_url()?&gt;/writable/&lt;?=$list-&gt;avatars?&gt;" class="img- 
      radius" alt="User-Profile-Image"&gt;
      &lt;/pre&gt;
  </code></pre>
  
  <p>please explain how to display images</p>