Post WooCommerce product with multiple photos

I’m trying to create a post in WooCommerce to publish a product with multiple photos. The photos are in a folder on Dropbox with their filenames, but I’m not sure how to generate an array with the photo links. I’ve tried using Aggregator, but without much success.