How do I get the active theme path in a view?
You can do by

global $base_url;
$theme = \Drupal::theme()-&gt;getActiveTheme();
$default_image_url = $base_url.'/'. $theme-&gt;getPath() .'/images/image.jpg';