added ajax call to load image and make galery