added image resizer component