Images_SDB changed to retreive 20 or less images in random order