A simple method to synthesize triangular silver nanoparticles by light irradiation.