change image resize to max 2048