Add to cart button in pro gallery

I am setting up a website to sell my images printed on canvas. I have 2500 images but i dont have 1 year to add each one as an individual product. They dont need titles or descriptions, just a size option a4,a3,a2,a1. ideally you could just add the images to the pro gallery then once you click on an image and its expanded on the screen there would be a add to cart button but i cant seem to find any soloution for this. Any help would be greatly appriciated.

A pro gallery is just a display widget for your images, and it can’t be converted into a webshop directly, since the expand mode isn’t customisable.

For this, you will need to write a good amount of code that detects the image and converts it into a product when the user selects their relevant size and adds it to the cart. It might seem easy and straightforward but unfortunately it’s not. And if your pro gallery is not connected to the CMS, it makes things even more complex.