Searching our knowledge base for the answer...

Wix Pro Gallery Request: Displaying Your Pro Gallery on a Test Site in the Same Way it Appears on the Live Site

Feature Request|Great News! We’ve released this feature!
We are excited to announce that it is now possible to display your Pro Gallery on a Test site just as it would on your published site.