Prepare image url.

In case that we miss the trailing slash, it also allows us to use `base url()` to create the url.