class and image for epub files #2389