Embed Gallery Popup on Your Website
01
Create a Gallery Popup widget for your website on Common Ninja
First, create a Gallery Popup widget on Common Ninja.
On the widgets catalog, find the Gallery Popup and enter the Editor.
02
Save the Gallery Popup widget
When you're done creating the Gallery Popup widget, click on the Save Changes button at the right top corner of the editor.
If you don't have an account on Common Ninja, you'll have to register first.
03
Copy the Gallery Popup Embed Code
When you're ready to add the Gallery Popup widget to your website, click the Add To Website button at the top bar of the Editor.
On the window that opens, click the Copy Icon to copy the widget embed code. In the next steps, you will paste this code into your website.
04
Paste the code to your Platform website’s HTML field.
Next, go to your Platform website editor and find the HTML field. It is most likely in the form of an HTML/Code widget or module which you can find on the Platform’s editor. Add it to your page, and paste the Gallery Popup Embed Code you’ve copied before to the HTML field.
Save and update, and that’s it, you should have Common Ninja’s Gallery Popup widget on your Platform website.
05
Alternative Method 1: Through the HTML option in the text’s editing area.
If you can't find the HTML/Code widget or module, there's another way to put Common Ninja’s Gallery Popup widget on your Platform widget. You can just add the code to a special HTML section in the text editor.
06
Alternative Method 2: Add it directly to your Platform website’s HTML code.
If you're having trouble finding a widget or a special part in your text editor where you can add the Embed Code, you can try a different way to add the Gallery Popup widget to your Platform website. You can do this by putting it straight into your Platform website's HTML code.
Why Use This Widget
The Gallery Popup widget puts a whole collection of pictures inside one popup. Most promotional popups carry a single message, but a Gallery Popup can show a full product collection, several seasonal deals, a set of services, or a portfolio, and every picture gets its own caption, description, and call-to-action button with a link. Choose from five gallery styles (Grid, Masonry, Slider, Swipe Cards, and Running Strip) and five popup types (Centre, Full Screen, Bottom Sheet, Side Panel, and Corner). The popup can open by itself based on display rules such as time on page, scroll depth, exit intent, or visit count, or only when visitors ask for it, from a floating launcher, any link that points to #gallery, or an element you choose. Visitors can click a picture to see it enlarged with zoom, and on phones a popup that opens by itself can show as a bottom sheet so it does not cover the page. Style the colors, fonts, spacing, picture shapes, captions, and buttons to match your site, then embed it on any website without writing code.
This tutorial was written by the Common Ninja product team, creators of interactive, no-code widgets for websites. Common Ninja helps over 500,000 users build engaging online experiences without coding.