Skip to content

Instantly share code, notes, and snippets.

@xwero
xwero / html.php
Created March 31, 2011 08:07
Process image before generating the tag
<?php defined('SYSPATH') or die('No direct script access.');
class HTML extends Kohana_HTML{
/**
* Process image before creating tag
*
* @param string $file master file
* @param string $processed_file file to display
* @param array $attributes with extra processing attributes
* @param type $index