[eluser]webdevguy32[/eluser]
I am calling an img src from:
/application/views/view_page
Here's the code I have tried:
Code:
<?php
$image_properties = array(
'src' => 'image/logo.gif',
'class' => 'post_images',
'width' => '200',
'height' => '200',
'rel' => 'lightbox'
);
echo img($image_properties);
echo img('image/logo.gif');
echo br(5);
?>
<img src="<?=base_url()?>/image/logo.gif" />
<img src="<?php echo site_url('/image/logo.gif'); ?>" />
Here are the directory structures where I have tried placing the image = logo.gif
Code:
-application
-image / logo.gif
Code:
-application
-application / image / logo.gif
Code:
-application
-application / views / image / logo.gif
Here's my .htaccess
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteCond %{REQUEST_URI} !-l
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
None have worked, all have displayed the image stub<broken image> and when I try going to the image uri, it 404's out.
Any help is much appreciated!