summaryrefslogtreecommitdiff
path: root/vendor/league/glide/docs/1.0/api/orientation.md
blob: 63ffef42db96f1a2d38cf849daeaed007597b40b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
layout: default
title: Orientation
---

# Orientation

## Orientation `or`

Rotates the image. Accepts `auto`, `0`, `90`, `180` or `270`. Default is `auto`. The `auto` option uses Exif data to automatically orient images correctly.

~~~ html
<img src="kayaks.jpg?h=500&or=90">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?h=500&or=90)](https://glide.herokuapp.com/1.0/kayaks.jpg?h=500&or=90)