• File: orientation.md
  • Full Path: /home/masbinta/public_html/core/vendor/league/glide/docs/1.0/api/orientation.md
  • File size: 425 bytes
  • MIME-type: text/plain
  • Charset: utf-8
---
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)