Embedded gallery links redirect

I have an embedded gallery using an iframe. It functions fine in the iframe, but is there way to send any/all links to a new window? The Add To Cart links in the gallery aren’t functioning properly, but if I go to the URL in a new tab, the items are in my cart.
I was thinking maybe with Apache mod_rewrite, or routing, or some other way? I’ve been banging my head on the wall, and I might just fake it by taking a screenshot of the gallery and just linking that to the gallery in a new window. Not ideal, but need to get this up.
Thanks.

Community Page
Last updated: