The following patch provides a rough implementation of static_image. The code is really simple and the only special options are:
- :controller and :action, used to build the to-be-shown image's URL (default values: 'auto-admin', 'edit';
- :src, overwrite the previous two options;
- :size, is the same :size option of img_tag helper, i.e., "XxY" becomes width=X and height=Y in the produced HTML;
- :alt, to specify the alt img's attribute (default: to_label()'s output).
Everything else is just passed to the tag helper and becomes an img's attribute.