append image directory into package