image height and width were not passed along for the new image

Fix for issue 44