add image_class support for smart links