Fixes issue 524.

You can pass a string or UIImage instance to `title_image`.