Quantum images in nonlinear optics