add ajax to image