{"id":25640,"date":"2021-12-30T13:58:53","date_gmt":"2021-12-30T13:58:53","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=25640"},"modified":"2023-02-25T11:33:43","modified_gmt":"2023-02-25T11:33:43","slug":"how-to-display-images-from-the-post-types-in-the-gallery-modern-block","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/","title":{"rendered":"How to Display Images from the Post Types in the Gallery Modern Block"},"content":{"rendered":"\n<p>The <em><a href=\"https:\/\/crocoblock.com\/plugins\/jetproductgallery\/\" target=\"_blank\" rel=\"noreferrer noopener\">JetProductGallery<\/a> <\/em>is a plugin for showcasing images, and it is compatible with the Gutenberg and Elementor editors. This tutorial describes how to showcase the product images with the <a href=\"https:\/\/crocoblock.com\/widgets\/gallery-modern\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Gallery Modern<\/strong><\/a><strong> <\/strong>block.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-a-gallery-modern-block\">Add a Gallery Modern Block<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Firstly, open the page or post to which you want to add the <strong>Gallery Modern <\/strong>block. Then click on the \u201c<strong>Toggle block inserter\u201d <\/strong>button and drag-n-drop the needed block. Also, you can type the \u201c\/\u201d symbol to select the <strong>Gallery Modern <\/strong>block.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/gallery-modern-block-1.png\" alt=\"drag-n-drop gallery modern block\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"customize-general-settings\">Customize General Settings<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>After that, navigate to the <strong>General <\/strong>settings block. Here, you can choose one of three sources: \u201cPost Types,\u201d \u201cManual Select,\u201d and \u201cWooCommerce Products.\u201d Check the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetproductgallery-wordpress-gallery-plugin-gutenberg-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Overview tutorial<\/strong><\/a><strong> <\/strong>to find out more.<\/p>\n\n\n\n<p>This time we have selected the \u201cPost Types\u201d <strong>Source<\/strong>. Be aware that this option works only on the Single Post, where the gallery meta field is. You can create such a meta field with the <a href=\"https:\/\/crocoblock.com\/plugins\/jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JetEngine<\/strong><\/a> plugin.<\/p>\n\n\n\n<p>If you choose the \u201cPost Types\u201d option, enter the key (or name, in other words) of the gallery meta field in the <strong>Gallery Key <\/strong>field.<\/p>\n\n\n\n<p>Also, you can <strong>Enable Featured Image, <\/strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetproductgallery-how-to-set-video-for-woocommerce-product-in-gutenberg\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Video<\/strong><\/a>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetproductgallery-how-to-enable-zoom-option-for-products\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Zoom<\/strong><\/a>,<strong> <\/strong>and <strong>Photoswipe Gallery<\/strong> options.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/post-type-gallery-source-1.png\" alt=\"post type gallery source\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"discover-style-settings\">Discover Style Settings<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>With the <a href=\"https:\/\/crocoblock.com\/plugins\/jetstylemanager\/?utm_source=youtube&amp;utm_medium=referral&amp;utm_campaign=jetstylemanager&amp;utm_content=jetproductgallery_gutenberg_edition\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetStyleManager<\/em><\/a><strong> <\/strong>plugin, you can style any Gutenberg block for <em>JetPlugins<\/em>, and it is completely free. <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetstylemanager-block-style-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Here<\/strong><\/a>, you can learn more about JetStyleManager plugin settings in the Gutenberg editor.<\/p>\n\n\n\n<p>In the <strong>Block Style <\/strong>settings, you can change the <strong>Proportions <\/strong>of the pictures and set the <strong>Vertical Alignment.<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/style-settings-1-1.png\" alt=\"style settings\">\n\n\n\n<p>Also, you can style the <strong>Border <\/strong>and add the <strong>Background Color<\/strong>, but be aware that the background<strong> <\/strong>will be visible only with the transparent PNG images or if you set the <strong>Padding<\/strong>.<\/p>\n\n\n\n<p>When you\u2019ve done customization, click on the \u201c<strong>Publish<\/strong>\u201d button and see the results on the front end.<\/p>\n<\/div><\/div>\n\n\n\n<p>That\u2019s all. Now you know how to create a stylish gallery with the help of the <strong>Gallery Modern<\/strong> block and change the proportions of the images.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains what steps you have to take to showcase the product images with Gallery Modern block using the JetProductGallery plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[476],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Display Images from the Post Types in the Gallery Modern Block | Crocoblock<\/title>\n<meta name=\"description\" content=\"Explore how to customize and style the Gallery Modern block with the Gutenberg block editor and the JetStyleManager plugin on a WordPress site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Display Images from the Post Types in the Gallery Modern Block | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Explore how to customize and style the Gallery Modern block with the Gutenberg block editor and the JetStyleManager plugin on a WordPress site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-25T11:33:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/gallery-modern-block-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/\",\"name\":\"How to Display Images from the Post Types in the Gallery Modern Block | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2021-12-30T13:58:53+00:00\",\"dateModified\":\"2023-02-25T11:33:43+00:00\",\"description\":\"Explore how to customize and style the Gallery Modern block with the Gutenberg block editor and the JetStyleManager plugin on a WordPress site.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Display Images from the Post Types in the Gallery Modern Block\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Display Images from the Post Types in the Gallery Modern Block | Crocoblock","description":"Explore how to customize and style the Gallery Modern block with the Gutenberg block editor and the JetStyleManager plugin on a WordPress site.","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:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/","og_locale":"en_US","og_type":"article","og_title":"How to Display Images from the Post Types in the Gallery Modern Block | Crocoblock","og_description":"Explore how to customize and style the Gallery Modern block with the Gutenberg block editor and the JetStyleManager plugin on a WordPress site.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/","og_site_name":"Help Center","article_modified_time":"2023-02-25T11:33:43+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/gallery-modern-block-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/","name":"How to Display Images from the Post Types in the Gallery Modern Block | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2021-12-30T13:58:53+00:00","dateModified":"2023-02-25T11:33:43+00:00","description":"Explore how to customize and style the Gallery Modern block with the Gutenberg block editor and the JetStyleManager plugin on a WordPress site.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetproductgallery\/how-to-display-images-from-the-post-types-in-the-gallery-modern-block\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Display Images from the Post Types in the Gallery Modern Block"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/25640"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=25640"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=25640"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=25640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}