diff --git a/packages/block-library/src/embed/util.js b/packages/block-library/src/embed/util.js index 5161d13523c6b..085ea4b22ff8c 100644 --- a/packages/block-library/src/embed/util.js +++ b/packages/block-library/src/embed/util.js @@ -51,8 +51,9 @@ export const isFromWordPress = ( html ) => { export const getPhotoHtml = ( photo ) => { // 100% width for the preview so it fits nicely into the document, some "thumbnails" are - // actually the full size photo. - const photoPreview =

{

; + // actually the full size photo. If thumbnails not found, use full image. + const imageUrl = ( photo.thumbnail_url ) ? photo.thumbnail_url : photo.url; + const photoPreview =

{

; return renderToString( photoPreview ); };