How do I make a picture rotate.

Oh, and how do I make a thing move along an angle (45 degrees would equal moving up and right....)