now you can set img.ext