put class in images