modify image with class