added new feature: set maximum num. of pictures to show
updated README to reflect the latest changes