add image scale,orig with .gif
optimize performance