Added an image resizer