Added resizing uploaded images