{"id":40542,"date":"2018-11-15T15:01:25","date_gmt":"2018-11-15T07:01:25","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=40542"},"modified":"2022-07-17T21:24:48","modified_gmt":"2022-07-17T13:24:48","slug":"expand-image-like-google-images","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/","title":{"rendered":"How to Expand Thumbnails Like Google Images"},"content":{"rendered":"<p>Google Images runs a unique UI with <strong>thumbnail previews from many different websites<\/strong>. Clicking any of these thumbnails expands the screen with more details and a larger pic.<\/p>\n<p>It\u2019s one of the best image gallery features I\u2019ve used and now, <strong>you can clone it with <a href=\"https:\/\/oriongunning.github.io\/gridder\/\" target=\"_blank\" rel=\"noopener\">Gridder.js<\/a><\/strong>.<\/p>\n<p>This free jQuery plugin follows in the footsteps of Google\u2019s <a href=\"https:\/\/www.hongkiat.com\/blog\/web-design-to-experience-design\/\">incredible UX<\/a> by creating a plugin that matches this effect. You can <strong>turn any photo gallery into a Google Images-style gallery<\/strong> with all the same animations and display features.<\/p>\n<p>I\u2019m pleasantly surprised by the speed and ease of use that comes with this plugin. Just clicking any thumbnail <strong>immediately displays a larger shot<\/strong> and the animations are super clean.<\/p>\n<figure><a href=\"https:\/\/oriongunning.github.io\/gridder\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif\" alt=\"Gridder.js image search plugin\" width=\"982\" height=\"744\"><\/a><\/figure>\n<p>The images <strong>include a section for descriptive text<\/strong> in case you want to add some details or links related to the pics. This works especially well for <a href=\"https:\/\/www.hongkiat.com\/blog\/minimalist-portfolio-designs\/\">simple portfolio sites<\/a> with a goal of focusing on the images.<\/p>\n<p>On top of that, you can <strong>also pull content via Ajax<\/strong>. This lets you <strong>create dynamic thumbnails<\/strong> that pull content from other websites or through APIs.<\/p>\n<p>Each click event <strong>offers a callback method<\/strong>, so you can even run other plugins or JavaScript functions alongside Gridder. With so many options, it practically feels like an entire grid framework!<\/p>\n<p>Since Gridder <strong>runs on jQuery<\/strong>, it does require the newest version as a dependency. But, that\u2019s all you need (along with the Gridder.js file), and with a few lines of HTML, you can have your grid running smoothly.<\/p>\n<p>You should check out the <a href=\"https:\/\/github.com\/oriongunning\/gridder\" target=\"_blank\" rel=\"noopener\">GitHub page<\/a> for <strong>full setup instructions<\/strong> but here\u2019s a <strong>quick preview<\/strong> of what the HTML looks like:<\/p>\n<pre>\r\n  &lt;!-- Gridder navigation --&gt;\r\n  &lt;ul class=\"gridder\"&gt;\r\n      &lt;li class=\"gridder-list\" data-griddercontent=\"#content1\"&gt;\r\n          &lt;img src=\"http:\/\/placehold.it\/600x400\" \/&gt;\r\n      &lt;\/li&gt;\r\n\r\n      &lt;!-- You can also load html\/ajax pages by replacing the #ID with a URL --&gt;\r\n      &lt;li class=\"gridder-list\" data-griddercontent=\"\/content.html\"&gt;\r\n          &lt;img src=\"http:\/\/placehold.it\/600x400\" \/&gt;\r\n      &lt;\/li&gt;\r\n  &lt;\/ul&gt;\r\n\r\n  &lt;!-- Gridder content --&gt;\r\n  &lt;div id=\"content1\" class=\"gridder-content\"&gt; Content goes here... &lt;\/div&gt;\r\n<\/pre>\n<p>All content <strong>gets pulled through JavaScript<\/strong>, so you can load pretty much anything you want.<\/p>\n<p>It\u2019s an incredibly versatile plugin with options to <strong>change the animation speed, easing, close button style, and scroll offset position<\/strong> for when the user clicks a new thumbnail.<\/p>\n<p>Newbie and pro developers alike will find a lot of value in this plugin. Yet, if you still aren\u2019t sure if this is for you take a look at the <a href=\"https:\/\/oriongunning.github.io\/gridder\/\" target=\"_blank\" rel=\"noopener\">live Gridder demo page<\/a> and play around.<\/p>","protected":false},"excerpt":{"rendered":"<p>Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details and a larger pic. It\u2019s one of the best image gallery features I\u2019ve used and now, you can clone it with Gridder.js. This free jQuery plugin follows in the footsteps of&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3395],"tags":[2305,1888],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Expand Thumbnails Like Google Images - Hongkiat<\/title>\n<meta name=\"description\" content=\"Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Expand Thumbnails Like Google Images\" \/>\n<meta property=\"og:description\" content=\"Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-15T07:01:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-17T13:24:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"How to Expand Thumbnails Like Google Images\",\"datePublished\":\"2018-11-15T07:01:25+00:00\",\"dateModified\":\"2022-07-17T13:24:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/\"},\"wordCount\":367,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/expand-image-like-google-images\\\/01-gridderjs-preview-thumbnail-grid.gif\",\"keywords\":[\"Image Optimization\",\"thumbnails\"],\"articleSection\":[\"UI\\\/UX\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/\",\"name\":\"How to Expand Thumbnails Like Google Images - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/expand-image-like-google-images\\\/01-gridderjs-preview-thumbnail-grid.gif\",\"datePublished\":\"2018-11-15T07:01:25+00:00\",\"dateModified\":\"2022-07-17T13:24:48+00:00\",\"description\":\"Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/expand-image-like-google-images\\\/01-gridderjs-preview-thumbnail-grid.gif\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/expand-image-like-google-images\\\/01-gridderjs-preview-thumbnail-grid.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/expand-image-like-google-images\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Expand Thumbnails Like Google Images\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Expand Thumbnails Like Google Images - Hongkiat","description":"Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details","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:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/","og_locale":"en_US","og_type":"article","og_title":"How to Expand Thumbnails Like Google Images","og_description":"Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details","og_url":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2018-11-15T07:01:25+00:00","article_modified_time":"2022-07-17T13:24:48+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"How to Expand Thumbnails Like Google Images","datePublished":"2018-11-15T07:01:25+00:00","dateModified":"2022-07-17T13:24:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/"},"wordCount":367,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif","keywords":["Image Optimization","thumbnails"],"articleSection":["UI\/UX"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/","url":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/","name":"How to Expand Thumbnails Like Google Images - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif","datePublished":"2018-11-15T07:01:25+00:00","dateModified":"2022-07-17T13:24:48+00:00","description":"Google Images runs a unique UI with thumbnail previews from many different websites. Clicking any of these thumbnails expands the screen with more details","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/expand-image-like-google-images\/01-gridderjs-preview-thumbnail-grid.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/expand-image-like-google-images\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Expand Thumbnails Like Google Images"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-axU","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/40542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=40542"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/40542\/revisions"}],"predecessor-version":[{"id":60484,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/40542\/revisions\/60484"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=40542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=40542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=40542"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=40542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}