{"id":656,"date":"2020-05-27T17:32:41","date_gmt":"2020-05-27T17:32:41","guid":{"rendered":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/?page_id=656"},"modified":"2022-09-13T00:49:54","modified_gmt":"2022-09-13T04:49:54","slug":"thumbnail-gallery-block","status":"publish","type":"page","link":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/products\/nc-state-stories\/blocks\/thumbnail-gallery-block\/","title":{"rendered":"Thumbnail Gallery Block"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>This block allows you to display many photos in a condensed amount of screen space. This is useful for cases where a large number of images are available for a particular story, but are topically relevant to eachother and best viewed in conjunction with other relevant images. Think a gallery of NC&#160;State Fair foods, or a collection of images from Graduation. <\/p>\n\n\n\n<p>Up to 30 images can be displayed in a single gallery, which are paginated in chunks depending on how large the user&#8217;s screen size is. The block displays images within the gallery as small thumbnails. Users can click on an image to enlarge it and swipe through the gallery.<\/p>\n\n\n\n<p>Images are selected from the WordPress Media Library. They can then be placed in any order and optional gallery-specific captions can be added.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1666\" height=\"924\" src=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2020\/06\/thumbnail-gallery-example-1.gif\" alt=\"\" class=\"wp-image-883\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Alternative Options<\/h2>\n\n\n\n<p>There are several similar blocks that can be used to showcase visual content.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/image-block\/\">Image block<\/a>: The standard image block can be used to pace a story and provide natural separation between different story sections.<\/li><li><a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/platforms\/nc-state-stories\/enhanced-news-add-on\/image-grid-block\/\">Image Grid block<\/a>: This block is only available within the Enhanced Add-on to NC&#160;State Stories. It allows you to display images in a grid format of one image across or two images side-by-side. You can add as many rows of images as you&#8217;d like.<\/li><li><a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/video-image-block\/\">Video Image block<\/a>: You can add video by embedding a YouTube video using the Video Image block. This block allows you to select a still image to use as the video&#8217;s cover image.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Need help?<\/h2>\n\n\n\n<p>Have questions? Feel free to reach out with any questions or concerns at\u00a0<a href=\"http:\/\/go.ncsu.edu\/ucomm-dev-request\">go.ncsu.edu\/ucomm-dev-request<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This block allows you to display many photos in a condensed amount of screen space. This is useful for cases where a large number of images are available for&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":207,"menu_order":18,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ncst_dynamicHeaderBlockName":"ncst\/default-header","ncst_dynamicHeaderData":"{\"pageIntro\":\"The Thumbnail Gallery allows you to add a traditional photo gallery to your NC State Stories post.\"}","ncst_content_audit_freq":"","ncst_content_audit_date":"","footnotes":"","_links_to":"","_links_to_target":""},"acf":[],"_links":{"self":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/656"}],"collection":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/comments?post=656"}],"version-history":[{"count":5,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/656\/revisions"}],"predecessor-version":[{"id":3016,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/656\/revisions\/3016"}],"up":[{"embeddable":true,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/207"}],"wp:attachment":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/media?parent=656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}