Setting up ajax of images into page