« Creating a Micrio Tour

Creating your own intro screen

Creating your own welcome screen for your project visitors

Some Micrio projects, such as the Garden of Earthly Delights, have an introduction screen to bid the user welcome and give a short explanation of the website.

This is not an option in the Micrio editor itself, since that is only for working with the image itself. However, using a Micrio embed in your own website, with a bit of HTML and CSS coding you can make add one very easily.

The gist

The basic idea of an intro screen is very simple: it is a HTML element, which is overlaid on the Micrio embedded element. If you have access to your website's HTML, you can easily create a <div> layer which will sit on top of the Micrio image.

There, you can put your welcome contents, and can place a <button> which will actually just hide that welcome <div>, allowing the user to start interacting with the Micrio image itself.

A pseudo example:

<!-- The Micrio embed element, can be an <iframe> as well -->
<micr-io id="{your ID}"></micr-io>

<!-- Your welcome element -->
<div id="welcome">
  <button onclick="document.getElementById('welcome').remove()">Start!</button>

This shows your welcome message, and hides it when the user clicks on the "Start" button. Easy peasy!

Custom button behavior

If you want to give your users multiple options from your intro screen, such as immediately being able to start certain tours, you can use the Micrio JavaScript API documentation for this.

An example of showing the users 2 buttons, one to freely explore the image, and one to start the first Marker Tours, could be done by expanding the above example using this:

function closeWelcome(){
function startTour(){
  // First close the welcome screen

  // Start the first available Marker tour in the Micrio image

<!-- ... inside the #welcome div ... -->
<button onclick="closeWelcome()">Explore freely</button>
<button onclick="startTour()">Start the tour</button>

Introscreen example code on GitHub

We've created a GitHub example code for you, using Svelte for creating an image's welcome screen. Feel free to fork and tweak it to your liking.

Check it out here: https://github.com/Q42/Micrio.CustomProject

✉ Can't find what you're looking for? Contact us!