Update getImage.php

This originally was not working because too much whitespace existed in the code.  This should work now!