However, you might need a more complex validation on the {image} string - it might be empty, it might be a whitespace or it might be something that is not a URL. If that was the case, I would do the validation in JavaScript, store the result in showImage boolean for each list item, and finally use a <WhileTrue Value="{showImage}"> inside of the <Each>.
It shows both WhileString use, and a basic JavaScript fetch operation that ends up populating an Observable list with Article objects. You should find that part especially helpful for injecting that image-url-validation.