If the images are sized via css in the epub, replacing the images will not change how they display. If they were not sized via css in the epub, there is no magic pill that I know of that will fix it. The only thing I know to do is to make note of the dimensions of the original images and then add css that will constrain the new ones to that size.
No doubt someone will come along shortly with a better solution.