Resize and rotate images from Picasa according to EXIF data.

This fixes rotation for images from Picasa.