Embedding Galleries on Your Website
Embedding your Foto Master Cloud gallery directly on your website is a great way to showcase event photos without sending visitors to an external platform. The embedded gallery appears as part of your own site, maintaining a seamless brand experience.
Getting the Embed Code
- Log in to cloud.fotomaster.com.
- Navigate to Events and select the event whose gallery you want to embed.
- Go to Gallery > Share > Embed.
- Copy the provided embed code (an HTML snippet containing an
<iframe>).
The embed code looks similar to this:
<iframe src="https://cloud.fotomaster.com/gallery/embed/your-event-id"
width="100%"
height="600"
frameborder="0"
allowfullscreen>
</iframe>Adding to Your Website
HTML
Paste the embed code directly into your website's HTML where you want the gallery to appear:
- Open your website's HTML file or template editor.
- Navigate to the page or section where you want the gallery.
- Paste the embed code.
- Save and publish your changes.
WordPress
- Navigate to the page or post where you want to embed the gallery.
- Switch to the Code Editor (or use a Custom HTML block in the Block Editor).
- Paste the embed code.
- Switch back to the Visual Editor to verify the gallery appears.
- Publish or update the page.
Tip: If you're using the WordPress Block Editor (Gutenberg), add a Custom HTML block and paste the embed code there. This ensures the iframe renders correctly.
Shopify
- Go to your Shopify admin panel and navigate to the page where you want the gallery.
- In the page editor, click Show HTML (or the
<>button). - Paste the embed code.
- Save the page.
Wix
- In the Wix Editor, click Add (+) > Embed Code > Embed a Widget.
- Paste the embed code into the code field.
- Resize and position the widget on your page.
- Publish your site.
Customizing Embed Dimensions
You can adjust the embed dimensions to fit your website layout:
- Width -- Set a pixel value (e.g.,
width="800") or usewidth="100%"for a full-width responsive display. - Height -- Set the height in pixels (e.g.,
height="600"). Choose a height that shows enough content without requiring excessive scrolling.
Modify these values directly in the embed code before pasting it into your site:
<!-- Full width, taller gallery -->
<iframe src="https://cloud.fotomaster.com/gallery/embed/your-event-id"
width="100%"
height="800"
frameborder="0"
allowfullscreen>
</iframe>Responsive Embedding
To ensure the gallery looks good on all screen sizes, wrap the embed code in a responsive container:
<div style="position: relative; width: 100%; padding-bottom: 75%; height: 0; overflow: hidden;">
<iframe src="https://cloud.fotomaster.com/gallery/embed/your-event-id"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
frameborder="0"
allowfullscreen>
</iframe>
</div>This technique uses a padding-based aspect ratio to make the gallery resize proportionally on different screen sizes. Adjust the padding-bottom percentage to change the aspect ratio:
padding-bottom: 75%-- 4:3 aspect ratiopadding-bottom: 56.25%-- 16:9 aspect ratiopadding-bottom: 100%-- 1:1 (square) aspect ratio
Tip: Test your embedded gallery on mobile, tablet, and desktop to make sure it displays well at all sizes. The responsive container approach is recommended for most websites.
Additional Notes
- Password-protected galleries -- If the gallery has password protection enabled, visitors will be prompted to enter the password within the embedded frame before photos are displayed.
- Branding -- Your gallery branding (logo, colors, background) is carried through to the embedded version.
- Performance -- The embedded gallery loads asynchronously, so it won't slow down the rest of your page.
- Updates -- Photos added to the gallery after embedding will appear automatically. You don't need to update the embed code.
Was this helpful?
Related articles
Managing Your Event List
Managing Your Event List If you created an event with settings you would like to reuse, you can duplicate it instead of starting from scratch. This is useful when you want to keep
Managing Your Cloud Plan: Upgrades, Downgrades, Grace Period, and Cancellation
You can manage your Foto Master Cloud subscription at any time from Cloud > Billing. This article explains how upgrades, downgrades, cancellations, and the grace period work. Vi
Event Settings
Every event in Foto Master Cloud has a comprehensive set of configurable settings that control how your booth operates, how photos are shared, and how the gallery is presented. Thi
Customizing Your Online Gallery
Your online gallery is often the first thing guests see after their booth experience, and it's a direct reflection of your brand. Foto Master Cloud gives you full control over the
Sharing Templates Between Cloud Accounts
Foto Master Cloud makes it easy to share workflows, layouts, and video templates with other booth owners, partners, or the Foto Master support team. This is especially useful when: