put class on image