Add images' classes