Add image size to html tag

Resolves #2