I have a set of images ordered in sequence that the user can navigate. Since the images can be of any number, to help navigation, there is a 10 image (fixed number) thumbnail strip in the UI that maps the original set of images (sequence numbers, say Img_1 to Img_569 to to an equally spaced (as much as possible) set Thumb_1 to Thumb_10 (corresponding to the 10 thumbnails). Thumb_1 should correspond to Img_1 and Thumb_10 should correspond to Img_569. What is the best way to do the mapping.
Share
thumbmap [i] is the index of the image for thumbnail i.
i