A Shanghai-based artist was detained on criminal charges yesterday after publishing an image that some speculate was meant to compare Chinese President Xi Jinping to Adolf Hitler.