  {"id":4594,"date":"2025-01-09T10:47:11","date_gmt":"2025-01-09T15:47:11","guid":{"rendered":"https:\/\/carleton.ca\/cutheme-docs\/?page_id=4594"},"modified":"2025-01-09T15:48:03","modified_gmt":"2025-01-09T20:48:03","slug":"image-grid","status":"publish","type":"page","link":"https:\/\/carleton.ca\/cutheme-docs\/mastery\/module-2-design-block-mastery\/image-grid\/","title":{"rendered":"Image Grid"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        Image Grid\n                    <\/h1>\n                \n                                \n                                    \n\n<p>Module 2.6 \u2013 Mastery: Design Blocks: Image Grid<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/design-blocks\/image-grid-block\/\">Examples: Image Grid<\/a><\/div>\n<\/div>\n\n\n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n\n<div class=\"w-full max-w-xl mx-auto overflow-hidden bg-white rounded-lg shadow-lg cu-stackedlist cu-component not-contained not-prose\">\n    <h2 class=\"px-6 py-4 text-base font-semibold border-b rounded-t-lg md:text-xl bg-gray-50 text-cu-black-800\">\n        Table of Contents\n    <\/h2>\n    <div class=\"grid cu-scrollto cu-stackedlist--toc cu-stackedlist--1 md:grid-cols-1\">\n            <div class=\"space-y-1\">\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        1.\n                    <\/span>\n\n                    <a href=\"#step-by-step\" class=\"font-medium hover:underline\">\n                        Step-by-Step\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        2.\n                    <\/span>\n\n                    <a href=\"#video-tutorial\" class=\"font-medium hover:underline\">\n                        Video Tutorial\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        3.\n                    <\/span>\n\n                    <a href=\"#try-it-out\" class=\"font-medium hover:underline\">\n                        Try it Out\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n            <\/div>\n\n    <\/div>\n<\/div>\n\n\n\n<p>The image grid block is great for highlighting 3 to 5 images in a visually appealing way. <\/p>\n\n\n\n<h2 id=\"step-by-step\" class=\"wp-block-heading\">Step-by-Step<\/h2>\n\n\n\n<p><strong class=\"myprefix-text-bold\">1.<\/strong> <a href=\"https:\/\/carleton.ca\/cutheme-docs\/getting-started\/module-3-essential-text-blocks\/module-3-blocks-overview\/#addblock\">Add the Image Grid block using the block menu.<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"182\" height=\"168\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.50.20@2x.png\" alt=\"Add image grid block\" class=\"wp-image-4601\" style=\"width:104px;height:auto\"\/><\/figure>\n\n\n\n<p><strong class=\"myprefix-text-bold\">2<\/strong>. Add images by selecting an single item within the block grid and then click <strong class=\"myprefix-text-bold\">Select Image<\/strong>. Noet the minimum recommended image size is 768 pixels wide. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1034\" height=\"646\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.51.36@2x.png\" alt=\"Add Images\" class=\"wp-image-4602\" style=\"width:517px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.51.36@2x.png 1034w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.51.36@2x-512x320.png 512w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.51.36@2x-1024x640.png 1024w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.51.36@2x-320x200.png 320w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.51.36@2x-768x480.png 768w\" sizes=\"auto, (max-width: 1034px) 100vw, 1034px\" \/><\/figure>\n\n\n\n<p><strong class=\"myprefix-text-bold\">3.<\/strong> Once you have added an image, you can customize using the block options to the right<\/p>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"916\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.56.40@2x.png\" alt=\"\" class=\"wp-image-4604\" style=\"width:356px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.56.40@2x.png 570w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.56.40@2x-512x823.png 512w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-10.56.40@2x-320x514.png 320w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n\n<ol class=\"wp-block-list\">\n<li>Toggle the button to enlarge the image<\/li>\n\n\n\n<li>Drag the image to position it relatively within the block<\/li>\n<\/ol>\n\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<p><strong class=\"myprefix-text-bold\">4.<\/strong> Replace or remove the image by selecting a single item and then clicking <strong class=\"myprefix-text-bold\">Remove Image<\/strong> or <strong class=\"myprefix-text-bold\">Replace Image.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"136\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.01.10@2x.png\" alt=\"Remove Image or Replace Image.\" class=\"wp-image-4605\" style=\"width:372px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.01.10@2x.png 436w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.01.10@2x-320x100.png 320w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure>\n\n\n\n<p><strong class=\"myprefix-text-bold\">5.<\/strong> To add another single item (image), click the blue plus sign at the right of the block.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"490\" height=\"224\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.10.59@2x.png\" alt=\"Add a single item\" class=\"wp-image-4608\" style=\"width:400px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.10.59@2x.png 490w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.10.59@2x-320x146.png 320w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/figure>\n\n\n\n<p><strong class=\"myprefix-text-bold\">6.<\/strong> Once you have added several images, you can change the order using the arrows in the contextual menu above the block (click a single item to view the menu).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"372\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.15.18@2x.png\" alt=\"\" class=\"wp-image-4609\" style=\"width:304px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.15.18@2x.png 636w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.15.18@2x-512x299.png 512w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.15.18@2x-320x187.png 320w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/figure>\n\n\n\n<p><strong class=\"myprefix-text-bold\">7.<\/strong> Select the entire image grid block by click the icon at the top left. You can now customize options for the entire block using the display options under the block tab at the right.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"418\" height=\"102\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.03.28@2x.png\" alt=\"Display options for image grid block\" class=\"wp-image-4606\" style=\"width:249px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.03.28@2x.png 418w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.03.28@2x-320x78.png 320w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/figure>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"774\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.04.38@2x.png\" alt=\"\" class=\"wp-image-4607\" style=\"width:340px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.04.38@2x.png 436w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2025\/01\/CleanShot-2025-01-09-at-11.04.38@2x-320x568.png 320w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure>\n\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n\n<ol class=\"wp-block-list\">\n<li>Add a header for the block<\/li>\n\n\n\n<li>Select a background colour (White or grey)<\/li>\n\n\n\n<li>Customize the number of columns (2, 3, or 4)<\/li>\n\n\n\n<li>Customize block width (Default, Large, Max)<\/li>\n\n\n\n<li>Increase grid gap by selecting large<\/li>\n\n\n\n<li>Change the aspect ratio. Options are Landscape, Portrait and Square<\/li>\n<\/ol>\n\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<h2 id=\"video-tutorial\" class=\"wp-block-heading\">Video Tutorial<\/h2>\n\n\n\n<div class=\"cu-section cu-section-5xl not-contained  cu-prose cu-prose-dark\"><figure class=\"cu-embed cu-component not-contained mx-auto max-w-5xl\"><div class=\"relative w-full pb-[56.25%] overflow-hidden border border-cu-black-100\"><iframe title=\"Videos Embed\" src=\"https:\/\/www.youtube.com\/embed\/kBmHCHdf-Xs\" class=\"cu-embed-iframe\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/figure><\/div>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    \n    <dl class=\"cu-description cu-component-updated\">\n        \n    <div class=\"grid pt-4 pb-3 border-b accordion border-cu-black-100 md:pt-6 md:pb-5 first:border-t\">\n        <dt class=\"font-semibold not-prose\">\n            <button class=\"flex items-center justify-between w-full text-left accordion__button\" aria-expanded=\"false\" aria-controls=\"accordion-transcript-image-grid\">\n                <span class=\"flex-1 ml-auto text-left break-words whitespace-normal cu-icon\">\n                    Transcript \u2013 Image Grid\n                <\/span>\n                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewbox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\" class=\"w-5 h-5 ml-auto transition-transform rotate-0 accordion__icon text-cu-black-500\">\n                    <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M8.25 4.5l7.5 7.5-7.5 7.5\"><\/path>\n                <\/svg>\n            <\/button>\n        <\/dt>\n        <dd class=\"p-0 mt-0 cu-prose cu-prose-first-last accordion__content md:p-0 md:mt-0\" hidden=\"\" id=\"accordion-transcript-image-grid\">\n            \n\n<p>Welcome to this tutorial on mastering the Image Grid Block! In this video, we&#8217;ll guide you through creating a visually appealing image grid, which is perfect for showcasing three to five images.<\/p>\n\n\n\n<p>Let\u2019s get started with a step-by-step guide:<\/p>\n\n\n\n<p><strong>Add the Image Grid<\/strong>\u00a0using the Block Menu.<\/p>\n\n\n\n<p>Next, you can add images by selecting a single item and then clicking on &#8220;Select Image&#8221; over here on the right.<br><strong>Note:<\/strong>\u00a0The minimum recommended image size is 768 pixels wide.<\/p>\n\n\n\n<p>Once you\u2019ve added an image, you can customize it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the single item and use the block options on the right.<\/li>\n\n\n\n<li>You can change the relative position by moving the adjustment wheel.<\/li>\n\n\n\n<li>Enlarge the image or replace it by clicking the &#8220;Replace&#8221; button and choosing a different image.<\/li>\n\n\n\n<li>If needed, you can remove the image altogether.<\/li>\n<\/ul>\n\n\n\n<p>To add another image, click on another single item, select an image, and choose one from the media library.<\/p>\n\n\n\n<p>After adding several images, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Change their order using the arrow in the contextual menu to shift images from side to side.<\/li>\n\n\n\n<li>Select the entire block by clicking on the image at the top left of the contextual menu.<\/li>\n<\/ul>\n\n\n\n<p>Now, let\u2019s explore the display options for the entire block:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Add a header:<\/strong>\u00a0You can give the block a title or description.<\/li>\n\n\n\n<li><strong>Change the background color:<\/strong>\u00a0Choose gray, white, or another option.<\/li>\n\n\n\n<li><strong>Control the number of columns:<\/strong>\u00a0For example, here we have four columns. To add a fourth image, click on the blue plus sign at the bottom, then select an image from the media library.<\/li>\n\n\n\n<li><strong>Adjust the width:<\/strong>\u00a0Options include default, large, or max width.<\/li>\n\n\n\n<li><strong>Customize spacing:<\/strong>\u00a0Change the size, padding, or gap between images.<\/li>\n\n\n\n<li><strong>Choose the aspect ratio:<\/strong>\u00a0Options include portrait, square, or the default landscape.<\/li>\n<\/ul>\n\n\n\n<p>There are many other configurations available. Explore the Block Library to discover additional ways to customize your Image Grid.<\/p>\n\n\n        <\/dd>\n    <\/div>\n\n\n    <\/dl>\n\n\n    <\/div>\n<\/section>\n\n\n\n<h2 id=\"try-it-out\" class=\"wp-block-heading\">Try it Out<\/h2>\n\n\n\n<p>Now that you have learned how to work with the image grid block, it&#8217;s time to try it out!<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add an image grid to your page.<\/li>\n\n\n\n<li>Select a few images.<\/li>\n\n\n\n<li>Publish and preview your page.<\/li>\n\n\n\n<li>Try out some of the image grid options.\n<ul class=\"wp-block-list\">\n<li>change the number of columns<\/li>\n\n\n\n<li>change the order of the images<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/mastery\/module-3-featured-content-blocks\/\">Next: Module 3 &#8211; Featured Content Blocks<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The image grid block is great for highlighting 3 to 5 images in a visually appealing way. Step-by-Step 1. Add the Image Grid block using the block menu. 2. Add images by selecting an single item within the block grid and then click Select Image. Noet the minimum recommended image size is 768 pixels wide. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":1505,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_cu_dining_location_slug":"","footnotes":"","_links_to":"","_links_to_target":""},"cu_page_type":[11],"class_list":["post-4594","page","type-page","status-publish","hentry","cu_page_type-general"],"acf":{"cu_post_thumbnail":false},"_links":{"self":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/4594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/comments?post=4594"}],"version-history":[{"count":4,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/4594\/revisions"}],"predecessor-version":[{"id":4641,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/4594\/revisions\/4641"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/1505"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/media?parent=4594"}],"wp:term":[{"taxonomy":"cu_page_type","embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/cu_page_type?post=4594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}