added CSS classes to all images