Welcome Guest, Not a member yet? Register   Sign In
Image, CSS, Js, Path

Where should I put my assets folder (images, styles, scripts, etc) ?
How I call it in my view, coz I'm try to used "./assets/images/1.jpeg" failed (my assets folder is inside application folder and at the same level with mvc folders)
Thanks in advance Smile

put url helper on your autoload file, then you can use something like ...
<img src="&lt;?php echo site_url('assets/images/1.jpeg') ?&gt;" alt="filename" title="caption" />

put your assets folder in same level with 'application' and 'system'...

Theme © iAndrew 2016 - Forum software by © MyBB