How can I automatically rotate a picture?
ImageCache Actions seems to provide an "autorotate" feature. If server has  Exif PHP extension enabled, and user's camera saved orientation in EXIF data, it automatically rotates image correct side up.