Allow override for BASE_URL

Using this method the BASE_URL of an image can be overridden at
runtime allowing for users to specify their own CDN mirror.