Near-field scanning optical microscopy was used to observe high-resolution images of confined modes and photonic bands of planar photonic crystal (PPC) nanocavities fabricated in active InGaAsP material. We have observed the smallest optical cavity modes, which are intentionally produced by fractional edge dislocation high-Q cavity designs. The size of the detected mode was roughly four by three lattice spacings. We have also observed extended dielectric-band modes of the bulk PPC surrounding the nanocavity by geometrically altering the bands in emission range and eliminating localized modes out of the emission range. (C) 2003 American Institute of Physics.