Add classes to all images.