Limit amount of pictures on preview