• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attaching images to my web-page

#5
[eluser]2mato[/eluser]
[quote author="Atharva" date="1300802653"]You can use img function in html helper
Code:
$this->load->helper('html');
echo img('images/picture.jpg');

So you don't have to use base_url() each time. More info here[/quote]

Thanks that work very good .... :-)


Messages In This Thread
Attaching images to my web-page - by El Forum - 03-21-2011, 04:09 AM
Attaching images to my web-page - by El Forum - 03-21-2011, 10:16 AM
Attaching images to my web-page - by El Forum - 03-21-2011, 12:20 PM
Attaching images to my web-page - by El Forum - 03-22-2011, 04:04 AM
Attaching images to my web-page - by El Forum - 03-22-2011, 04:35 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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