A Micrio image's main static image data object
The image id
The image base path URI, with a trailing /
The Micrio version this image was created in
The original image width
The original image height
The original tile size in px
The image settings, such as viewport/UI settings, camera and user event behavior
Use an alternative image ID for the image tiles
Optional custom file extension for tiles
The image title (default: autoloaded)
The image slug (default: autoloaded)
The initial data language
The available image data languages, comma-separated (default: autoloaded)
The image is 360 degrees
The image tiles are in WebP format
The image tiles are in PNG format
Use a custom, single source uri for the zoomable image / video
A custom format (dz
for DeepZoom, iiif
for IIIF)
Use this for old (<1.8) versions of Micrio
Micrio image settings, which is included as ImageInfo
.settings
.
The starting viewport ([x0,y0,x1,y1]
)
Restrict navigation to this viewport ([x0,y0,x1,y1]
)
Load the image focussed on this coordinate ([x, y]
)
Use a custom uri for the info json file
Render this image as a static image
Use a custom thumbnail image uri
The starting viewport. Possible values cover
and contain
. Defaults to contain
The user cannot zoom out more than a fully covered view
Initialize the image when the container is scrolled into view (default: false
)
Don't load any custom JS or CSS scripts
Don't load this image's [[MicrioData
]] (markers, tours, etc)
Do a crossfade when navigating between images (default: true)
Don't stop drawing frames when idle
The camera animation speed (default: 1)
Kinetic dragging sensitivity (default: 1)
The maximum zoom level in % of the original (default: 1)
Turn off support for high DPI screens
Adjust the maximum zoom of high DPI screens to that of regular displays
Allow the user to pan and zoom out of image bounds
When navigating back to this image from another image, reset the initial view
Hook user events (default: true)
Hook keyboard controls (default: false)
Don't allow the user to zoom in or out
Use the mousewheel or trackpad scrolling for zooming (default: true)
Allow pinch to zoom on touch devices (default: true)
Allow panning through the image (default: true)
Force two-finger panning on touch devices (default: false)
Force using the CTRL/CMD-keys to zoom in using scrolling (default: false)
Don't load any UI elements
Don't show any controls in the UI
Show a fullscreen button if supported
Don't show the Micrio logo on the top left
Don't show the organisation logo on the top right
Don't show the menu bar with tours and custom pages
Show an info modal with the image title and description
Show a social sharing button
Show the minimap (default: true)
Don't fade out the minimap (default: false)
The minimap maximum width, in px (default: 200)
The minimap maximum height, in px (default: 160)
More natural camera zooming animation during transitions (default: true
)
Enable the audio controller (default: true
)
The starting audio volume [0-1] (default: 1
)
The music audio volume [0-1] (default: 1
)
The audio volume when other media is playing [0-1]
(default: 0
)
Mute the audio when the current browser tab loses focus
The physical resolution of the object in cm per px
The physical width of the object in cm
The physical height of the object in cm
Overlapping markers are clustered
A static split-screen Micrio Image ID
When this is a secondary image in split screen, allow independent navigating
When this is a secondary image, don't follow the main image's navigation
Load a custom JS file with this image
The asset href
Load a custom CSS file with this image
The asset href
All markers are scaled with the image
Optional marker settings
The uri of the default marker icon
The default marker color
The default marker size in px
Zoom out when closing a marker
Show the titles for all markers on hover
Don't scale titles if marker is scaling
All marker popups are static
All marker popups are static on mobile
All markers are sized to their viewports
All marker embeds are printed in HTML, not WebGL
Optional settings for 360 images/video
Vertically stretch the image to a full sphere if the image is not 2:1 ratio
A 360 video object
Optional video asset object
The video asset url
Try to autoplay the video
The video is muted
Loop the video
Show video player controls
The Y-orientation in degrees of how the picture was taken
Freeform custom settings, this is the "Custom JSON" field in the image editor
Optional image crossfade duration, in seconds
An array of JavaScript uris to load for this Micrio instance
An array of CSS uris to load for this Micrio instance
Generated using TypeDoc
Base image data
The MicrioData.ImageInfo.ImageInfo JSON data object, used to pass to
HTMLMicrioElement.open
.The static image information, such as original resolution, image type, title, and all non-language specific settings ([[
MicrioData.Settings
]]), such as initial viewport, camera behavior, and 360° settings.The only required field is
id
. If only theid
field is specified, Micrio attempts to download the additional image data by itself (info.json
), published by the Micrio servers. This data will also include image title, and any custom viewing settings set in the image editor.This is a minimal accepted example:
If you have manually entered the image
width
andheight
, it will not download theinfo.json
file, assuming you have provided correct and complete data:Optionally, when using
HTMLMicrioElement
<micr-io>
tag attributes, these will overwrite whatever is loaded from the server. So if in the Micrio editor you have enabled the fullscreen toggle button, you can disable it in your own HTML using<micr-io fullscreen="false">
.