changing img.attrs defaults, closes #1