How to Add a 360° Panorama Viewer in WordPress

A flat photo of a room, a hotel lobby, or a hiking trail tells your visitor where you are. A 360° panorama viewer lets them look around, drag to spin the view, zoom into details, tap markers for extra info. Real estate listings, hotel pages, museums, campuses, product showcases, anywhere “you have to see it” matters.

The good news: you don’t need an embed from a third-party platform, a subscription, or a single line of code. WordPress can host and render the panorama itself, and this tutorial shows exactly how, using the free HappyVR plugin.

By the end of this post you will have a working, mobile-friendly panorama viewer embedded on a WordPress page, in about 10 minutes.

What You Need

Two things, and the second one matters more than people expect:

  1. A 360° panorama image in equirectangular format. That’s a single flat image with a 2:1 aspect ratio (typically 4096×2048 or 8192×4398 px) where the whole sphere of the view is “unwrapped” onto a rectangle. A regular photo will not work, the viewer will stretch it around the sphere and the result looks broken.
  2. The free HappyVR plugin. Install it from wordpress.org or your dashboard. The free version covers this tutorial fully: a single-scene viewer, hotspots, tiles for fast loading, and shortcode embedding.
360 degree panorama living room

Equirectangular 360-degree panorama of a living room interior

Where do you get an equirectangular panorama if you don’t have one?

  • Any modern phone: the built-in camera or Google Street View app can shoot a 360 photo by turning on the spot.
  • 360 cameras (Insta360, GoPro Max, Ricoh Theta, DJI Osmo 360) if you shoot regularly, real estate especially.
  • Stock sites sell ready-made panoramas if you just need a demo or a hero section.

One practical note on size: bigger is not always better. A 8192px panorama is ~15–25 MB as JPEG straight from the camera, which will hurt your page speed. 4096×2048 is plenty for web viewing, and HappyVR generates tiles (more on that below) so mobile browsers never load the full image at once.

Step 1: Install HappyVR

In your WordPress dashboard go to “Plugins” -> “Add New”, search for “HappyVR”, click “Install” and then “Activate”. A new HappyVR item appears in the left-hand admin menu.

That’s the whole installation, no API keys, no account registration.

Step 2: Create Your First “Tour” (It’s Just One Scene)

HappyVR calls every project a tour, but a tour with a single scene is simply a panorama viewer. That’s a feature, not a workaround: you can always add more scenes later and grow the viewer into a full walkthrough.

  1. In the admin menu click “HappyVR” -> “Add New”. The HappyVR Tour Builder opens.
  2. Give the project a title, for example “Apartment – Living Room”. The title is for your dashboard, you can keep it anything descriptive.
  3. Click “Add Scene” and name the scene (e.g. “Living Room”).
  4. In the right panel click “Set 360 Panorama”, then pick the panorama from your Media Library or upload a new file.
  5. Keep Generate tiles enabled (recommended). Tiles split your panorama into small chunks so the viewer loads only what’s visible. This is what keeps the viewer fast on phones.
  6. Save the tour.
360 degree panorama happyvr editor

HappyVR virtual tour builder user interface

Now drag the mouse over the preview. If the horizon is level and the view rotates smoothly without black areas or stretched edges, your image is a proper equirectangular panorama and you’re 90% done.

Seeing distortion, curved walls, wavy horizon? The source image isn’t equirectangular, or it was cropped away from the 2:1 ratio. Re-export it at exactly 2:1 and try again.

Step 3: Adjust the View (Optional)

The builder offers a few settings that shape how the viewer behaves. Defaults are fine to start, but these are the ones worth knowing:

  • Initial view – set the starting direction of the camera so the visitor opens onto the most interesting part of the scene (a window, an entrance, the product) rather than a random wall.
  • Viewport Background – allows you to overlay a solid color fill or a custom background image behind the panorama view.
  • View Limits – clamp yaw, pitch and zoom, so visitors can’t look under the floor or zoom into a pixelated blur.
  • Audio – enables background sound or music for the scene, with options to upload an audio file, loop the playback, adjust volume, or play it only once per virtual tour.
