Build image xml