Why won't my images rotate successfully in the gallery?

I am finding it difficult to rotate images through 90 degrees once added to the gallery. The image appears to rotate but only a small portion of the image shows coloured, the rest remains pale whilst the timer continues to rotate.