In this paper, a new algorithm is proposed for image scrambling based on magic cube and chaotic. The proposed algorithm based on the idea of circulate shift regards some consecutive pixels in a row or a column in the image matrix as a group of bianry and scrambles the image by shifting these groups of bianry. And the number of shifting is controlled by the chaotic sequence generated by Logistic-map. Simulation shows that the proposed algorithm has good scrambling performance and can resist all kinds of attacks effectively.