Build your widget
any website

A free travel map widget for your website

One line of HTML adds a free, beautiful map & gallery of nearby travel spots to any website — no build step, no dependencies.

Free · No code · Every photo credited · No visitor tracking
↓ Live preview — the actual widget

Add it to any website in about a minute

  1. Open the HTML where you want the widget to appear.
  2. Paste the one line below.
  3. Done — it loads lazily and resizes to fit.
Paste this one line
<script async src="https://photerra.com/embed/v1/loader.js" data-hub="pdx" data-layout="grid" data-cfasync="false"></script>

Customize the location, layout, theme and colors — and copy your exact line — in the widget builder.

The snippet injects a sandboxed iframe served from photerra.com and adds nothing else to your page — no framework, no global variables, no stylesheet that could collide with yours. If your site sends a strict Content-Security-Policy, allow frame-src https://photerra.com and script-src https://photerra.com, or skip the loader and write the <iframe> yourself.

Questions

Can I use a plain <iframe> instead of the script?
Yes — switch the output to iframe in the builder and it writes the whole line for you, height included. Use it wherever a script tag is not allowed: Wix’s iframe element, Notion, Ghost, Framer, Carrd, or a site with a strict Content-Security-Policy. The only thing you lose is automatic height adjustment, so pick a height that fits your layout.
Does it work with a strict Content-Security-Policy?
Yes, with two entries: frame-src https://photerra.com and, if you use the loader script, script-src https://photerra.com. The widget makes no requests from your origin at all — everything happens inside the frame.
Is there an API instead?
The same data is available as JSON at https://api.photerra.com/api/public/nearby-spots. It is public and needs no key. If you render it yourself you take on the attribution requirements the widget handles for you.

Every photo is real travel photography, shown with credit to the person who made it, and we honor each contributor’s privacy choices. It’s free because it helps people discover great places — not because we sell anyone’s data.

Always creditedNo visitor trackingFree

The photography behind it

Every photo in the widget is a real place at a real coordinate, contributed by a traveler or drawn from openly-licensed archives — the same corpus behind Photerra’s destination pages.

Why we’re building Photerra · How it compares

Having trouble? Talk to a person.

If the widget isn’t showing up on your any website site, or it’s showing the wrong place, we can usually spot it in a minute. We answer every message ourselves — there is no ticket queue and no bot.

Want your city added? Request a location — we add new places regularly.

Also for
← All the ways to use Photerra on your site