add order of the image to the file name, remove query string from the file name.