updated query string so that the image link in annotView gets the right
number