Copy and paste this code block on your active theme’s functions.php file:
//Getting image
$image = file_get_contents("https://wpcargo.com/demo/wpcargo-shipping-rate/wp-content/plugins/wpcargo-frontend-manager/assets/images/wpcargo-logo.png");
//Convert image to base 64
$imagedata = base64_encode($image);
$imgpath = '<img src="data:image/png;base64, '.$imagedata.'">';
echo $imgpath;