Add CSS classes for image