only extract images if we get a valid response