[This issue was resolved through emailing the company, but I’m posting an update here in case people face a similar problem in the future.]
The person who helped me “found extra <p> and <a> in the gallery HTML” which they thought was being added by the theme I was using. After I switched to using a different theme for my website, the photo gallery worked perfectly.
Thanks again for the help!