worked with ui and ajax call to render images and xml data