Synchronize resize fields, resize image when importing