A group of men have been charged with performing the Nazi salute after police investigated a photo of them performing the prohibited gesture circulating online.