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

[eluser]j4zzyh4ck3r[/eluser]
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
#2

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

[eluser]toopay[/eluser]
put your assets folder in same level with 'application' and 'system'...




Theme © iAndrew 2016 - Forum software by © MyBB