---
title: Create image transform presets
summary: Use custom, predefined classnames like large, medium, small, teaser, thumb, or article to control Fastly Image Optimizer and optionally prevent end-user access to native properties like 'width'.
url: https://www.fastly.com/documentation/solutions/examples/image-transformation-classes
---

Use custom, predefined classnames like large, medium, small, teaser, thumb, or article to control Fastly Image Optimizer and optionally prevent end-user access to native properties like 'width'.

## VCL

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/0321670a)

