diff --git a/src/Service/UWService.php b/src/Service/UWService.php
index b5ceca7da6a13e33f62c315af9cdc35cfd706f2f..f9a4df6951be95d36390bcfacd45456b341ad118 100644
--- a/src/Service/UWService.php
+++ b/src/Service/UWService.php
@@ -309,12 +309,6 @@ class UWService implements UWServiceInterface {
           else {
             $media_flags['has_media'] = TRUE;
           }
-
-          // If the type of media is image, the header needs to
-          // go inside the media, so set the flag.
-          if ($type_of_media == 'image') {
-            $media_flags['show_header_in_media'] = TRUE;
-          }
         }
 
         // Special case is contact, we need to look if there