Update Image.php

Changed a little error that caused the first loop to loop forever.