{"id":9375,"date":"2024-01-10T18:02:00","date_gmt":"2024-01-10T18:02:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9375"},"modified":"2024-01-22T16:03:26","modified_gmt":"2024-01-22T11:03:26","slug":"javascript-image-carousel-with-thumbnails","status":"publish","type":"post","link":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/","title":{"rendered":"JavaScript Image Carousel with Thumbnails"},"content":{"rendered":"<p>This JavaScript code creates a responsive image carousel with thumbnail navigation. It lets you view different images by clicking on thumbnails. The core function, &#8220;changeImage,&#8221; dynamically swaps the main image and highlights the active thumbnail for seamless image browsing. Perfect for showcasing multiple images in an easy-to-use and user-friendly way.<\/p>\n<h2>How to Create Image Carousel With Thumbnails in JavaScript<\/h2>\n<p>1. First, create the HTML structure for the <a href=\"https:\/\/codehim.com\/carousel\/image-carousel-using-vanilla-js\/\" target=\"_blank\" rel=\"noopener\">image carousel<\/a> and thumbnails. Place the following code inside the <code>&lt;body&gt;<\/code> tag of your HTML document. Replace sample images with the URL of your own images and add more thumbnail images inside the <code>.photo-gallery__wrapper<\/code> div as needed.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;section class=\"wrapper\"&gt;\r\n  &lt;div class=\"image-holder\"&gt;\r\n    &lt;img src=\"https:\/\/images.unsplash.com\/photo-1544568100-847a948585b9?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=800&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ\" \\&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;div class=\"photo-gallery__wrapper\"&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1544568100-847a948585b9?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\" class=\"active\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1517423440428-a5a00ad493e8?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1510771463146-e89e6e86560e?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1507146426996-ef05306b995a?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1530281700549-e82e7bf110d6?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1548199973-03cce0bbc87b?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1552053831-71594a27632d?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1518717758536-85ae29035b6d?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1535930891776-0c2dfb7fda1a?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"image-thumbnail\"&gt;\r\n      &lt;img src='https:\/\/images.unsplash.com\/photo-1504595403659-9088ce801e29?ixlib=rb-1.2.1&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=400&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' onclick=\"changeImage(this);\"&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/section&gt;<\/pre>\n<p>2. Now, style the carousel and thumbnails using CSS. Add the following CSS code inside a <code>&lt;style&gt;<\/code> tag or an external CSS file. You can customize the styles according to your design preferences.<\/p>\n<pre class=\"prettyprint linenums lang-css\">section.wrapper {\r\n  width: 100%;\r\n}\r\n\r\n.photo-gallery__wrapper {\r\n  width: 800px;\r\n  margin: 0 auto;\r\n  display: flex;\r\n  flex-direction: row;\r\n  flex-wrap: wrap;\r\n  align-items: center;\r\n  justify-content: center;\r\n}\r\n.photo-gallery__wrapper div {\r\n  height: 80px;\r\n  overflow: hidden;\r\n}\r\n\r\n.image-holder {\r\n  width: 800px;\r\n  height: 400px;\r\n  overflow: hidden;\r\n  margin: 0 auto;\r\n}\r\n.image-holder img {\r\n  width: 800px;\r\n  height: 400px;\r\n  object-fit: cover;\r\n  object-position: 50% 50%;\r\n}\r\n.image-thumbnail img {\r\n  width: 80px;\r\n  height: 80px;\r\n  object-fit: cover;\r\n  transition: transform 0.35s;\r\n  transform: scale(1);\r\n  filter: grayscale(1);\r\n}\r\n.image-thumbnail img.active {\r\n  filter: none;\r\n}\r\n.image-thumbnail img:hover {\r\n  transition: transform 0.35s, filter 0.35s linear;\r\n  transform: scale(1.12);\r\n  filter: none;\r\n}<\/pre>\n<p>3. The core functionality is implemented with the following JavaScript code. This code swaps the main image and highlights the active thumbnail when a thumbnail is clicked. Add the JavaScript code to your document within a <code>&lt;script&gt;<\/code> tag or link to an external JavaScript file.<\/p>\n<pre class=\"prettyprint linenums lang-js\">let changeImage = (e) =&gt; {\r\n\r\n    let imgSrc = e.src;\r\n    imgSrc = imgSrc.replace(\/400\/g, '800');\r\n    document.querySelector('.image-holder &gt; img').src = imgSrc;\r\n    document.querySelector('.image-thumbnail &gt; img.active').classList.toggle('active');\r\n    e.classList.toggle('active');\r\n\r\n};<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created a JavaScript Image Carousel with Thumbnails on your website. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code creates a responsive image carousel with thumbnail navigation. It lets you view different images by clicking on&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9395,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[59],"tags":[79],"class_list":["post-9375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-carousel","tag-slider"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Image Carousel with Thumbnails &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a JavaScript Image Carousel with Thumbnails. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Image Carousel with Thumbnails &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a JavaScript Image Carousel with Thumbnails. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-10T18:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:03:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"JavaScript Image Carousel with Thumbnails\",\"datePublished\":\"2024-01-10T18:02:00+00:00\",\"dateModified\":\"2024-01-22T11:03:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\"},\"wordCount\":209,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png\",\"keywords\":[\"Image Sliders\"],\"articleSection\":[\"Carousel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\",\"url\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\",\"name\":\"JavaScript Image Carousel with Thumbnails &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png\",\"datePublished\":\"2024-01-10T18:02:00+00:00\",\"dateModified\":\"2024-01-22T11:03:26+00:00\",\"description\":\"Here is a free code snippet to create a JavaScript Image Carousel with Thumbnails. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png\",\"width\":1280,\"height\":960,\"caption\":\"JavaScript Image Carousel with Thumbnails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Carousel\",\"item\":\"https:\/\/codehim.com\/category\/carousel\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Image Carousel with Thumbnails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Image Carousel with Thumbnails &#8212; CodeHim","description":"Here is a free code snippet to create a JavaScript Image Carousel with Thumbnails. You can view demo and download the source code.","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:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Image Carousel with Thumbnails &#8212; CodeHim","og_description":"Here is a free code snippet to create a JavaScript Image Carousel with Thumbnails. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:02:00+00:00","article_modified_time":"2024-01-22T11:03:26+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"JavaScript Image Carousel with Thumbnails","datePublished":"2024-01-10T18:02:00+00:00","dateModified":"2024-01-22T11:03:26+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/"},"wordCount":209,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png","keywords":["Image Sliders"],"articleSection":["Carousel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/","url":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/","name":"JavaScript Image Carousel with Thumbnails &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png","datePublished":"2024-01-10T18:02:00+00:00","dateModified":"2024-01-22T11:03:26+00:00","description":"Here is a free code snippet to create a JavaScript Image Carousel with Thumbnails. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/JavaScript-Image-Carousel-with-Thumbnails.png","width":1280,"height":960,"caption":"JavaScript Image Carousel with Thumbnails"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/carousel\/javascript-image-carousel-with-thumbnails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Carousel","item":"https:\/\/codehim.com\/category\/carousel\/"},{"@type":"ListItem","position":3,"name":"JavaScript Image Carousel with Thumbnails"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":2596,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=9375"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9375\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9395"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}