Enable to specify width and height map in template tag

Resolve #3.