Xml support and separately retrieve photo