add class ImageViewer et ImagesDirectory