{"id":1007,"date":"2020-02-29T12:53:55","date_gmt":"2020-02-29T03:53:55","guid":{"rendered":"https:\/\/hanami-web.tokyo.jp\/blog\/?p=1007"},"modified":"2020-02-29T12:58:24","modified_gmt":"2020-02-29T03:58:24","slug":"foogallery-ssl","status":"publish","type":"post","link":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/qa\/foogallery-ssl\/","title":{"rendered":"[Solved] FooGallery image path does not become https"},"content":{"rendered":"<p>I&#039;ve made the whole site SSL-enabled, but only the gallery page using FooGallery was in unprotected communication... I&#039;ve solved it, so I&#039;ll make a note of it so I don&#039;t forget!<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/qa\/foogallery-ssl\/#foogallery%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%a0%e3%81%91%e4%bf%9d%e8%ad%b7%e3%81%95%e3%82%8c%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84%e9%80%9a%e4%bf%a1\" >Only the FooGallery page is not secure.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/qa\/foogallery-ssl\/#%e6%9c%80%e5%88%9d%e3%81%ab%e8%a9%a6%e3%81%97%e3%81%9f%e4%ba%8b%ef%bc%81%e7%94%bb%e5%83%8f%e3%82%92%e5%86%8d%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf\" >First thing I tried! Reload the image<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/qa\/foogallery-ssl\/#%e6%ac%a1%e3%81%ab%e8%a9%a6%e3%81%97%e3%81%9f%e3%81%93%e3%81%a8%ef%bc%81%e6%96%b0%e3%81%97%e3%81%84%e3%82%ae%e3%83%a3%e3%83%a9%e3%83%aa%e3%83%bc%e3%82%92%e4%bd%9c%e6%88%90\" >What I tried next! Create a new gallery<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/qa\/foogallery-ssl\/#%e3%80%90%e8%a7%a3%e6%b1%ba%e3%80%91foogallery%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e7%a2%ba%e8%aa%8d\" >[Solved] Check the settings of FooGallery<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"foogallery%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%a0%e3%81%91%e4%bf%9d%e8%ad%b7%e3%81%95%e3%82%8c%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84%e9%80%9a%e4%bf%a1\"><\/span>Only the FooGallery page is not secure.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Only the gallery pages using FooGallery were not protected, and I was unable to add a lock mark.<\/p>\n\n\n\n<p>If you look at the source code, you will see that the image path starts with http.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e6%9c%80%e5%88%9d%e3%81%ab%e8%a9%a6%e3%81%97%e3%81%9f%e4%ba%8b%ef%bc%81%e7%94%bb%e5%83%8f%e3%82%92%e5%86%8d%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf\"><\/span>First thing I tried! Reload the image<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The most common pattern is for the image path to start with http and not have a lock symbol.<br>So I reloaded the images in FooGallery as well.<\/p>\n\n\n\n<p>Simply select the image again. The result will be the same.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e6%ac%a1%e3%81%ab%e8%a9%a6%e3%81%97%e3%81%9f%e3%81%93%e3%81%a8%ef%bc%81%e6%96%b0%e3%81%97%e3%81%84%e3%82%ae%e3%83%a3%e3%83%a9%e3%83%aa%e3%83%bc%e3%82%92%e4%bd%9c%e6%88%90\"><\/span>What I tried next! Create a new gallery<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Maybe it was cached, but when I looked at the media in WordPress, the image path started with https, but when I created a new gallery in FooHGallery and looked at the source code of the published page, it was http...<\/p>\n\n\n\n<p>I was struggling because I couldn&#039;t find any solutions to similar cases even after searching the internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%80%90%e8%a7%a3%e6%b1%ba%e3%80%91foogallery%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e7%a2%ba%e8%aa%8d\"><\/span>[Solved] Check the settings of FooGallery<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>I had no choice but to solve the problem myself, so I reviewed the settings. They were all in English. I looked for something like that.<\/p>\n\n\n\n<p>FooGallery &gt; Settint &gt; Advanced<\/p>\n\n\n\n<p>It was inside!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"900\" height=\"506\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg\" alt=\"FooGallery\u306e\u753b\u50cf\u30d1\u30b9\u304chttps\u306b\u306a\u3089\u306a\u3044\u3002SSL\u5316\u51fa\u6765\u306a\u3044\u3002\" class=\"wp-image-1008\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg 900w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary-300x169.jpg 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary-768x432.jpg 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p>The part that says &quot;Force HTTPS.&quot; Do you want to force it to https?<br>Checked!<\/p>\n\n\n\n<p>Just by doing that, all image paths changed to https and a lock symbol appeared in an instant!<\/p>\n\n\n\n<p>I hope this helps anyone with a similar problem!<\/p>\n\n\n\n<p>At hanami-web, we solve a variety of problems related to WordPress!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/lesson\/\"><img decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/01\/3000baner800.jpg\" alt=\"wordpress\u6559\u3048\u3066\uff01\u3092\u3055\u304f\u3063\u3068\u89e3\u6c7a\u3057\u307e\u3059\u3002\u500b\u4eba\u30ec\u30c3\u30b9\u30f3\u30aa\u30f3\u30e9\u30a4\u30f3\u8b1b\u5ea7\" class=\"wp-image-906\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/01\/3000baner800.jpg 800w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/01\/3000baner800-300x225.jpg 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/01\/3000baner800-768x576.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30a4\u30c8\u5168\u4f53\u3092SSL\u5316\u3057\u305f\u306e\u3067\u3059\u304c\u3001FooGallery\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30ae\u30e3\u30e9\u30ea\u30fc\u30da\u30fc\u30b8\u3060\u3051\u304c\u4fdd\u8b77\u3055\u308c\u3066\u3044\u306a\u3044\u901a\u4fe1\u306b\u3002\u3002\u3002\u89e3\u6c7a\u3057\u305f\u306e\u3067\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u30e1\u30e2\u3057\u307e\u3059\uff01 FooGallery\u306e\u30da\u30fc\u30b8\u3060\u3051\u4fdd\u8b77\u3055\u308c\u3066\u3044\u306a\u3044\u901a\u4fe1 FooG [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1008,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_uag_custom_page_level_css":"","footnotes":""},"categories":[157],"tags":[478,479],"class_list":["post-1007","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa","tag-foogallery","tag-ssl"],"blocksy_meta":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg",900,506,false],"thumbnail":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary-150x150.jpg",150,150,true],"medium":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary-300x169.jpg",300,169,true],"medium_large":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary-768x432.jpg",768,432,true],"large":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg",900,506,false],"1536x1536":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg",900,506,false],"2048x2048":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg",900,506,false],"trp-custom-language-flag":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2020\/02\/foogalary.jpg",18,10,false]},"uagb_author_info":{"display_name":"\u682a\u5f0f\u4f1a\u793eHanamiWEB \u4ee3\u8868\u53d6\u7de0\u5f79 \u677e\u6d66\u307f\u3055","author_link":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/author\/hanami\/"},"uagb_comment_info":0,"uagb_excerpt":"\u30b5\u30a4\u30c8\u5168\u4f53\u3092SSL\u5316\u3057\u305f\u306e\u3067\u3059\u304c\u3001FooGallery\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30ae\u30e3\u30e9\u30ea\u30fc\u30da\u30fc\u30b8\u3060\u3051\u304c\u4fdd\u8b77\u3055\u308c\u3066\u3044\u306a\u3044\u901a\u4fe1&hellip;","brizy_media":[],"_links":{"self":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":0,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts\/1007\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/media\/1008"}],"wp:attachment":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/categories?post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/tags?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}