change image resize parameters