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

(This post was last modified: 11-25-2021, 12:41 PM by captain-sensible.)

play along the lines of

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



the path above should be inside public images->download->download.png

so ypu shouldn't need to quote public


a quick tips is when viewing web page and iimage not showing , go to "view source" in browser and see what the actual path that is being
quoted in view source and if it makes sense
CMS CI4     I use Arch Linux by the way 

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 captain-sensible - 11-25-2021, 12:27 PM
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