Couldn't you do this with HtmlHelper::image()?