add imagesizeattr setting #20

if enabled, inserts witdh and height attributes into img