How to embed the gallery on your own website

Paste MyRun's two-line embed code to run the full photo gallery - search, timeline, purchases - natively on your event website.

The widget puts the whole gallery experience on your domain: participants search, browse and buy without ever leaving your site.

Steps

  1. Open your event and click Share in the event header.
  2. Under Display options, pick the Language for the widget, and optionally adjust Show photo count, the Albums and Photos sizes and the Gallery style. The embed code updates as you change them.
  3. Copy the Embed Code with its copy button: a <script> tag plus a <photo-album event-id="..." lang="..."></photo-album> element.
  4. Paste it into your website's HTML where the gallery should appear. Works in any CMS that accepts an HTML block (WordPress, Webflow, custom sites).

Optional attributes

  • album-id: lock the widget to a single album instead of the whole event (see How to share a single album). Keep event-id as well.
  • album-size / photo-size: tune the grid sizes (defaults: large covers, medium photos), the same as the Albums and Photos options in the dialog.
  • photo-layout: the gallery style, the same as the Gallery style option in the dialog. Set mosaic for full photos in columns, or rows for full photos in rows of equal height. Without it, the widget uses Grid: square tiles.
  • show-photo-count: set to 0 to hide the photo count label on album covers (shown by default), the same as unticking Show photo count.
  • purchase-redirect-url: where buyers land after payment (defaults back to your page).

Good to know

  • The widget inherits your page's fonts and blends into your design; privacy, watermarks and pricing all work exactly like on the share link.
  • Keep the <script> tag once per page even if you embed multiple albums.

Ready to try MyRun?

Create your account and get 5,000 photos free: recognition included, no subscription.

Didn't find what you need?

Email us