360 degree panorama HappyVR editor virtual tour settings

HappyVR virtual tour builder settings

The free version’s single-scene viewer with hotspots covers the core job; these polish options exist in HappyVR Pro, which also lifts the free limits (5 tours, 5 scenes, 5 hotspots) and adds things like background audio, rich-content tooltips and customization.

Step 4: Embed the Viewer on Any Page

HappyVR gives you a shortcode for every tour:

  1. After saving, find the shortcode [happyvr id="123"] shown next to your tour in the HappyVR.
  2. Open the target page or post.
  3. Add a Shortcode block (or paste it into any shortcode-ready block of your page builder).
  4. Paste the shortcode and update the page.

Another way is to use HappyVR Gutenberg block.

HappyVR embedded panorama viewer of the Living Room

That’s it, the panorama viewer renders in place, with drag-to-look on desktop, touch controls on mobile, and zoom via scroll or pinch. It works inside regular posts, pages, and templates built with page builders.

Step 5: Add Hotspots (Markers, Tooltips, Popovers)

A panorama alone is immersive, hotspots make it functional. A marker on the kitchen island can open a tooltip with the countertop material, a marker over the exit can lead to the next scene, a marker on the artwork can show price and a “Buy” link.

  1. In the Tour Builder select your scene and add a marker.
  2. Choose its type: text, icon, or image.
  3. Attach content: a tooltip on hover, a popover with text, links, or even an embedded video on click.
  4. Drag the marker into position directly on the panorama and save.

The free version allows up to 5 hotspots per tour, usually enough for a single panorama viewer. Watch it done in two minutes:

One Viewer Today, a Full Tour Tomorrow

The single-scene setup in this tutorial is deliberately minimal. Because HappyVR treats a viewer as a one-scene tour, upgrading it into a full multi-room walkthrough later means just adding scenes and linking them with navigation hotspots, the embedding shortcode stays the same. If you want to see where this leads, our 360° real estate virtual tour tutorial builds a five-room house tour on exactly this foundation.

Not sure whether HappyVR fits your project compared to other options? We compared the popular WordPress virtual tour plugins, including WPVR and iPanorama, in a separate roundup: Best WordPress Virtual Tour Plugins.

Performance Checklist

Panorama viewers have a reputation for being heavy. Yours doesn’t have to be:

Keep tiles enabled – it’s the single biggest performance win, and it’s free.
Shoot/export at 4096×2048 unless you truly need 8K detail.
Compress the source JPEG (quality ~80) before upload, the sphere softness hides JPEG artifacts far better than a flat photo does.
Put the viewer below the fold if it’s not the hero element, or enable Auto Load with a small delay so the page paints first.

Ready to try it?

Download HappyVR from wordpress.org, the free version covers everything in this tutorial. For every setting in detail: scenes, hotspots, widgets, events and the JS API, see the HappyVR documentation.

Still not using HappyVR?

Transform 360° images into virtual tour instantly. Setup takes less than 5 minutes!
Download Free Version

F.A.Q.

Your Questions, Answered

Yes, that’s exactly what this tutorial does. A “tour” with one scene is a standalone panorama viewer. Add scenes only if and when you need walkthrough navigation.

An equirectangular panorama: a 2:1 image (e.g. 4096×2048) that maps the full sphere. Regular wide-angle or cropped photos will distort.

Yes. Touch drag rotates the view, pinch zooms, and tile generation keeps memory usage low on phones. Test one viewer on a real device before rolling the format out across your site.

Up to 5 tours, 5 scenes per tour, and 5 hotspots, plus tile generation, shortcode embedding and widgets. Enough for several single-panorama viewers. The HappyVR Pro version removes the limits and adds autorotate, view limits, rich tooltips and external embedding.

Not noticeably, if you follow the checklist above: tiles on, sensible resolution, compressed source. The viewer loads its assets lazily rather than as one huge image.

Max

Max

Max Lavrentiev is a WordPress developer with 10+ years of experience and the founder of Yalogica. He creates advanced media and interactive plugins used on thousands of websites worldwide.