add a guard for placeholder images