I added support for CORS enabeled images

Like I said, I don't think a setter is going to work so I added an extra boolean param to the fromUrl method.