Welcome Guest, Not a member yet? Register   Sign In
Display PNG img in view not working
#1

Hi,

I put a PNG image in my public/images folder.
I created a view like below but it doesn't show me my image :
Code:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

<div>


      <img src="images/download.png"/>
      <img src="<?php echo base_url('.public/images/download.png');?>">

    </div>

</body>
</html>

What it means ?
Reply


Messages In This Thread
Display PNG img in view not working - by flav - 11-25-2021, 06:17 AM
RE: Display PNG img in view not working - by flav - 11-26-2021, 04:33 AM
RE: Display PNG img in view not working - by flav - 11-29-2021, 06:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB