setting for only 5 images