Auto-orient generated thumbnails