Added automatic image resizer.