ajax triggers loading of images