Example Usage: <?=html::dimage(array('src' => '/path/to/image.jpg', 'height' => 200, 'width' => 200, 'maintain_ratio' => 'height'))?> <img src="/di/?f=/path/to/image.jpg&w=200&h=200&mr=height" />