Using SAME gallery for both Carousel and Grid layouts below but opening Instagram links in new window with Carousel layout doesn’t work…

Carousel

Clicking on images in the Carousel layout gives “Instagram refused to connect” error message.

Grid

Clicking on images in the Grid layout opens Instagram in a new tab.