better way to replace placeholder images