added class to image