url and media-url formatting