Add baseURL support for image loading.