diff --git a/packages/edit-site/src/components/media/index.js b/packages/edit-site/src/components/media/index.js
index 7df6c4f882842..e103e6bcddb5b 100644
--- a/packages/edit-site/src/components/media/index.js
+++ b/packages/edit-site/src/components/media/index.js
@@ -8,18 +8,16 @@ function Media( { id, size = [ 'large', 'medium', 'thumbnail' ], ...props } ) {
const currentSize = size.find(
( s ) => !! media?.media_details?.sizes[ s ]
);
- const mediaDetails = media?.media_details?.sizes[ currentSize ];
- if ( ! mediaDetails ) {
+
+ const mediaUrl =
+ media?.media_details?.sizes[ currentSize ]?.source_url ||
+ media?.source_url;
+
+ if ( ! mediaUrl ) {
return null;
}
- return (
-
- );
+ return ;
}
export default Media;