{"id":3234,"date":"2020-09-07T04:44:06","date_gmt":"2020-09-07T04:44:06","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=3234"},"modified":"2020-09-07T07:18:13","modified_gmt":"2020-09-07T07:18:13","slug":"take-a-screenshot-of-a-webpage-through-javascript-and-php","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/","title":{"rendered":"Take a screenshot of a webpage through Javascript and PHP"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body. In that case, we can simply do so by using the html2canvas library of the javascript.<\/p>\n<h3>Example to demonstrate<\/h3>\n<p>Suppose there is a form with two fields &#8211; field 1 and field 2. On submitting the form, we need to show the screenshot of the form to the right space of the form and also send an email to the admin with the screenshot of the form attached along with the field data. Below is the form before the screenshot:<\/p>\n<p>Now we need to get the html2canvas library js file from the link <a href=\"https:\/\/html2canvas.hertzen.com\/dist\/html2canvas.js\">https:\/\/html2canvas.hertzen.com\/dist\/html2canvas.js<\/a> and save it to the js files folder of our project like we have a js-files folder here. After saving the project in the js-files directory, we need to include it to our HTML file in order to get the screenshot.<\/p>\n<p><strong>Below is the HTML of the form<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/09\/form1.png\" alt=\"form1\"\/><\/p>\n<p><code>&lt;head><br \/>\n\t&lt;script src=\"js-files\/html2canvas.js\" type=\"text\/javascript\">&lt;\/script><br \/>\n&lt;script src=\"js-files\/screenshot_save_submit.js\" type=\"text\/javascript\">&lt;\/script><br \/>\n&lt;\/head><br \/>\n&lt;body><br \/>\n\t&lt;div class='form_outer_div'><br \/>\n&lt;form onsubmit=\"return submit_after_screenshot();\" method=\"POST\" id=\"contact_ad_form\"><br \/>\n&lt;input type=\"hidden\" id=\"screenshot_image\" name=\"screenshot_image\"><br \/>\n\t\t&lt;div class=\"form-group\"><br \/>\n\t\t\t&lt;label>Field 1&lt;\/label><br \/>\n\t\t\t&lt;input type=\"text\" name=\"field_1\" class=\"pix_text\"><br \/>\n\t\t&lt;\/div><br \/>\n\t\t&lt;div class=\"form-group\"><br \/>\n\t\t\t&lt;label>Field 2&lt;\/label><br \/>\n\t\t\t&lt;input type=\"text\" name=\"field_2\" class=\"pix_text\"><br \/>\n\t\t&lt;\/div><br \/>\n\t\t&lt;span class=\"send_btn\"><br \/>\n\t\t\t&lt;button type=\"submit\" class=\"submit_btn\" id=\"submit_ad_form\"><br \/>\n\t\t\t\t&lt;span class=\"editContent\" style=\"\">Submit&lt;\/span><br \/>\n\t\t\t&lt;\/button><br \/>\n&lt;\/span><br \/>\n\t\t&lt;span class=\"send_btn\"><br \/>\n\t\t\tClick on the submit button to get the screenshot on right...<br \/>\n\t\t&lt;\/span><br \/>\n&lt;\/form><br \/>\n &lt;\/div><br \/>\n&lt;div class=\"ten columns omega\"><br \/>\n&lt;div id=\"screenshot\">&lt;\/div>\t\/**Div to show the screenshot**\/<br \/>\n\t&lt;\/div><br \/>\n&lt;\/body><\/code><\/p>\n<p>Here, the file screenshot_save_submit.js (included in the header), is the file that we have created to add our script that will capture the screenshot and submit the form.<br \/>\nThen we created a form with id \u2018contact_ad_form\u2019 having 2 fields.<\/p>\n<p>Now, on submit of this form, we need to first get the screenshot and then show it to the right before sending it to the back-end for email purposes. Therefore we will add a function to the screenshot_save_submit.js file and will call this function on the \u201consubmit\u201d event of the above form.<\/p>\n<p><strong>Below is the script for screenshot_save_submit.js<\/strong><br \/>\n<code><em>function submit_after_screenshot(){<br \/>\n\thtml2canvas(document.getElementById('form_outer_div'),{<br \/>\n\t\tbackground :'#000000',<br \/>\n\t}).then(canvas => {<br \/>\n\t\tvar imageData = canvas.toDataURL();<br \/>\n\t\tdocument.getElementById('screenshot').appendChild(canvas);<br \/>\n\t\tdocument.getElementById(\"screenshot_image\").setAttribute(\"value\", imageData);<br \/>\n\t\t$.ajax({<br \/>\n\t\t\ttype: 'POST',<br \/>\n\t\t\turl: 'contact_form_submit.php',<br \/>\n\t\t\tdata: $( \"#contact_ad_form\" ).serialize(),<br \/>\n\t\t\tsuccess: function (result) {<br \/>\n\t\t\t\tconsole.log('Form submitted');<br \/>\n\t\t\t},<br \/>\n\t\t\terror: function (result) {<br \/>\n\t\t\t\tconsole.log('Error Result --- '+JSON.stringify(result));<br \/>\n\t\t\t}<br \/>\n\t\t});<br \/>\n\t});<br \/>\n\treturn false;<br \/>\n}<\/em><\/code><\/p>\n<p>Here, in this function, we are calling the html2canvas() method of the html2canvas javascript library. document.getElementById(&#8216;form_outer_div&#8217;) is fetching the div with id &#8216;form_outer_div&#8217; which we are going to capture for a screenshot. In the second argument of the function, we are specifying the background color of the image to black. We can add more properties to the second argument to make the screenshot more specific like;<br \/>\n<em>{<br \/>\n\tbackground : \u2018#000000\u2019,<br \/>\n\theight: 300,<br \/>\n\twidth: 500<br \/>\n}<\/em><br \/>\nwe can specify height, width, and many more properties in a similar way.<\/p>\n<p><strong>In form_submit.php<\/strong><\/p>\n<p><code><br \/>\n&lt;?php<br \/>\n$field_1 = $_POST['field_1'];<br \/>\n\t$field_2 = $_POST['field_2'];<br \/>\n\/******MAIL FORMATION*********\/<br \/>\n\t$headers = \"MIME-Version: 1.0\\r\\n\";<br \/>\n\t$headers .= \"Content-Type: text\/html; charset=ISO-8859-1\\r\\n\";<br \/>\n\t$message = '&lt;html>&lt;body>';<br \/>\n\t$message .= '&lt;h3>Here are your form entries:&lt;\/h3>';<br \/>\n\t$message .= '&lt;table border=\"0\">';<br \/>\n\t$message .= '&lt;tr>&lt;th>Field 1&lt;\/th>&lt;td>'.$field_1.'&lt;\/td>&lt;\/tr>';<br \/>\n\t$message .= '&lt;tr>&lt;th>Field 2&lt;\/th>&lt;td>'.$field_2.'&lt;\/td>&lt;\/tr>&lt;\/table>';<br \/>\n\t$file = md5(uniqid()) . '.png';\t\/\/creating unique filename for screenshot<br \/>\n\tif(isset($_POST['screenshot_image']))<br \/>\n\t{<br \/>\n\t\t$data = $_POST['screenshot_image'];<br \/>\n\t\t$uri =  substr($data,strpos($data,\",\")+1);<br \/>\n\t\t\/*****adding images to \/images\/screenshots folder in order to retrieve later*****\/<br \/>\n\t\tfile_put_contents('.\/images\/screenshots\/'.$file,base64_decode($uri));<br \/>\n\t\t\/********attaching screenshot to mail body****************\/<br \/>\n\t\t$message .= '&lt;br\/>&lt;img src=\"cid:logo_2u\" style=\"max-width:800px\"\/>';\t\t\t}<\/p>\n<p>\t$message .= '&lt;\/body>&lt;\/html>';<br \/>\n\t\/*****************include your php mailer path***************\/<br \/>\n\trequire(getcwd().\"\/pix_mail\/phpmailer\/PHPMailer.php\");<br \/>\n\trequire(getcwd().\"\/pix_mail\/phpmailer\/SMTP.php\");<br \/>\n\t$mail = new PHPMailer\\PHPMailer\\PHPMailer();<br \/>\n\t$mail->setFrom('info_admin@gmail.com', 'Info');<br \/>\n\t$mail->addAddress(\u2018admin_email@gmail.com', 'Admin');<br \/>\n\t$mail->Subject  = 'Form Submission';<br \/>\n\t$mail->Body     = $message;<br \/>\n\t$mail->AddEmbeddedImage(getcwd().'\/images\/screenshots\/'.$file, 'logo_2u');<br \/>\n\t$mail->isHTML(true);<br \/>\n\tif(!$mail->send()) {<br \/>\n\t    error_log( 'Message was not sent.',0);<br \/>\n\t    error_log('Mailer error: ' . $mail->ErrorInfo,0);<br \/>\n\t} else {<br \/>\n\t    error_log('Message has been sent.',0);<br \/>\n\t}<br \/>\n\treturn true;<br \/>\n?><\/code><\/p>\n<p>Here, we are fetching the field values then creating the HTML for the email and embedding the captured screenshot to the email.<br \/>\nThe below image is showing the actual form on the left side which was submitted to capture the screenshot and showing the captured screenshot on the right side. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/09\/form2.png\" alt=\"form2\"\/><\/p>\n<p>The below image is showing the email received containing the form data and the attached screenshot that can be downloaded and added to drive.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/09\/form3.png\" alt=\"form3\" \/><\/p>\n<p><small><em>A Windows 10 certification can help you prove your skills in the Microsoft Windows 10 operating system and it can improve your chances of getting hired. StudySection offers a <a href=\"https:\/\/www.studysection.com\/windows-10-advanced\">Windows 10 certification exam<\/a> for beginner level as well as professional level individuals in the Microsoft Windows 10 operating system.<\/em><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or<\/p>\n","protected":false},"author":1,"featured_media":3236,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[199,200],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Take a screenshot of a webpage through Javascript and PHP<\/title>\n<meta name=\"description\" content=\"Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Take a screenshot of a webpage through Javascript and PHP\" \/>\n<meta property=\"og:description\" content=\"Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-07T04:44:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-07T07:18:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/09\/php-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"Take a screenshot of a webpage through Javascript and PHP\",\"datePublished\":\"2020-09-07T04:44:06+00:00\",\"dateModified\":\"2020-09-07T07:18:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\"},\"wordCount\":504,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"JavaScript\",\"php\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\",\"url\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\",\"name\":\"Take a screenshot of a webpage through Javascript and PHP\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2020-09-07T04:44:06+00:00\",\"dateModified\":\"2020-09-07T07:18:13+00:00\",\"description\":\"Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Take a screenshot of a webpage through Javascript and PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Take a screenshot of a webpage through Javascript and PHP","description":"Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body.","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:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/","og_locale":"en_US","og_type":"article","og_title":"Take a screenshot of a webpage through Javascript and PHP","og_description":"Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body.","og_url":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2020-09-07T04:44:06+00:00","article_modified_time":"2020-09-07T07:18:13+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/09\/php-1.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"Take a screenshot of a webpage through Javascript and PHP","datePublished":"2020-09-07T04:44:06+00:00","dateModified":"2020-09-07T07:18:13+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/"},"wordCount":504,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["JavaScript","php"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/","url":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/","name":"Take a screenshot of a webpage through Javascript and PHP","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2020-09-07T04:44:06+00:00","dateModified":"2020-09-07T07:18:13+00:00","description":"Sometimes, we need to take a screenshot of any particular element of the document like any div, span, or might be full body.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/take-a-screenshot-of-a-webpage-through-javascript-and-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Take a screenshot of a webpage through Javascript and PHP"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":2843,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/3234"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=3234"}],"version-history":[{"count":4,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/3234\/revisions"}],"predecessor-version":[{"id":3242,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/3234\/revisions\/3242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/3236"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=3234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=3234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=3234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}