A device is for imaging an eye and is wearable on the object to be examined or otherwise able to be placed to the front of an eye or eyes. When the device is switched on, it automatically performs the imaging such that all images are useful. The device comprises a camera arrangement with optics and a camera sensor, and an illumination arrangement. The device comprises a control arrangement that switches the camera arrangement to take automatically one or more images of the eye, when the device is in front of the eye. The device comprises an image analyzing arrangement or a connection to an image analyzing arrangement that is provided for detecting a reflection in the image taken by the camera arrangement or in the image area of the camera arrangement and for transmitting the information about the detected reflection to the control arrangement which is provided thereby to repeat or decline imaging. When repeating the imaging the control arrangement alters the parameters of imaging.