Sequential Rotation of Images in Directory
More information about the code is available
online
.