[eluser]esra[/eluser]
One method is to use the assets_helper file mentioned on the forums.
You can also use absolute urls in your template or master view using the base_url() function in URL helper. For example,
"<?=base_url();?>/assets/images/image.png"
"<?=base_url();?>/assets/css/style.css"
"<?=base_url();?>/assets/js/common.js"
The above assumes a directory structure like:
assets/
assets/css/
assets/images/
assets/js/
system/
index.php
You can also create your own helper with custom functions for your storage locations, but assets_helper already does this.
Some of the template libraries, such as YATS offer their own solutions for handling assets storage.