• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
load image in view

#1
[eluser]ravi_kachh[/eluser]
Hi,

can anyone tell me that how can i load image in view.
as i have the image folder path like
system/application/abc/image/

as the path is taking right but it does not showing the image.


Thanks,
Ravi

#2
[eluser]Maglok[/eluser]
You cannot put images in your CI installation directory. You need to make a dir at the root and reference that like so:

CI = system/application/something
images = images/yourimage.gif

All 'assets' like images, CSS, etc, that are not part of CI should be kept outside where you can reference them.

#3
[eluser]ravi_kachh[/eluser]
Thanks Maglok,

I will put the image folder to the root directry.
And try to access it from there.

Thanks
Ravi


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.