Version: current

# Class ImageAutoResize

Расширения для автоматического масштабирования картинок при заливке до нормального уровня

  Extension
  DataObjectDecorator
  ImageAutoResize

Author: dvp
Located at webylon/code/ImageAutoResize.php

## Methods summary

`public static` | # `get_max_size( )`
`public static` | # `set_max_size( mixed $width, mixed $height )`
`public static` | # `set_quality( mixed $val )`
`public static` | # `quality( )`
`public static` | # `disable( )`
`public static` | # `enable( )`
`public static` | # `allowed_types( )`
`public static` | # `set_allowed_types( mixed $value )`
`public static` | # `allow_type( mixed $value )`
`public` | # `onAfterWrite( )` #### Overrides `DataObjectDecorator::onAfterWrite`
`public` | # `onAfterUpload( )`
`public` | # `doAutoResize( )`

### Methods inherited from DataObjectDecorator

`augmentDatabase()`, `augmentSQL()`, `augmentWrite()`, `can()`, `canCreate()`, `canDelete()`, `canEdit()`, `extraStatics()`, `flushCache()`, `load_extra_statics()`, `onAfterDelete()`, `onBeforeDelete()`, `onBeforeWrite()`, `populateDefaults()`, `requireDefaultRecords()`, `updateCMSActions()`, `updateCMSFields()`, `updateFieldLabels()`, `updateFrontEndFields()`, `updateSummaryFields()`

### Methods inherited from Extension

`__construct()`, `clearOwner()`, `getOwner()`, `get_classname_without_arguments()`, `setOwner()`

### Magic methods summary

## Properties summary

### Properties inherited from DataObjectDecorator

`$decoratable_statics`

### Properties inherited from Extension

`$allowed_actions`, `$class`, `$owner`, `$ownerBaseClass`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -