{"id":2579,"date":"2024-01-17T16:50:00","date_gmt":"2024-01-17T16:50:00","guid":{"rendered":"https:\/\/codehim.com\/?p=2579"},"modified":"2024-01-22T14:51:18","modified_gmt":"2024-01-22T09:51:18","slug":"pure-javascript-lightbox-vanilla-js-image-lightbox","status":"publish","type":"post","link":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/","title":{"rendered":"Pure JavaScript Lightbox &#8211; Vanilla JS Image Lightbox"},"content":{"rendered":"<p>A simple, lightweight (10kb unminified), and mobile-friendly pure JavaScript lightbox to show images in a popup box with a close button. This vanilla JavaScript lightbox plugin doesn&#8217;t require any external framework or library to work.<\/p>\n<h2>Code Features<\/h2>\n<ul>\n<li>Easy to initialize.<\/li>\n<li>Responsive, fully mobile friendly.<\/li>\n<li>Debounced launch, default 500ms, the customs rate can be set with rate property of options object.<\/li>\n<li>A preloading spinner that is unset after onload event succeeds.<\/li>\n<li>Pure <abbr title=\"Cascading Stylish Sheet\">CSS<\/abbr> Retina Ready <abbr title=\"User Interface\">UI<\/abbr> images.<\/li>\n<li>Custom event callback functions.<\/li>\n<\/ul>\n<h2>How to Create a Pure JavaScript Lightbox<\/h2>\n<p>1. Include the <code>img-lightbox<\/code>&#8216;s CSS and JavaScript files into your HTML document to create an image lightbox.<\/p>\n<pre class=\"prettyprint lang-html\">&lt;!-- Lightbox CSS --&gt;\r\n&lt;link rel=\"stylesheet\" href=\"css\/img-lightbox.css\"&gt;\r\n\r\n&lt;!-- Lightbox JavaScript --&gt;\r\n&lt;script src=\"js\/img-lightbox.js\"&gt;&lt;\/script&gt;\r\n<\/pre>\n<p>2. Create markup for your images as follows. Wrap your image in the anchor link of the full-width image and insert the thumbnail URL in <code>img<\/code> src.<\/p>\n<pre class=\"prettyprint lang-html\">&lt;a href=\"https:\/\/farm1.staticflickr.com\/955\/27854475488_5f82a379ca_z.jpg\" class=\"img-lightbox-link\" aria-hidden=\"true\" rel=\"lightbox\"&gt;\r\n   &lt;img src=\"https:\/\/farm1.staticflickr.com\/955\/27854475488_5f82a379ca_z.jpg\" alt=\"Image Lightbox\" \/&gt;\r\n&lt;\/a&gt;\r\n<\/pre>\n<p>3. Finally, initialize the <code>img-lightbox<\/code> plugin in HTML <code>&lt;script&gt;<\/code> tag with all available options.<\/p>\n<pre class=\"prettyprint lang-js\">(function (root) {\r\n\t\"use strict\";\r\n\tif (root.imgLightbox) {\r\n\t\timgLightbox(\"img-lightbox-link\", {\r\n\t\t\tonCreated: function () {\r\n\t\t\t\t\/* show your preloader *\/\r\n\t\t\t},\r\n\t\t\tonLoaded: function () {\r\n\t\t\t\t\/* hide your preloader *\/\r\n\t\t\t},\r\n\t\t\tonError: function () {\r\n\t\t\t\t\/* hide your preloader *\/\r\n\t\t\t},\r\n\t\t\tonClosed: function () {\r\n\t\t\t\t\/* hide your preloader *\/\r\n\t\t\t},\r\n\t\t\trate: 500 \/* default: 500 *\/ ,\r\n\t\t\ttouch: false \/* default: false - use with care for responsive images in links on vertical mobile screens *\/\r\n\t\t});\r\n\t}\r\n})(\"undefined\" !== typeof window ? window : this);\r\n<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created an image lightbox. If you have any questions or facing any issues, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A simple, lightweight (10kb unminified), and mobile-friendly pure JavaScript lightbox to show images in a popup box with a close&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2584,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[52,116],"tags":[53],"class_list":["post-2579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lightbox","category-vanilla-javascript","tag-popup-lightbox"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pure JavaScript Lightbox - Vanilla JS Image Lightbox &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a pure JavaScript code snippet to create an image lightbox. You can view the 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\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pure JavaScript Lightbox - Vanilla JS Image Lightbox &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a pure JavaScript code snippet to create an image lightbox. You can view the demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\" \/>\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-17T16:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T09:51:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"962\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Pure JavaScript Lightbox &#8211; Vanilla JS Image Lightbox\",\"datePublished\":\"2024-01-17T16:50:00+00:00\",\"dateModified\":\"2024-01-22T09:51:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\"},\"wordCount\":173,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg\",\"keywords\":[\"Popup Lightbox\"],\"articleSection\":[\"LightBox\",\"Vanilla JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\",\"url\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\",\"name\":\"Pure JavaScript Lightbox - Vanilla JS Image Lightbox &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg\",\"datePublished\":\"2024-01-17T16:50:00+00:00\",\"dateModified\":\"2024-01-22T09:51:18+00:00\",\"description\":\"Here is a pure JavaScript code snippet to create an image lightbox. You can view the demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg\",\"width\":1280,\"height\":962,\"caption\":\"Pure JavaScript Lightbox - Vanilla JS Image Lightbox\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LightBox\",\"item\":\"https:\/\/codehim.com\/category\/lightbox\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pure JavaScript Lightbox &#8211; Vanilla JS Image Lightbox\"}]},{\"@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":"Pure JavaScript Lightbox - Vanilla JS Image Lightbox &#8212; CodeHim","description":"Here is a pure JavaScript code snippet to create an image lightbox. You can view the 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\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/","og_locale":"en_US","og_type":"article","og_title":"Pure JavaScript Lightbox - Vanilla JS Image Lightbox &#8212; CodeHim","og_description":"Here is a pure JavaScript code snippet to create an image lightbox. You can view the demo and download the source code.","og_url":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-17T16:50:00+00:00","article_modified_time":"2024-01-22T09:51:18+00:00","og_image":[{"width":1280,"height":962,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg","type":"image\/jpeg"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Pure JavaScript Lightbox &#8211; Vanilla JS Image Lightbox","datePublished":"2024-01-17T16:50:00+00:00","dateModified":"2024-01-22T09:51:18+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/"},"wordCount":173,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg","keywords":["Popup Lightbox"],"articleSection":["LightBox","Vanilla JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/","url":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/","name":"Pure JavaScript Lightbox - Vanilla JS Image Lightbox &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg","datePublished":"2024-01-17T16:50:00+00:00","dateModified":"2024-01-22T09:51:18+00:00","description":"Here is a pure JavaScript code snippet to create an image lightbox. You can view the demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/05\/javascript-lightbox.jpg","width":1280,"height":962,"caption":"Pure JavaScript Lightbox - Vanilla JS Image Lightbox"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/lightbox\/pure-javascript-lightbox-vanilla-js-image-lightbox\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"LightBox","item":"https:\/\/codehim.com\/category\/lightbox\/"},{"@type":"ListItem","position":3,"name":"Pure JavaScript Lightbox &#8211; Vanilla JS Image Lightbox"}]},{"@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":6875,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/2579","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=2579"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/2579\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/2584"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=2579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=2579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}