Please describe how to achieve the best structure |
[eluser]MellanCOOLic[/eluser]
ok. i will give more explains about my problem: this is how my directory system should look like: -public_html --system ---application ----views -----images -----css -----view1.php -----view2.php -----view3.php ....etc... due to the fact that i'm getting all the html's done by a friend, the views file (view1.php, view2.php, view3.php, etc.) have their images linked like this: Code: <img src="images/image1.jpg" width="240" height="9"> if i want to check the pages with my browser.. this is what my address looks like: Quote:http://localhost/project/index.php/homeor Quote:http://localhost/project/index.php/home.html But all my images from the views.. are missing on browser.. because their link reference is looking like this: Quote:http://localhost/project/index.php/images/image1.jpg The question is: Is there any way to make my images viewable in browser without interfearing with the phisical directory place and without changing their src link on each and every image from view1.php, view2.php, view3.php ...etc .. ? Maybe a rooting.php sollution ? or an .htaccess one ? |
Welcome Guest, Not a member yet? Register Sign In |