You will get image by below code . I hope you have image name which you want there.
public function __construct(
\Magento\Framework\View\Asset\Repository $assetRepo,
){
$this->assetRepo = $assetRepo;
}
public function testImageUrl(){
$url = $this->assetRepo->getUrl("Namespace_Module::image.png");;
return $url;
}
Best Answer
You will get image by below code . I hope you have image name which you want there.