There are two ways to add files.
File Gallery in Product Gallery
On each product edit page, you will see next
Here, you must add an image which will be used as a preview and a fallback image and file. Currently, next formats are supported
- Video (mp4, webp, mov)
- Youtube and Vimeo Links
- 3d (GLTF, GLB)
- Spline 3d (.splinecode)
Depending on the file format, the plugin will show the corresponding viewer. It will be a video player, model viewer, spline 3d viewer, or Youtube in Lightbox
Image Attachment replacement
This is a second way to assign files in the gallery. All supported formats are the same, but this time, you must add the file URL directly to the image attachment.
You can access the Attachment edit screen when you upload something in WordPress. Also, you can access it in Media section of WordPress.
The difference from the previous is that this will replace image attachment globally on site. In any product for which you use this image, it will be replaced by a file viewer. Also, it will be used in the Dynamic Gallery block and in Image variations.