An electrostatic ion lens to spatially orient parent molecules and to image the angular distribution of photofragments is presented. Photodissociation of laboratory-oriented molecules makes it possible to study the dynamics of the dissociation process in more detail compared to photodissociation of nonoriented molecules. Using the velocity map imaging technique in combination with the slice imaging technique, the spatial recoil distribution of the photofragments can be measured with high resolution and without symmetry restrictions. Insertion of orientation electrodes between the repeller and the extractor of a velocity mapping electrostatic lens severely distorts the ion trajectories. The position where the ions are focused by the lens, the focal length, can be very different in the directions parallel and perpendicular to the inserted orientation electrodes. The focal length depends on the exact dimensions and positions of the electrodes of the ion lens. As this dependence is different in both directions, this dependence can be used to correct for the distorted ion trajectories. We discuss the design of an electrostatic ion lens, which is able to orient parent molecules and map the velocity of the photofragments. We report sliced images of photofragments from photolysis of spatially oriented C D3 I molecules to demonstrate the experimental combination of molecular orientation and velocity map slice imaging with good resolution. © 2005 American Institute of Physics.