allow adding class to image