{"id":2067,"date":"2019-07-26T21:06:46","date_gmt":"2019-07-26T21:06:46","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=2067"},"modified":"2022-09-15T18:23:57","modified_gmt":"2022-09-15T18:23:57","slug":"woo-gallery-images","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/post-docx-source\/getting-started-pds\/how-to-set-or-add-attribute-in-document\/woo-gallery-images","title":{"rendered":"How to set WooCommerce gallery images Post .DOCX Source for WordPress"},"content":{"rendered":"<p style=\"text-align:justify\">\n  The particular option \u2018Gallery images\u2019 should be enabled to apply them.\n<\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> It&#8217;s visible only in products or product post type settings.\n<\/p>\n<p style=\"text-align:justify\">\n  Gallery images can be specified only by <a href=\".\/how-to-set-or-add-attribute-in-document\">adding an extended attribute<\/a> in the document named \u2018<strong>woo<\/strong>_<strong>gallery<\/strong>\u2019 or \u2018<strong>Woo<\/strong> <strong>Gallery<\/strong>\u2019.\n<\/p>\n<p style=\"text-align:justify\">\n  The attribute\u2019s value should be a sequence of items which of them can be:\n<\/p>\n<ul>\n<li style=\"text-align:justify\">\n    The <strong>URL<\/strong> of the existing WordPress media picture (marked as a link or not) or <a href=\".\/pictures\">inserted linked image<\/a> with that URL. The <strong>plugin detects<\/strong> that the picture <strong>URL is the media picture<\/strong> and sets it as a gallery image. To obtain this URL, we should go to the particular image in the Media Library, click on \u2018Edit\u2019 and look at the \u2018File URL\u2019 property.\n  <\/li>\n<li style=\"text-align:justify\"><strong>Embedded or linked image<\/strong> as similar to <a href=\".\/media\">body image<\/a>. In this case, the image will be automatically uploaded and set as a gallery image.\n  <\/li>\n<\/ul>\n<p style=\"text-align:justify\">\n  The order in sequence defines the order in the gallery.\n<\/p>\n<p style=\"text-align:justify\"><strong>Note<\/strong>: Images are always placed in the media library.\n<\/p>\n<p style=\"text-align:justify\"><strong>Warning<\/strong>: It is supported only in the <a href=\".\/direct-batch-mode\">direct mode<\/a> now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The particular option \u2018Gallery images\u2019 should be enabled to apply them. Note. It&#8217;s visible only in products or product post type settings. Gallery images can be specified only by adding an extended attribute in the document named \u2018woo_gallery\u2019 or \u2018Woo Gallery\u2019. The attribute\u2019s value should be a sequence of items which of them can be:&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":1024,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false},"categories":[113],"tags":[171,534],"class_list":["post-2067","doc","type-doc","status-publish","hentry","category-post-docx-source","tag-post","tag-product-gallery-images"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/2067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/comments?post=2067"}],"up":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/1024"}],"wp:attachment":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/media?parent=2067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=2067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=2067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}