Fix base url issue for images.