{"id":266,"date":"2024-07-25T15:48:50","date_gmt":"2024-07-25T15:48:50","guid":{"rendered":"https:\/\/nopassdev.com\/?p=266"},"modified":"2025-07-02T16:09:43","modified_gmt":"2025-07-02T16:09:43","slug":"shopify-product-variant-image-gallery","status":"publish","type":"post","link":"https:\/\/nopassdev.com\/pt\/shopify-product-variant-image-gallery\/","title":{"rendered":"Agrupamento de imagens de variantes de produtos da Shopify"},"content":{"rendered":"\n<p>1\u3001\u8fdb\u5165\u4ee3\u7801\u540e\u53f0\uff0c\u5728snippets\u91cc\u9762\u627e\u5230product-media.liquid<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"321\" src=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png\" alt=\"\" class=\"wp-image-269\" srcset=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png 1024w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-300x94.png 300w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-768x241.png 768w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23.png 1074w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u6dfb\u52a0\u4ee3\u7801\uff1a<\/p>\n\n\n\n<p>{% if current_variant_color == media.alt or media.alt == &#8216;all&#8217; %}<br>data-matched<br>{% endif %}<\/p>\n\n\n\n<p>2\u3001\u5728assets\u91cc\u627e\u5230global.js<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"759\" src=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-24-1024x759.png\" alt=\"\" class=\"wp-image-270\" srcset=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-24-1024x759.png 1024w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-24-300x222.png 300w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-24-768x569.png 768w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-24.png 1520w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u6dfb\u52a0\u4ee3\u7801\uff1a<\/p>\n\n\n\n<p>updateMediaBasedOnVariant() {<\/p>\n\n\n\n<p>&nbsp; &nbsp; const mediaGallery = document.getElementById(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; `MediaGallery-${this.dataset.section}`<\/p>\n\n\n\n<p>&nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; const options = this.currentVariant.options.map((option) =&gt;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; option.toLowerCase()<\/p>\n\n\n\n<p>&nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; const mediaWrapper = Array.from(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; mediaGallery.querySelectorAll(&#8220;.product__media-item&#8221;)<\/p>\n\n\n\n<p>&nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; const mediaThumbnailWrapper = mediaGallery.querySelectorAll(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &#8220;.thumbnail-list__item&#8221;<\/p>\n\n\n\n<p>&nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; const mediaModal = document.querySelectorAll(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &#8220;.product-media-modal__content img&#8221;<\/p>\n\n\n\n<p>&nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; \/\/ Set the thumbnail display by default<\/p>\n\n\n\n<p>&nbsp; &nbsp; mediaThumbnailWrapper.forEach((media) =&gt; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; media.removeAttribute(&#8216;data-matched&#8217;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; });<\/p>\n\n\n\n<p>&nbsp; &nbsp; \/\/ Set the media modal display by default<\/p>\n\n\n\n<p>&nbsp; &nbsp; mediaModal.forEach((media) =&gt; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; media.removeAttribute(&#8216;data-matched&#8217;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; });<\/p>\n\n\n\n<p>&nbsp; &nbsp; const matchesMedia = mediaWrapper.filter((media) =&gt; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; media.removeAttribute(&#8216;data-matched&#8217;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; const alt = media.getAttribute(&#8220;data-media-alt&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; const isMatch = alt === &#8220;all&#8221; || this.currentVariant.options[0] === alt;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; if (isMatch) {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; const mediaId = media.getAttribute(&#8220;data-media-id&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; const id = mediaId.split(&#8220;-&#8220;).pop();<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; media.setAttribute(&#8220;data-matched&#8221;, true);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; const thumbnail = mediaGallery.querySelector(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; `[data-target=&#8221;${mediaId}&#8221;]`<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; thumbnail &amp;&amp; (thumbnail.style.display = &#8220;block&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; thumbnail &amp;&amp; thumbnail.setAttribute(&#8220;data-matched&#8221;, true);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; const modal = document.querySelector(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; `.product-media-modal__content img[data-media-id=&#8221;${id}&#8221;]`<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; modal &amp;&amp; (modal.setAttribute(&#8220;data-matched&#8221;, true));<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; }<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; return isMatch;<\/p>\n\n\n\n<p>&nbsp; &nbsp; });<\/p>\n\n\n\n<p>&nbsp; &nbsp; customElements.whenDefined(&#8220;media-gallery&#8221;).then(() =&gt; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; mediaGallery.setActiveMedia(<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; matchesMedia[0].getAttribute(&#8220;data-media-id&#8221;),<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; true<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; );<\/p>\n\n\n\n<p>&nbsp; &nbsp; });<\/p>\n\n\n\n<p>&nbsp; &nbsp; \/\/ Reset the slider<\/p>\n\n\n\n<p>&nbsp; &nbsp; customElements.whenDefined(&#8220;slider-component&#8221;).then(() =&gt; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; const sliders = mediaGallery.querySelectorAll(&#8220;slider-component&#8221;);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; sliders.forEach((slider) =&gt; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; slider.resetPages();<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; });<\/p>\n\n\n\n<p>&nbsp; &nbsp; });<\/p>\n\n\n\n<p>&nbsp; }<\/p>\n\n\n\n<p>3\u3001\u5728assets\u91cc\u9762\u627e\u5230section-main-product.css<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"694\" src=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-25-1024x694.png\" alt=\"\" class=\"wp-image-271\" srcset=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-25-1024x694.png 1024w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-25-300x203.png 300w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-25-768x521.png 768w, https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-25.png 1363w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4ee3\u78011:<\/p>\n\n\n\n<p>.product&#8211;thumbnail_slider .product__media-item:not([data-matched]) {<br>display: none !important;<br>}<\/p>\n\n\n\n<p>\u4ee3\u78012:<\/p>\n\n\n\n<p>.thumbnail-list.slider&#8211;tablet-up .thumbnail-list__item.slider__slide:not([data-matched]) {<br>display: none !important;<br>}<\/p>\n\n\n\n<p>.product-media-modal__content&gt;img:not([data-matched]) {<br>display: none !important;<br>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u8fdb\u5165\u4ee3\u7801\u540e\u53f0\uff0c\u5728snippets\u91cc\u9762\u627e\u5230product-media.liquid \u6dfb\u52a0\u4ee3\u7801\uff1a {% if  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","footnotes":""},"categories":[14],"tags":[],"class_list":["post-266","post","type-post","status-publish","format-standard","hentry","category-shopify-code"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe - \u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nopassdev.com\/pt\/shopify-product-variant-image-gallery\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe - \u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546\" \/>\n<meta property=\"og:description\" content=\"1\u3001\u8fdb\u5165\u4ee3\u7801\u540e\u53f0\uff0c\u5728snippets\u91cc\u9762\u627e\u5230product-media.liquid \u6dfb\u52a0\u4ee3\u7801\uff1a {% if [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nopassdev.com\/pt\/shopify-product-variant-image-gallery\/\" \/>\n<meta property=\"og:site_name\" content=\"\u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-25T15:48:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-02T16:09:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1074\" \/>\n\t<meta property=\"og:image:height\" content=\"337\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nopass\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nopass\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/\"},\"author\":{\"name\":\"Nopass\",\"@id\":\"https:\/\/nopassdev.com\/zh\/#\/schema\/person\/10c72918e517d5694cdb56ed20f0eba7\"},\"headline\":\"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe\",\"datePublished\":\"2024-07-25T15:48:50+00:00\",\"dateModified\":\"2025-07-02T16:09:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/\"},\"wordCount\":388,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/nopassdev.com\/zh\/#organization\"},\"image\":{\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png\",\"articleSection\":[\"Shopify\u4ee3\u7801\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/\",\"url\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/\",\"name\":\"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe - \u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546\",\"isPartOf\":{\"@id\":\"https:\/\/nopassdev.com\/zh\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png\",\"datePublished\":\"2024-07-25T15:48:50+00:00\",\"dateModified\":\"2025-07-02T16:09:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage\",\"url\":\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png\",\"contentUrl\":\"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/nopassdev.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nopassdev.com\/zh\/#website\",\"url\":\"https:\/\/nopassdev.com\/zh\/\",\"name\":\"\u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/nopassdev.com\/zh\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nopassdev.com\/zh\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/nopassdev.com\/zh\/#organization\",\"name\":\"\u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546\",\"url\":\"https:\/\/nopassdev.com\/zh\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/nopassdev.com\/zh\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/nopassdev.com\/wp-content\/uploads\/2025\/07\/LOGO-NEW.jpg\",\"contentUrl\":\"https:\/\/nopassdev.com\/wp-content\/uploads\/2025\/07\/LOGO-NEW.jpg\",\"width\":1822,\"height\":306,\"caption\":\"\u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546\"},\"image\":{\"@id\":\"https:\/\/nopassdev.com\/zh\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/nopassdev.com\/zh\/#\/schema\/person\/10c72918e517d5694cdb56ed20f0eba7\",\"name\":\"Nopass\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/nopassdev.com\/zh\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b8717d323563ed7c90a695bacdb516c285d94c51ce7947adb6c33f07577e6ac8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b8717d323563ed7c90a695bacdb516c285d94c51ce7947adb6c33f07577e6ac8?s=96&d=mm&r=g\",\"caption\":\"Nopass\"},\"sameAs\":[\"https:\/\/nopassdev.com\"],\"url\":\"https:\/\/nopassdev.com\/pt\/author\/minglifa2022gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe - \u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546","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:\/\/nopassdev.com\/pt\/shopify-product-variant-image-gallery\/","og_locale":"pt_PT","og_type":"article","og_title":"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe - \u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546","og_description":"1\u3001\u8fdb\u5165\u4ee3\u7801\u540e\u53f0\uff0c\u5728snippets\u91cc\u9762\u627e\u5230product-media.liquid \u6dfb\u52a0\u4ee3\u7801\uff1a {% if [&hellip;]","og_url":"https:\/\/nopassdev.com\/pt\/shopify-product-variant-image-gallery\/","og_site_name":"\u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546","article_published_time":"2024-07-25T15:48:50+00:00","article_modified_time":"2025-07-02T16:09:43+00:00","og_image":[{"width":1074,"height":337,"url":"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23.png","type":"image\/png"}],"author":"Nopass","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Nopass","Tempo estimado de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#article","isPartOf":{"@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/"},"author":{"name":"Nopass","@id":"https:\/\/nopassdev.com\/zh\/#\/schema\/person\/10c72918e517d5694cdb56ed20f0eba7"},"headline":"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe","datePublished":"2024-07-25T15:48:50+00:00","dateModified":"2025-07-02T16:09:43+00:00","mainEntityOfPage":{"@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/"},"wordCount":388,"commentCount":0,"publisher":{"@id":"https:\/\/nopassdev.com\/zh\/#organization"},"image":{"@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage"},"thumbnailUrl":"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png","articleSection":["Shopify\u4ee3\u7801"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/","url":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/","name":"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe - \u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546","isPartOf":{"@id":"https:\/\/nopassdev.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage"},"image":{"@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage"},"thumbnailUrl":"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png","datePublished":"2024-07-25T15:48:50+00:00","dateModified":"2025-07-02T16:09:43+00:00","breadcrumb":{"@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#primaryimage","url":"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png","contentUrl":"https:\/\/nopassdev.com\/wp-content\/uploads\/2024\/07\/image-23-1024x321.png"},{"@type":"BreadcrumbList","@id":"https:\/\/nopassdev.com\/shopify-product-variant-image-gallery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/nopassdev.com\/"},{"@type":"ListItem","position":2,"name":"Shopify\u4ea7\u54c1\u53d8\u4f53\u56fe\u7247\u7ec4\u56fe"}]},{"@type":"WebSite","@id":"https:\/\/nopassdev.com\/zh\/#website","url":"https:\/\/nopassdev.com\/zh\/","name":"Prestadores de servi\u00e7os transfronteiri\u00e7os de s\u00edtios Web","description":"","publisher":{"@id":"https:\/\/nopassdev.com\/zh\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nopassdev.com\/zh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/nopassdev.com\/zh\/#organization","name":"Prestadores de servi\u00e7os transfronteiri\u00e7os de s\u00edtios Web","url":"https:\/\/nopassdev.com\/zh\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/nopassdev.com\/zh\/#\/schema\/logo\/image\/","url":"https:\/\/nopassdev.com\/wp-content\/uploads\/2025\/07\/LOGO-NEW.jpg","contentUrl":"https:\/\/nopassdev.com\/wp-content\/uploads\/2025\/07\/LOGO-NEW.jpg","width":1822,"height":306,"caption":"\u8de8\u5883\u5efa\u7ad9\u670d\u52a1\u5546"},"image":{"@id":"https:\/\/nopassdev.com\/zh\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/nopassdev.com\/zh\/#\/schema\/person\/10c72918e517d5694cdb56ed20f0eba7","name":"Nopass","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/nopassdev.com\/zh\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b8717d323563ed7c90a695bacdb516c285d94c51ce7947adb6c33f07577e6ac8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b8717d323563ed7c90a695bacdb516c285d94c51ce7947adb6c33f07577e6ac8?s=96&d=mm&r=g","caption":"Nopass"},"sameAs":["https:\/\/nopassdev.com"],"url":"https:\/\/nopassdev.com\/pt\/author\/minglifa2022gmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":3,"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/posts\/266\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nopassdev.com\/pt\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}