I am writeing a site in php with codeigniter, the imgs i have in my imgs folder in the root directory of my site, i wrote the front page of my site and all the imgs load, the view loads, all css works fine. i made a copy the view and renamed to make the next view and when i load that view, none of the imgs load in it, it is the exact same code as the fist view and it loads fine, i dont under stand this, can u please help. i am running ubuntu 12.04, codeigniter 2.1.3 with mod_rewrite
Edit:
i left broken code with out the part that worked for the other 6 imgs
this is the code that didnt work with: code from below that fixed everything but three items:
<img src="<?php echo base_url('path/to/image.jpg'); ?>">
this is the code it did not fix
<?php
if(!$this->session->userdata('is_logged_in')){
echo '<BR />';
echo '<a href='.base_url()."main/login".'><img src="imgs/log_in_0.png" /></a>';
echo '<BR />';
echo '<BR />';
echo '<a href='.base_url()."main/signup".'><img src="imgs/sign_up_0.png" /></a>';
echo '<BR />';
}
?>
this css to load background:
body
{
background-image:url('imgs/green_tex.jpg');
}