Select files in Safari

Hi all,
I have a problem. In the pictures you can see how it adds 8 files + one additional. How to do it to add automatically. The finder window opens, but I do not know how to dump all the files at once. Please help

Please provide the detailed, manual steps to accomplish your workflow.
Then we can be of better help.

Macro on the post work but only opening finder in safari (second picture). How naw add 8 files + one additional.