<b:with value='data:post.featuredImage.isYoutube ? resizeImage(data:post.featuredImage.youtubeMaxResDefaultUrl, 945, "945:600"): "https://1.bp.blogspot.com/-aR5w9KXuWGU/XhSDNRAVuhI/AAAAAAAAHG8/dLxcaZxSgh0v85JG0mWRMQyEwqMgpL1_gCLcBGAsYHQ/w420-h280-c/no-image.jpg"' var='highRes'>
  <b:with value='data:post.featuredImage ? data:highRes : "https://1.bp.blogspot.com/-aR5w9KXuWGU/XhSDNRAVuhI/AAAAAAAAHG8/dLxcaZxSgh0v85JG0mWRMQyEwqMgpL1_gCLcBGAsYHQ/w420-h280-c/no-image.jpg"' var='isSource'>
  <a expr:href='data:post.url'>
  <b:include data='{image: data:post.featuredImage,
    imageSizes: [512, 640],
    imageRatio: "640:360",
    sourceSizes: "(min-width: 954px) 842px,
    (min-width: 801px) calc(640vw - 640px), 
    calc(512vw - 512px)",
    enhancedSourceset: data:isSource}' name='responsiveImage' />
  </a>
  </b:with>
</b:with>
That is my code, works well but when the image is missing the url remains empty.
 
    