Implemented resizer in image helper