User should be able to say the number of times within which image cannot be repeated
<p>I have a set of images in a folder and I want to display images randomly in a condition for which user should be able to say the number of times within which image cannot be repeated. i.e if there are 10 images and user inputs 3 then it should display other images (except those 3 which were displayed recently) which were not displayed recently in an random order.   </p>
