changed getImageXmlCentered and changed test for centering
up to version 0.1.2
when imagename undefined, return without throwing
update to 0.1.3