Implemented image resize and thumbnail creation on image upload