fix imagesizeattr, etc. #20