## Imgix

- imgix.com
- Make your images available; get different versions or maniuplations via URL parameters

Manipulations

- Original Image - Glacier National Park
  `https://cs12.imgix.net/gnp06.jpg`
- Different widths:
  - `?w=240` - 240 px wide (aspect ratio maintained)
  - `?w=480` - 480 px wide
  - `?w=960` - 960 px wide
  - `?w=1920` - 1920 px wide
- Different formats:
  - `?w=1024&fm=jpg` - JPG
  - `?w=1024&fm=png` - PNG
  - `?w=1024&fm=webp` - WebP
- Different compression quality:
  - `?w=1024&q=70`
  - `?w=1024&q=30`
  - `?w=1024&q=10`
- Auto: `?auto=format,compress,enhance&w=1024`

### imgix and thumbnails and cropping

Large image:

Thumbnail images and cropping

- Thumbnail - 300 px wide:
  `?w=300`
- Thumbnail - 300x300 cropped:
  `?w=300&h=300&fit=crop`
- Thumbnail - 300x300 entropy cropped:
  `?w=300&h=300&fit=crop&crop=entropy`