{"id":3812,"date":"2017-07-07T16:53:15","date_gmt":"2017-07-07T16:53:15","guid":{"rendered":"https:\/\/modelo.io\/blog\/?p=3812"},"modified":"2021-02-07T07:05:11","modified_gmt":"2021-02-07T07:05:11","slug":"embed-panorama-images-on-your-website","status":"publish","type":"post","link":"\/blog\/index.php\/2017\/07\/07\/embed-panorama-images-on-your-website\/","title":{"rendered":"How to Embed Panorama Images on Your Website with Modelo"},"content":{"rendered":"<div class=\"modelo-wrapper\">\n<p>As Modelo continues to grow and develop, we continue to add more features to our newly released panorama function. In this post, we will focus on generating a &#8220;Panorama shareable link,&#8221; the same concept as the <a href=\"https:\/\/modelo.io\/blog\/index.php\/best-way-share-architectural-design-or-model-client-colleagues\/\">shareable link of a model<\/a>, as well as\u00a0embedding a panorama image on your website.<\/p>\n<p>First let&#8217;s dive into generating a panorama shareable link. When you feel that your model or panorama image is ready to share, you can easily generate a link, then email or message it to other project collaborators. Learn how to generate panorama shareable links below:<\/p>\n<p>\u00a0<\/p>\n<p><strong>Step 1:<\/strong> Go to your project&#8217;s assets folder where you uploaded your panorama images. (unsure how to upload a panorama? Check out this <a href=\"https:\/\/modelo.io\/blog\/index.php\/2017\/06\/21\/integrate-360-panorama-images-into-your-modelo-interactive-3d-presentations\/\">post<\/a>)<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-3828 size-large\" src=\"https:\/\/modelo.io\/blog\/wp-content\/uploads\/2017\/06\/assets-folder-1024x506.png\" alt=\"Generate a shareable link for panorama images in Modelo\" width=\"960\" height=\"474\" srcset=\"\/blog\/wp-content\/uploads\/2017\/06\/assets-folder-1024x506.png 1024w, \/blog\/wp-content\/uploads\/2017\/06\/assets-folder-300x148.png 300w, \/blog\/wp-content\/uploads\/2017\/06\/assets-folder-768x380.png 768w, \/blog\/wp-content\/uploads\/2017\/06\/assets-folder-200x99.png 200w, \/blog\/wp-content\/uploads\/2017\/06\/assets-folder.png 1909w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>\u00a0<\/p>\n<p><strong>Step 2:<\/strong>\u00a0Hover your mouse on one of the panorama images and you will see a share button<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-3829 size-large\" src=\"https:\/\/modelo.io\/blog\/wp-content\/uploads\/2017\/06\/sharea-button-1024x507.png\" alt=\"Generate a shareable link for panorama images in Modelo\" width=\"960\" height=\"475\" srcset=\"\/blog\/wp-content\/uploads\/2017\/06\/sharea-button-1024x507.png 1024w, \/blog\/wp-content\/uploads\/2017\/06\/sharea-button-300x149.png 300w, \/blog\/wp-content\/uploads\/2017\/06\/sharea-button-768x381.png 768w, \/blog\/wp-content\/uploads\/2017\/06\/sharea-button-200x99.png 200w, \/blog\/wp-content\/uploads\/2017\/06\/sharea-button.png 1909w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>\u00a0<\/p>\n<p><strong>Step 3<\/strong>: Click on that share button, you will then see the shareable link in the pop up window.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-3830 size-large\" src=\"https:\/\/modelo.io\/blog\/wp-content\/uploads\/2017\/06\/shareable-link-1024x507.png\" alt=\"Generate a shareable link for panorama images in Modelo\" width=\"960\" height=\"475\" srcset=\"\/blog\/wp-content\/uploads\/2017\/06\/shareable-link-1024x507.png 1024w, \/blog\/wp-content\/uploads\/2017\/06\/shareable-link-300x149.png 300w, \/blog\/wp-content\/uploads\/2017\/06\/shareable-link-768x380.png 768w, \/blog\/wp-content\/uploads\/2017\/06\/shareable-link-200x99.png 200w, \/blog\/wp-content\/uploads\/2017\/06\/shareable-link.png 1919w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>Here is the <a href=\"https:\/\/app.modelo.io\/share-asset\/3CCVlWlh_z\">link<\/a> of this panorama image. I&#8217;ve been asked for a similar embed function for the panorama images. In fact, our team is implementing that into our coming release so stay tuned. As for now, there is an alternative solution. Here is how to do that step-by-step:<\/p>\n<p><strong>Step 1:<\/strong>\u00a0Go to a model page, open the embed dialog, and then copy the embed code.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-3831 size-large\" src=\"https:\/\/modelo.io\/blog\/wp-content\/uploads\/2017\/06\/embed-code-1024x505.png\" alt=\"Generate a shareable link for panorama images in Modelo\" width=\"960\" height=\"473\" srcset=\"\/blog\/wp-content\/uploads\/2017\/06\/embed-code-1024x505.png 1024w, \/blog\/wp-content\/uploads\/2017\/06\/embed-code-300x148.png 300w, \/blog\/wp-content\/uploads\/2017\/06\/embed-code-768x378.png 768w, \/blog\/wp-content\/uploads\/2017\/06\/embed-code-200x99.png 200w, \/blog\/wp-content\/uploads\/2017\/06\/embed-code.png 1920w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p><strong>Step 2: <\/strong>Now let&#8217;s take a deeper look at this embed code since it consists of several parts. The major concept of iframe is basically putting a mini web browser window within another website. As you can see from the following, the URL after the &#8220;iframe src=&#8221; is where this link is referring to. Now if we replace this link with the shareable link of our panorama, it will then show the panorama instead of the 3D model. In addition, there are several other parameters you can change, like the width (normally you want to put 100% so that it&#8217;s responsive to the device&#8217;s dimension), height, model&#8217;s name and author.<\/p>\n<pre>&lt;div class='modelo-wrapper'&gt;\n  &lt;iframe src=\"<strong>https:\/\/app.modelo.io\/embedded\/R5IcJGDNm5?viewport=false&amp;autoplay=false<\/strong>\" \n             width=\"<strong>640<\/strong>\" \n             height=\"<strong>360<\/strong>\" \n             frameborder=\"0\"\n             mozallowfullscreen webkitallowfullscreen allowfullscreen &gt;&lt;\/iframe&gt; \n  &lt;p style=\"font-size: 13px; font-weight: bold; margin: 10px 10px 10px 0; color: #666666;\"&gt;\n    <strong>Revit Sample Project_Webinar<\/strong> \n    &lt;span style=\"font-weight: normal;\"&gt;\n      By\n    &lt;\/span&gt; \n    <strong>Phoebe Zhang<\/strong>\n    &lt;a href=\"http:\/\/www.modelo.io?utm_source=embed&amp;utm_medium=embedfooter&amp;utm_campaign=model%20embed%20footer\"\n        target=\"_blank\" \n        style=\"display: inline-block; \n               margin-left: 6px; \n               padding-left: 8px; \n               border-left: 1px solid #e2e2e2; \n               color: #e8776f; cursor: pointer; \n               text-decoration: none;\"&gt;\n      Modelo \u00bb\n    &lt;\/a&gt; \n  &lt;\/p&gt; \n&lt;\/div&gt;\n<\/pre>\n<p>\u00a0<\/p>\n<p><strong>Step 3: <\/strong>Replace the embed URL to the panorama shareable link and adjust the other parameters. Below is the final look (try clicking and dragging your mouse on the below window), and most importantly have fun!<\/p>\n<p style=\"font-size: 13px; font-weight: bold; margin: 10px 10px 10px 0; color: #666666;\">Rotate panorama and click on orange hotspots for a guided tour\u00a0<a style=\"display: inline-block; margin-left: 6px; padding-left: 8px; border-left: 1px solid #e2e2e2; color: #e8776f; cursor: pointer; text-decoration: none;\" href=\"http:\/\/www.modelo.io?utm_source=embed&amp;utm_medium=embedfooter&amp;utm_campaign=model%20embed%20footer\" target=\"_blank\" rel=\"noopener noreferrer\">Modelo \u00bb<\/a><\/p>\n<p>\u00a0<\/p>\n<\/div>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/bit.ly\/2YVze0J\"><img loading=\"lazy\" src=\"https:\/\/modelo.io\/blog\/wp-content\/uploads\/2021\/02\/Default\u5907\u4efd-2-6.jpg\" alt=\"\" class=\"wp-image-6676\" width=\"210\" height=\"48\" srcset=\"\/blog\/wp-content\/uploads\/2021\/02\/Default\u5907\u4efd-2-6.jpg 420w, \/blog\/wp-content\/uploads\/2021\/02\/Default\u5907\u4efd-2-6-300x69.jpg 300w, \/blog\/wp-content\/uploads\/2021\/02\/Default\u5907\u4efd-2-6-200x46.jpg 200w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>As Modelo continues to grow and develop, we continue to add more features to our newly released panorama function. In this post, we will focus on generating a &#8220;Panorama shareable link,&#8221; the same concept as the shareable link of a model, as well as\u00a0embedding a panorama image on your website. First let&#8217;s dive into generating &hellip; <\/p>\n<p class=\"link-more\"><a href=\"\/blog\/index.php\/2017\/07\/07\/embed-panorama-images-on-your-website\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Embed Panorama Images on Your Website with Modelo&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":3834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[44],"tags":[37,45],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/3812"}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=3812"}],"version-history":[{"count":31,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/3812\/revisions"}],"predecessor-version":[{"id":6681,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/3812\/revisions\/6681"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media\/3834"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=3812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=3812"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=3812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}