How come CodeIgniter's img tag doesn't fill the "src" properly?
Posted
by Shamoon
on Stack Overflow
See other posts from Stack Overflow
or by Shamoon
Published on 2010-03-17T00:40:25Z
Indexed on
2010/03/17
0:41 UTC
Read the original article
Hit count: 309
codeigniter
My code is as follows:
$image_array = array(
"src" => base_url() . "img/ajax-bar_loader.gif"
);
echo img( $image_array );
But when I debug in FireFox, the tag is:
<img original="http://www.mysite.com/img/ajax-bar_loader.gif" style="">
I'm not really sure where that "original" tag came from, but it doesn't render my images. Any ideas?
© Stack Overflow or respective owner