  {"id":4068,"date":"2024-08-23T10:55:57","date_gmt":"2024-08-23T14:55:57","guid":{"rendered":"https:\/\/carleton.ca\/cutheme-docs\/?page_id=4068"},"modified":"2026-08-10T20:59:09","modified_gmt":"2026-08-11T00:59:09","slug":"gallery","status":"publish","type":"page","link":"https:\/\/carleton.ca\/cutheme-docs\/intermediate-training\/intermediate-training-module-2-common-content-blocks\/gallery\/","title":{"rendered":"Gallery"},"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                        Gallery Block\n                    <\/h1>\n                \n                                \n                                    \n\n<p class=\"wp-block-paragraph\">Intermediate Training Module 2: Common Content Blocks<\/p>\n\n\n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n<p class=\"wp-block-paragraph\">The Gallery block allows you to display multiple images together in a clean, organized layout. Rather than inserting individual images one at a time, a gallery groups related images into a single visual collection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Galleries are ideal for showcasing:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Events and activities<\/li>\n\n\n\n<li>Facilities and spaces<\/li>\n\n\n\n<li>Research projects<\/li>\n\n\n\n<li>Student experiences<\/li>\n\n\n\n<li>Campus photography<\/li>\n\n\n\n<li>Project portfolios<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A well-designed gallery can help tell a story, highlight accomplishments, and make pages more engaging.<\/p>\n\n\n\n<h2 id=\"when-to-use-a-gallery\" class=\"wp-block-heading\">When to Use a Gallery<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use a Gallery block when you want to display several related images together.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong class=\"myprefix-text-bold\">Event Photos:<\/strong> Showcase images from a conference, workshop, open house, or community event.<\/li>\n\n\n\n<li><strong class=\"myprefix-text-bold\">Spaces and Facilities:<\/strong> Highlight classrooms, labs, meeting rooms, or campus facilities.<\/li>\n\n\n\n<li><strong class=\"myprefix-text-bold\">Student and Faculty Activities:<\/strong> Display research, teaching, student life, or community engagement.<\/li>\n\n\n\n<li><strong class=\"myprefix-text-bold\">Before-and-After Examples:<\/strong> Present visual comparisons in an easy-to-follow format.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When multiple images support the same topic, a gallery is often more effective than several standalone image blocks.<\/p>\n\n\n\n<h2 id=\"adding-a-gallery\" class=\"wp-block-heading\">Adding a Gallery<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To add a Gallery block:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the <strong>+<\/strong> button and search for <strong>Gallery<\/strong>.<\/li>\n\n\n\n<li>Select the Gallery block.<\/li>\n\n\n\n<li>Upload new images or choose images from the Media Library.<\/li>\n\n\n\n<li>Select multiple images.<\/li>\n\n\n\n<li>Click <strong>Create Gallery<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Insert Gallery<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Your images will automatically be displayed in a grid layout.<\/p>\n\n\n\n<h2 id=\"gallery-layout-options\" class=\"wp-block-heading\">Gallery Layout Options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Several settings can be used to customize how images are displayed.<\/p>\n\n\n\n<h3 id=\"number-of-columns\" class=\"wp-block-heading\">Number of Columns<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Control how many images appear in each row.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2 columns<\/li>\n\n\n\n<li>3 columns<\/li>\n\n\n\n<li>4 columns<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The ideal number depends on:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The number of images<\/li>\n\n\n\n<li>The available page width<\/li>\n\n\n\n<li>How much detail appears in each image<\/li>\n<\/ul>\n\n\n\n<h3 id=\"image-size\" class=\"wp-block-heading\">Image Size<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the image resolution displayed within the gallery.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Larger image sizes provide more detail but may take up more space on the page.<\/p>\n\n\n\n<h3 id=\"cropping-images\" class=\"wp-block-heading\">Cropping Images<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cropping helps create a consistent visual appearance by making images display at the same proportions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can be particularly helpful when images have different dimensions.<\/p>\n\n\n\n<h3 id=\"linking-images\" class=\"wp-block-heading\">Linking Images<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on your site&#8217;s configuration, images can link to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The image file<\/li>\n\n\n\n<li>An attachment page<\/li>\n\n\n\n<li>Another destination<\/li>\n<\/ul>\n\n\n\n<h3 id=\"randomizing-images\" class=\"wp-block-heading\">Randomizing Images<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Some gallery configurations allow images to appear in a random order each time the page loads.<\/p>\n\n\n\n<h2 id=\"reordering-images\" class=\"wp-block-heading\">Reordering Images<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Images can be rearranged within the gallery.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To change the order:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select an image within the gallery.<\/li>\n\n\n\n<li>Use the move controls to reposition it.<\/li>\n\n\n\n<li>Continue until the gallery is arranged as desired.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The order of images can influence how visitors experience the content, so it is worth reviewing carefully.<\/p>\n\n\n\n<h2 id=\"accessibility-and-image-quality\" class=\"wp-block-heading\">Accessibility and Image Quality<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As with all images on your website:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use high-quality photographs.<\/li>\n\n\n\n<li>Add meaningful alt text where appropriate.<\/li>\n\n\n\n<li>Avoid images that contain important text.<\/li>\n\n\n\n<li>Ensure images remain clear on mobile devices.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Well-prepared images improve both usability and accessibility.<\/p>\n\n\n\n<h2 id=\"best-practices\" class=\"wp-block-heading\">Best Practices<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong class=\"myprefix-text-bold\">Use Related Images<\/strong><br>Images within a gallery should support a common topic or theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong class=\"myprefix-text-bold\">Choose Quality Over Quantity<\/strong><br>A small collection of strong images is often more effective than a large collection of average ones.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong class=\"myprefix-text-bold\">Consider Image Order<\/strong><br>Place the strongest or most important images first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong class=\"myprefix-text-bold\">Maintain Consistency<\/strong><br>Where possible, use images with similar quality, orientation, and style.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong class=\"myprefix-text-bold\">Preview on Mobile Devices<\/strong><br>Always review galleries on smaller screens to ensure they remain easy to browse.<\/p>\n\n\n\n<h2 id=\"common-uses\" class=\"wp-block-heading\">Common Uses<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Galleries work well for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Event photo collections<\/li>\n\n\n\n<li>Campus tours<\/li>\n\n\n\n<li>Research showcases<\/li>\n\n\n\n<li>Student projects<\/li>\n\n\n\n<li>Department highlights<\/li>\n\n\n\n<li>Facility overviews<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">They are one of the most effective ways to present visual content without overwhelming visitors.<\/p>\n\n\n\n<figure class=\"wp-block-embed alignwide is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio w-screen ml-offset-center cu-max-w-child-7xl px-4 md:px-6 lg:px-12\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"cutheme Mastery Training - Gallery Blocks\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/UKcFRmsio1s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/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    \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-gallery\">\n                <span class=\"flex-1 ml-auto text-left break-words whitespace-normal cu-icon\">\n                    Transcript \u2013 Gallery\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-gallery\">\n            \n\n<p class=\"wp-block-paragraph\">The gallery block is a way to display multiple photos in a grid, this makes it optimal for you to show your collection of images in an organized way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To add a gallery block to your page, navigate to the block menu and add the gallery block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Images can be added by using your media library or uploading new photos from your computer. Then click create a new gallery, then insert gallery.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can organize your images by using the arrows on the menu that appears above the block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To customize how your gallery looks, navigate to the block tab and from there you can change the number of columns, resolution of your images, if you want to make the images link to its media files, crop images or randomize the placement order of the images.<\/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 class=\"wp-block-paragraph\">Practice working with the Gallery block.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add a Gallery block to a page.<\/li>\n\n\n\n<li>Select several images from your Media Library.<\/li>\n\n\n\n<li>Create and insert the gallery.<\/li>\n\n\n\n<li>Change the number of columns.<\/li>\n\n\n\n<li>Rearrange the order of the images.<\/li>\n\n\n\n<li>Preview the page and review the gallery on desktop and mobile devices.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Display multiple images in organized galleries to showcase events, spaces, projects, and other visual content.<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":5167,"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":[61],"class_list":["post-4068","page","type-page","status-publish","hentry","cu_page_type-intermediate-training-module-2"],"acf":{"cu_post_thumbnail":""},"_links":{"self":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/4068","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/comments?post=4068"}],"version-history":[{"count":5,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/4068\/revisions"}],"predecessor-version":[{"id":4526,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/4068\/revisions\/4526"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/5167"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/media?parent=4068"}],"wp:term":[{"taxonomy":"cu_page_type","embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/cu_page_type?post=4068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}