Click the button, Add Media.

Now select from the dropdown menu the option Uploaded to this post like in the screen below:

Now simply select and upload the images that you want in the portfolio or post’s slideshow.