Electrically switchable two-dimensional photonic crystals made of polymer-dispersed liquid crystals based on the Talbot self-imaging effect