Implemented correct handling of images for specimen. Still needs fine tuning.