Welcome Guest, Not a member yet? Register   Sign In
Image not showing in codeigniter 4
#6

(11-06-2019, 06:40 PM)John_Betong Wrote: I would hard a guess and think the image is being called from the public folder... If so and you really want to use the WRITEPATH folder then try using s relative path which should be converted to an URL:

<img src="../writable/uploads/avatar/avatar_1.jpg">

I will try it to make sure it works when I am back on the desktop.

As mentioned far better to group all callable  files into a common folder:

/public_html/assets/
css/
img/
js/
svg/

This is not working..
Reply


Messages In This Thread
Image not showing in codeigniter 4 - by durairaj - 11-06-2019, 12:19 AM
RE: Image not showing in codeigniter 4 - by durairaj - 11-06-2019, 09:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB