add width and height arguments to imageurl

Closes #1268.

TODO:
 - [ ] add docs
 - [ ] update `image_url.py` example