diff --git a/src/Plugin/media/Source/ImageWithExif.php b/src/Plugin/media/Source/ImageWithExif.php
index 23af130666f9cf659ad1a3fc32e4766880571e6f..314a8c2ac8c0b499790e5e1e264d952e19c4b28b 100644
--- a/src/Plugin/media/Source/ImageWithExif.php
+++ b/src/Plugin/media/Source/ImageWithExif.php
@@ -160,7 +160,8 @@ class ImageWithExif extends Image {
    *   if the data can't be read.
    */
   protected function getExif($uri) {
-    return exif_read_data($uri, 'EXIF');
+    $file = \Drupal::service('file_system')->realpath($uri);
+    return exif_read_data($file, 'EXIF');
   }
 
   /**