Welcome Guest, Not a member yet? Register   Sign In
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, 03:09 AM
Attaching images to my web-page - by El Forum - 03-21-2011, 09:16 AM
Attaching images to my web-page - by El Forum - 03-21-2011, 11:20 AM
Attaching images to my web-page - by El Forum - 03-22-2011, 03:04 AM
Attaching images to my web-page - by El Forum - 03-22-2011, 03:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB