Insert img tag with width and height property.
Put this plugin files into $HOME/.vim directory. This plugin is required ImageMagick.
g:magtag_insert_posInsert img tag position. 0: after cursor (default), 1: before cursor
g:magtag_html_templateTemplate for html image tag
g:magtag_php_templateTemplate for php image tag
g:magtag_slim_templateTemplate for slim image tag
g:magtag_eruby_templateTemplate for eruby image tag
let g:magtag_html_template = '<img src="%s" width="%d" height="%d" alt="">'
let g:magtag_php_template = '<img src="<?php the_img( ''%s'' ); ?>" width="%d" height="%d" alt="">'
let g:magtag_slim_template = '= image_tag "%s", width: %d, height: %d, alt: ""'
let g:magtag_eruby_template = '<%%= image_tag "%s", width: %d, height: %d, alt: "" %%>':MagTag hoge.jpg