{"id":1,"date":"2018-02-25T11:11:22","date_gmt":"2018-02-25T11:11:22","guid":{"rendered":"https:\/\/www.publicalbum.org\/blog\/?p=1"},"modified":"2023-03-17T16:56:10","modified_gmt":"2023-03-17T16:56:10","slug":"embedding-google-photos-albums","status":"publish","type":"post","link":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums","title":{"rendered":"How do I embed a\u00a0Google Photos album into a website?"},"content":{"rendered":"<p>How can I do embed my shared album from Google Photos and make preview of images on my website? How can I do that simply, without having to copy pictures or complicated search to individual image links? Here I will introduce my solution, which you can also try.<\/p>\n\n\n<figure class=\"wp-block-image fx-border\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"530\" src=\"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png\" alt=\"\" class=\"wp-image-162\" srcset=\"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png 840w, https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool-300x189.png 300w, https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool-768x485.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption>Tool for embeding of Google Photos album.<br><br><\/figcaption><\/figure>\n\n\n\n<!--more-->\n\n\n<p><span style=\"color: #23282d; font-size: 1.6em; font-weight: 600;\">Three steps how to do it.<\/span><\/p>\n<p>When I wanted to present my photos public on the web, I found out that there was no easy way to do it, in fact, there was no reasonable way.<\/p>\n<p>This led me to find a way to solve it. The result is the first version of the photo viewer. This is a compilation of Google Photos image public links and javascript component &#8220;Player&#8221; for convenient viewing.<\/p>\n<p>You can embed yours shared photo album from Google Photos with the code that generates a preview of your entire album with the ability to view photos easily.<\/p>\n<h6>1) Get album public link for sharing<\/h6>\n<p>In Google Photos application, you must share selected album and get link of it. Choose album &#8211; click on menu icon or open album and click on share button and select &#8220;get link&#8221;. Link look like as <code>https:\/\/photos.app.goo.gl\/somehash<\/code>. Copy this link into clipboard.<\/p>\n<h6>2) Create code to embed album<\/h6>\n<p>All you need is a link from previous step. Insert to field and press &#8220;<strong>Create embed code<\/strong>&#8220;.<\/p>\n<p>I created tool to basic manage of created code. You can setup dimmensions and some options about component. When you finish, copy result HTML code into clipboard. This code is a final stand alone HTML code &#8211; no proxy, no iframes.&nbsp;The only one external component is a &#8220;Player&#8221; decorator.<\/p>\n\n<div id=\"webapp__embed-player\" class=\"reactapp\"><\/div>\n\n\n\n<br \/>\n<b>See how to make code in <a href=\"https:\/\/www.reabr.com\/\">Reabr<\/a> app:<\/b><br \/>\n<a href=\"https:\/\/www.reabr.com\/\">\n<video id=\"video1\" controls loop style=\"width:100%; border:1px solid gray;\">\n\t<source src=\"https:\/\/www.publicalbum.org\/media\/video\/reabr-embed-google-photos-album.mp4\" type=\"video\/mp4\">\n\t<span>Your browser does not support the video tag.<\/span>\n<\/video>\n<script>\nvar vp = document.getElementById('video1');\nvp.oncanplaythrough = function() {\n  vp.muted = true;\n  vp.play();\n  vp.pause();\n  vp.play();\n}\n<\/script>\n<\/a>\n\n<p style=\"margin-top:5px;padding:20px;border:2px solid red;border-radius:5px;\"><b>Update<\/b><br>\nYou can find the new version as an extension in the <a href=\"https:\/\/www.reabr.com\/\"><b>Reabr &#8211; online booking manager<\/b><\/a> application.<br>\n<br>\nSee how to easily use Reabr to generate gallery embed code in the following post:<br \/>\n<a href=\"https:\/\/www.publicalbum.org\/blog\/embed-google-photos-album-reabr\">How to embed Google Photos album using Reabr.com application<\/a>\n\n\n<div style=\"display: none; margin-top: 8px; padding: 8px; border: 2px solid red;\">\n<p><span style=\"color: #ff0000;\"><strong>Important notice:<\/strong><\/span><\/p>\n<p><strong>Extracted photos from shared link are not permanent.<\/strong> If you want to generate permanent public photos you can try to <strong>copy photos into Public album photo sharing<\/strong>. See more at <a href=\"https:\/\/www.publicalbum.org\"><strong>www.publicalbum.org<\/strong><\/a>. If you have any question, <a href=\"https:\/\/www.publicalbum.org\/blog\/about-pavex\">contant me<\/a>.<\/p>\n<\/div>\n<h6>3) Paste code to your website<\/h6>\n<p>Complete code, paste to your site. That&#8217;s all.<br>If you need process some change, such as add new photos, you must create new code of album. I will try to solve this problem in some of the following versions.<\/p>\n<h6>Good to known<\/h6>\n<p>Result code contain all link to images of shared album. No files copying. The code decorate, by external Javascript component, after page is loaded and create Player with album.&nbsp;It\u2019s easy and fast.<\/p>\n<p>If you decide not to share the album, just stop sharing it in Google Photos and the photos will not be available anywhere else.<\/p>\n<p>Javascript decorator script is now available on CDN.<\/p>\n<h6>Alternatives<\/h6>\n<p>If you want to&nbsp;<a title=\"How do I embed a single image from Google Photos?\" href=\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-image\">embed single Google Photos image<\/a>, you can use my&nbsp;<a title=\"Embed Google Photos image into website\" href=\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-image\">another tool<\/a>&nbsp;to do it. Perfect for blogs and single image view.<\/p>\n<p>For WordPress users I have prepared a <a href=\"https:\/\/www.publicalbum.org\/blog\/wordpress-google-photos-album-plugin\">Worpdress Google photos plugin<\/a> for easy to use in your posts using <em>shortcodes<\/em>.<\/p>\n<h6>Update<\/h6>\n<p>Now is available to use <a href=\"https:\/\/www.publicalbum.org\/blog\/embed-photos-slideshow-carousel-widget\">Carousel widget to create slideshow<\/a> with autoplay.<\/p>\n<p>Since version 1.2.32, widgets support videos, see to how <a href=\"https:\/\/www.publicalbum.org\/blog\/make-video-slideshow\">make video slideshow for website<\/a>.<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How can I do embed my shared album from Google Photos and make preview of images on my website? How can I do that simply, without having to copy pictures or complicated search to individual image links? Here I will introduce my solution, which you can also try.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-google-photos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How do I embed a\u00a0Google Photos album into a website? - Public album .org<\/title>\n<meta name=\"description\" content=\"In Google Photos application, 1) you must share selected album and get link of it. 2) create embed code with tool 3) paste code to your website.That&#039;s all.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I embed a\u00a0Google Photos album into a website? - Public album .org\" \/>\n<meta property=\"og:description\" content=\"In Google Photos application, 1) you must share selected album and get link of it. 2) create embed code with tool 3) paste code to your website.That&#039;s all.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums\" \/>\n<meta property=\"og:site_name\" content=\"Public album .org\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-25T11:11:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-17T16:56:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png\" \/>\n<meta name=\"author\" content=\"Pavex\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pavex\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums\",\"url\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums\",\"name\":\"How do I embed a\u00a0Google Photos album into a website? - Public album .org\",\"isPartOf\":{\"@id\":\"https:\/\/www.publicalbum.org\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png\",\"datePublished\":\"2018-02-25T11:11:22+00:00\",\"dateModified\":\"2023-03-17T16:56:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.publicalbum.org\/blog\/#\/schema\/person\/1415f3e82b03ca14f8aa2f18468a5b87\"},\"description\":\"In Google Photos application, 1) you must share selected album and get link of it. 2) create embed code with tool 3) paste code to your website.That's all.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#primaryimage\",\"url\":\"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png\",\"contentUrl\":\"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png\",\"width\":840,\"height\":530,\"caption\":\"Tool for embeding of Google Photos album.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.publicalbum.org\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I embed a\u00a0Google Photos album into a website?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.publicalbum.org\/blog\/#website\",\"url\":\"https:\/\/www.publicalbum.org\/blog\/\",\"name\":\"Public album .org\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.publicalbum.org\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.publicalbum.org\/blog\/#\/schema\/person\/1415f3e82b03ca14f8aa2f18468a5b87\",\"name\":\"Pavex\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.publicalbum.org\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e47c6671479e0609362ab70337cfac20?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e47c6671479e0609362ab70337cfac20?s=96&d=mm&r=g\",\"caption\":\"Pavex\"},\"url\":\"https:\/\/www.publicalbum.org\/blog\/author\/pavex\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I embed a\u00a0Google Photos album into a website? - Public album .org","description":"In Google Photos application, 1) you must share selected album and get link of it. 2) create embed code with tool 3) paste code to your website.That's all.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums","og_locale":"en_US","og_type":"article","og_title":"How do I embed a\u00a0Google Photos album into a website? - Public album .org","og_description":"In Google Photos application, 1) you must share selected album and get link of it. 2) create embed code with tool 3) paste code to your website.That's all.","og_url":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums","og_site_name":"Public album .org","article_published_time":"2018-02-25T11:11:22+00:00","article_modified_time":"2023-03-17T16:56:10+00:00","og_image":[{"url":"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png"}],"author":"Pavex","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pavex","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums","url":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums","name":"How do I embed a\u00a0Google Photos album into a website? - Public album .org","isPartOf":{"@id":"https:\/\/www.publicalbum.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#primaryimage"},"image":{"@id":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#primaryimage"},"thumbnailUrl":"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png","datePublished":"2018-02-25T11:11:22+00:00","dateModified":"2023-03-17T16:56:10+00:00","author":{"@id":"https:\/\/www.publicalbum.org\/blog\/#\/schema\/person\/1415f3e82b03ca14f8aa2f18468a5b87"},"description":"In Google Photos application, 1) you must share selected album and get link of it. 2) create embed code with tool 3) paste code to your website.That's all.","breadcrumb":{"@id":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#primaryimage","url":"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png","contentUrl":"https:\/\/www.publicalbum.org\/blog\/wp-content\/uploads\/2018\/02\/embed-google-photos-tool.png","width":840,"height":530,"caption":"Tool for embeding of Google Photos album."},{"@type":"BreadcrumbList","@id":"https:\/\/www.publicalbum.org\/blog\/embedding-google-photos-albums#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.publicalbum.org\/blog"},{"@type":"ListItem","position":2,"name":"How do I embed a\u00a0Google Photos album into a website?"}]},{"@type":"WebSite","@id":"https:\/\/www.publicalbum.org\/blog\/#website","url":"https:\/\/www.publicalbum.org\/blog\/","name":"Public album .org","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.publicalbum.org\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.publicalbum.org\/blog\/#\/schema\/person\/1415f3e82b03ca14f8aa2f18468a5b87","name":"Pavex","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.publicalbum.org\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e47c6671479e0609362ab70337cfac20?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e47c6671479e0609362ab70337cfac20?s=96&d=mm&r=g","caption":"Pavex"},"url":"https:\/\/www.publicalbum.org\/blog\/author\/pavex"}]}},"_links":{"self":[{"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/posts\/1"}],"collection":[{"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":58,"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":1115,"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions\/1115"}],"wp:attachment":[{"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.publicalbum.org\/blog\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}