Smoothing image in xml gallery

Hi, is there anyone able to enhance the xml gallery tutorial by adding smooth function for image file. currently, i am having difficulty in adding in the smooth function for images. Before adding, all the images turn out to be pixelated. Anyone could help out is much appreciated. Thank you