What do you think about encapsulating this logic as an `image` method? Something like `image.toUrl()`. I imagine we'll have to do this in other places so I think it'd be better to have it on the model.