Electrostatic images by multipole expansion