Set the image placeholder only if isn't nil