I think it would be better if this behaved like `image_tag`. Namely, the html class and alt should be passed in options with keys `class` and `alt`.