Snappy Source assists in embedding common source files such as images, stylesheets and javascripts into your CodeIgniter application.
A complete user guide can be found in the download file
Download Snappy Source
Snappy Source v1.0
Visit the Wiki
Snappy Source Wiki
Quick Examples:
Loading Snappy Source
this->load->helper('snappy_source');
Embedding a single image
<?=snappy_image('pic.jpg', 'My Alt Tag', 'CSS Class');?>
Embedding a single stylesheet
<?=snappy_style('style.css', 'screen');?>
Embedding a single javascript
<?=snappy_script('script.js');?>
Embedding multiple images, stylesheets and javascripts can be found in the User Guide found in the download file.
Please note that this is the first helper I’ve written for CI. Any comments or suggestions would be great!
