Hard-code placeholder image and give some more useful console error messages for invalid content.