Additional ImageResize mode

- Additional ImageResizeMode
- ImageResizeHandler now checks the extension of the uploaded file
before starting resize.