{"id":2066,"date":"2026-10-14T04:37:37","date_gmt":"2026-10-14T04:37:37","guid":{"rendered":"https:\/\/shapekode.com\/product\/shapeblock\/?post_type=docs&#038;p=2066"},"modified":"2026-10-17T03:33:59","modified_gmt":"2026-10-17T03:33:59","password":"","slug":"simple-gallery","status":"publish","type":"docs","link":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/simple-gallery\/","title":{"rendered":"Simple Gallery"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Simple Gallery Block lets you display multiple images in a responsive grid. You can customize the number of columns, image size, spacing, captions, descriptions, hover effects, and lightbox animations to create an attractive image gallery.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a Simple Gallery Block<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps to add the Simple Gallery Block to your page or post.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Add the Simple Gallery Block<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open the page or post where you want to add the Simple Gallery Block.<\/li>\n\n\n\n<li>Click the <strong>+ (Add Block)<\/strong> button.<\/li>\n\n\n\n<li>Search for <strong>Simple Gallery<\/strong> in the block search field.<\/li>\n\n\n\n<li>Select the <strong>Simple Gallery<\/strong> block from the ShapeBlock category.<\/li>\n\n\n\n<li>The block will be added to your editor.<\/li>\n\n\n\n<li>Select the block to access its customization options in the sidebar.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1203\" height=\"729\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-64.png\" alt=\"\" class=\"wp-image-2320\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-64.png 1203w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-64-300x182.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-64-767x465.png 767w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-64-1024x621.png 1024w\" sizes=\"auto, (max-width: 1203px) 100vw, 1203px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure the Simple Gallery Block<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Simple Gallery Block includes four tabs for customization:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Settings:<\/strong> Add images, choose thumbnail sizes and image order, configure the lightbox, captions, descriptions, and hover effects.<\/li>\n\n\n\n<li><strong>Layout:<\/strong> Control the number of columns, spacing between images, and image height.<\/li>\n\n\n\n<li><strong>Style:<\/strong> Customize image corners, caption appearance, and hover overlays.<\/li>\n\n\n\n<li><strong>Advanced:<\/strong> Adjust the spacing and background of the entire block.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Settings Tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Settings tab contains the following panels.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Gallery<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Add Images:<\/strong> Select multiple images from the WordPress Media Library to create the gallery.<\/li>\n\n\n\n<li><strong>Edit \/ Replace Images:<\/strong> Edit or replace the selected images.<\/li>\n\n\n\n<li><strong>Thumbnail Size:<\/strong> Choose the image size used in the gallery.\n<ul class=\"wp-block-list\">\n<li>Thumbnail<\/li>\n\n\n\n<li>Medium<\/li>\n\n\n\n<li>Large<\/li>\n\n\n\n<li>Full<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order By:<\/strong> Choose how the gallery images are ordered.\n<ul class=\"wp-block-list\">\n<li>Default<\/li>\n\n\n\n<li>Title<\/li>\n\n\n\n<li>ID<\/li>\n\n\n\n<li>Date<\/li>\n\n\n\n<li>Random<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Enable Lightbox:<\/strong> Enable or disable the lightbox for viewing images in an enlarged overlay.<\/li>\n\n\n\n<li><strong>Lightbox Animation:<\/strong> Choose the animation used when the lightbox opens or moves between images.\n<ul class=\"wp-block-list\">\n<li>Fade<\/li>\n\n\n\n<li>Zoom In<\/li>\n\n\n\n<li>Zoom Out<\/li>\n\n\n\n<li>Slide Up<\/li>\n\n\n\n<li>Slide Down<\/li>\n\n\n\n<li>Flip<\/li>\n\n\n\n<li>None<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Animation Speed (ms):<\/strong> Set the lightbox animation duration in milliseconds. This option appears when a lightbox animation other than None is selected.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Caption<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Show Caption:<\/strong> Enable or disable image captions.<\/li>\n\n\n\n<li><strong>Caption Source:<\/strong> Choose the source of the caption. This option appears when Show Caption is enabled.\n<ul class=\"wp-block-list\">\n<li>Media Library Caption<\/li>\n\n\n\n<li>Image Title<\/li>\n\n\n\n<li>None<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Show Description:<\/strong> Display the description saved in each image&#8217;s Description field in the WordPress Media Library. Empty descriptions are hidden automatically.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Hover<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On Hover:<\/strong> Choose the content displayed when visitors hover over an image.\n<ul class=\"wp-block-list\">\n<li>Default<\/li>\n\n\n\n<li>Icon<\/li>\n\n\n\n<li>Text<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Hover Text:<\/strong> Enter the text to display on hover. This option appears when Text is selected.<\/li>\n\n\n\n<li><strong>Hover Icon:<\/strong> Select the icon to display on hover. This option appears when Icon is selected.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1555\" height=\"778\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-65.png\" alt=\"\" class=\"wp-image-2324\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-65.png 1555w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-65-300x150.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-65-768x384.png 768w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-65-1024x512.png 1024w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-65-1536x768.png 1536w\" sizes=\"auto, (max-width: 1555px) 100vw, 1555px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Layout Tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Layout tab contains the following panels.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Grid<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Columns:<\/strong> Choose the number of gallery columns separately for desktop, tablet, and mobile devices.\n<ul class=\"wp-block-list\">\n<li>1 Column<\/li>\n\n\n\n<li>2 Columns<\/li>\n\n\n\n<li>3 Columns<\/li>\n\n\n\n<li>4 Columns<\/li>\n\n\n\n<li>5 Columns<\/li>\n\n\n\n<li>6 Columns<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Gap (px):<\/strong> Set the space between gallery images. The value can be adjusted separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Image Size<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Height (e.g. 300px):<\/strong> Set a custom height for the gallery images. Enter a value with a unit, such as <code>300px<\/code>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"321\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-66-1024x321.png\" alt=\"\" class=\"wp-image-2325\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-66-1024x321.png 1024w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-66-300x94.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-66-765x240.png 765w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-66-1536x482.png 1536w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-66.png 1553w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Style Tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Style tab contains panels for customizing image appearance, captions, and hover effects. Some panels appear only when the related feature is enabled.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Image<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Border Radius:<\/strong> Adjust the corner radius of the gallery images.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Caption Style<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This panel appears when Show Caption or Show Description is enabled.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Alignment:<\/strong> Set the alignment of the caption and description.\n<ul class=\"wp-block-list\">\n<li>Default<\/li>\n\n\n\n<li>Left<\/li>\n\n\n\n<li>Center<\/li>\n\n\n\n<li>Right<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Caption Color:<\/strong> Customize the caption text color.<\/li>\n\n\n\n<li><strong>Caption Background:<\/strong> Set a background color or gradient behind the caption.<\/li>\n\n\n\n<li><strong>Description Color:<\/strong> Customize the description text color. This option appears when Show Description is enabled.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Hover Overlay<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This panel appears when Icon or Text is selected under <strong>On Hover<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Overlay Color:<\/strong> Set the hover overlay background color or gradient.<\/li>\n\n\n\n<li><strong>Icon Size (px):<\/strong> Set the hover icon size. This option appears when Icon is selected.<\/li>\n\n\n\n<li><strong>Icon Color:<\/strong> Customize the hover icon color. This option appears when Icon is selected.<\/li>\n\n\n\n<li><strong>Text Color:<\/strong> Customize the hover text color. This option appears when Text is selected.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1548\" height=\"729\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-67.png\" alt=\"\" class=\"wp-image-2326\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-67.png 1548w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-67-300x141.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-67-767x361.png 767w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-67-1024x482.png 1024w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-67-1536x723.png 1536w\" sizes=\"auto, (max-width: 1548px) 100vw, 1548px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced Tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Advanced tab contains settings that apply to the entire Simple Gallery Block, not to individual gallery images.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Spacing<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Padding:<\/strong> Adjust the inner spacing around the entire block. Responsive settings are available for desktop, tablet, and mobile.<\/li>\n\n\n\n<li><strong>Margin:<\/strong> Adjust the outer spacing around the entire block. Responsive settings are available for desktop, tablet, and mobile.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Background<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Background:<\/strong> Set a background color or gradient for the entire block.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Simple Gallery Block lets you display multiple images in a responsive grid. You can customize the number of columns, image size, spacing, captions, descriptions, hover effects, and lightbox animations to create an attractive image gallery. How to Add a Simple Gallery Block Follow these steps to add the Simple Gallery Block to your page [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[17],"doc_tag":[],"class_list":["post-2066","docs","type-docs","status-publish","hentry","doc_category-media-block"],"year_month":"2026-10","word_count":707,"total_views":"8","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Sojib","author_nicename":"shapekode-admin","author_url":"https:\/\/shapekode.com\/product\/shapeblock\/author\/shapekode-admin\/"},"doc_category_info":[{"term_name":"Media Block","term_url":"https:\/\/shapekode.com\/product\/shapeblock\/docs-category\/media-block\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/comments?post=2066"}],"version-history":[{"count":1,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2066\/revisions"}],"predecessor-version":[{"id":2327,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2066\/revisions\/2327"}],"wp:attachment":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/media?parent=2066"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_category?post=2066"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_tag?post=2066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}