How to download the image displayed on the site, even if it is managed via JavaScript?

So it's a bit of a specific and strange question for a Polish site, but its principle is general and you do not need to understand the site itself to understand what I'm talking about.

Whatever it is, as stated in the title, I must be able to download the full size image of the product on the site. The problem is that the product images are shown by JS, which means that to reach my goal, I can not just right-click and download. To see what I'm talking about, just click on the big picture of the product in the center, you'll see that it goes to a higher resolution, but remains non-downloadable with ease.

If your answer requires programming or touches the codeI am more than happy to hear it. If I have to learn something to do, I will do it, so write it anyway. Even though I write this thinking that I will have to program my solution, I find this site more suitable than StackOverflow.

What I have tried and thought:

  • In a way, intercept the requests made on the site while browsing the images at the highest resolution, but it seems incredibly complicated. It will take less 3 days, which seems like a waste of time.

  • Disable JS and simply download the images. Unfortunately, this allows me to download only one and not in the highest possible resolution.

Thank you in advance for your help!