Preview before upload works