image link |
[eluser]Ray Luevano[/eluser]
[quote author="Dreich" date="1201801986"]Where is image http://codeigniter.com/themes/forum_them...i_logo.gif actually (physically) located?[/quote] Tengo la carpeta de imagenes dentro de la carpeta CodeIgniter y utilizo de la siguiente manera la funcion (I've got the images forder in \CodeIgniter\images, an I use the img function like this) CONTROLLER Code: $info['image_add'] = array('src' => 'images/add.png'); VIEW Code: <?= anchor('Empresa/altas', img($image_add));?> Espero les sirva :-)
[eluser]fasc[/eluser]
hi. is late but, i was having the same needs and found this post. in your code "Sr. Research Associate" I dont your name i had to change this line Code: $image_url = $this->ci->config->item('img_url').$image; Code: $image_url = $ci->config->item('img_url').$image; is that correct? |
Welcome Guest, Not a member yet? Register Sign In |