{"id":5226,"date":"2025-02-19T18:12:47","date_gmt":"2025-02-19T11:12:47","guid":{"rendered":"https:\/\/all-arounds.com\/?page_id=5226"},"modified":"2025-02-20T07:33:47","modified_gmt":"2025-02-20T00:33:47","slug":"test","status":"publish","type":"page","link":"https:\/\/all-arounds.com\/th\/test\/","title":{"rendered":"test"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;||1px|||&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<div id=\"pdf-converter-container\"><!-- [et_pb_line_break_holder] -->    <\/p>\n<form id=\"pdf-upload-form\" enctype=\"multipart\/form-data\" action=\"\"><!-- [et_pb_line_break_holder] -->        <label for=\"pdf-file\">Upload PDF:<\/label><!-- [et_pb_line_break_holder] -->        <input type=\"file\" id=\"pdf-file\" name=\"pdf\" accept=\".pdf\" required><!-- [et_pb_line_break_holder] -->        <button type=\"submit\">Convert to JPGs<\/button><!-- [et_pb_line_break_holder] -->    <input type=\"hidden\" name=\"trp-form-language\" value=\"th\"\/><\/form>\n<p><!-- [et_pb_line_break_holder] -->    <\/p>\n<div id=\"download-link-container\" style=\"display: none;\"><!-- [et_pb_line_break_holder] -->        <pee>Download your ZIP file:<\/pee><!-- [et_pb_line_break_holder] -->        <a id=\"download-link\" href=\"#\">Download<\/a><!-- [et_pb_line_break_holder] -->    <\/div>\n<p><!-- [et_pb_line_break_holder] -->    <\/p>\n<div id=\"error-message\" style=\"color: red;\"><\/div>\n<p><!-- [et_pb_line_break_holder] --><\/div>\n<p><!-- [et_pb_line_break_holder] -->[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221;][et_pb_column _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; type=&#8221;4_4&#8243;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<script><!-- [et_pb_line_break_holder] -->    document.getElementById('pdf-upload-form').addEventListener('submit', function(event) {<!-- [et_pb_line_break_holder] -->        event.preventDefault();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->        const form = this;<!-- [et_pb_line_break_holder] -->        const formData = new FormData(form);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->        fetch('https:\/\/all-arounds.cloud\/api\/utilities\/convert-pdf-to-jpg', { \/\/ Adjust the path as needed<!-- [et_pb_line_break_holder] -->            method: 'POST',<!-- [et_pb_line_break_holder] -->            body: formData<!-- [et_pb_line_break_holder] -->        })<!-- [et_pb_line_break_holder] -->        .then(response => response.json())<!-- [et_pb_line_break_holder] -->        .then(data => {<!-- [et_pb_line_break_holder] -->            if (data.zip_url) {<!-- [et_pb_line_break_holder] -->                document.getElementById('download-link').href = data.zip_url;<!-- [et_pb_line_break_holder] -->                document.getElementById('download-link-container').style.display = 'block';<!-- [et_pb_line_break_holder] -->                document.getElementById('error-message').textContent = \"\";<!-- [et_pb_line_break_holder] -->            } else if (data.error) {<!-- [et_pb_line_break_holder] -->                document.getElementById('error-message').textContent = data.error;<!-- [et_pb_line_break_holder] -->                document.getElementById('download-link-container').style.display = 'none';<!-- [et_pb_line_break_holder] -->            }<!-- [et_pb_line_break_holder] -->        })<!-- [et_pb_line_break_holder] -->        .catch(error => {<!-- [et_pb_line_break_holder] -->            console.error('Error:', error);<!-- [et_pb_line_break_holder] -->            document.getElementById('error-message').textContent = \"An unexpected error occurred.\";<!-- [et_pb_line_break_holder] -->            document.getElementById('download-link-container').style.display = 'none';<!-- [et_pb_line_break_holder] -->        });<!-- [et_pb_line_break_holder] -->    });<!-- [et_pb_line_break_holder] --><\/script>[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<!-- [et_pb_line_break_holder] --><script><!-- [et_pb_line_break_holder] -->document.getElementById('image-upload-form').addEventListener('submit', async (e) => {<!-- [et_pb_line_break_holder] -->    e.preventDefault(); \/\/ Prevent default form submission<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->    const formData = new FormData(e.target); \/\/ Get form data<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->    try {<!-- [et_pb_line_break_holder] -->        const response = await fetch('https:\/\/all-arounds.cloud\/api\/utilities\/convert', {<!-- [et_pb_line_break_holder] -->            method: 'POST',<!-- [et_pb_line_break_holder] -->            body: formData<!-- [et_pb_line_break_holder] -->        });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->        if (!response.ok) {<!-- [et_pb_line_break_holder] -->            const errorData = await response.json();<!-- [et_pb_line_break_holder] -->            console.error(\"Error:\", errorData);<!-- [et_pb_line_break_holder] -->            \/\/ Display the error message to the user<!-- [et_pb_line_break_holder] -->        } else {<!-- [et_pb_line_break_holder] -->            const data = await response.json();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->            \/\/ Create a download link<!-- [et_pb_line_break_holder] -->            const link = document.createElement('a');<!-- [et_pb_line_break_holder] -->            link.href = data.url;<!-- [et_pb_line_break_holder] -->            link.download = 'converted-image.' + data.target_extension; \/\/ Set the filename<!-- [et_pb_line_break_holder] -->            link.style.display = 'none'; \/\/ Hide the link<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->            \/\/ Add the link to the page and trigger a click to download<!-- [et_pb_line_break_holder] -->            document.body.appendChild(link);<!-- [et_pb_line_break_holder] -->            link.click();<!-- [et_pb_line_break_holder] -->            document.body.removeChild(link);<!-- [et_pb_line_break_holder] -->        }<!-- [et_pb_line_break_holder] -->    } catch (error) {<!-- [et_pb_line_break_holder] -->        console.error(\"Error:\", error);<!-- [et_pb_line_break_holder] -->        \/\/ Handle the error<!-- [et_pb_line_break_holder] -->    }<!-- [et_pb_line_break_holder] -->});<!-- [et_pb_line_break_holder] --><\/script>[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-5226","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>test - All-Around Solutions<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/all-arounds.com\/th\/test\/\" \/>\n<meta property=\"og:locale\" content=\"th_TH\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"test - All-Around Solutions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/all-arounds.com\/th\/test\/\" \/>\n<meta property=\"og:site_name\" content=\"All-Around Solutions\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/IoTbyAllArounds\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-20T00:33:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/all-arounds.com\/en\/test\/\",\"url\":\"https:\/\/all-arounds.com\/en\/test\/\",\"name\":\"test - All-Around Solutions\",\"isPartOf\":{\"@id\":\"https:\/\/all-arounds.com\/en\/#website\"},\"datePublished\":\"2025-02-19T11:12:47+00:00\",\"dateModified\":\"2025-02-20T00:33:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/all-arounds.com\/en\/test\/#breadcrumb\"},\"inLanguage\":\"th\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/all-arounds.com\/en\/test\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/all-arounds.com\/en\/test\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/all-arounds.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"test\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/all-arounds.com\/en\/#website\",\"url\":\"https:\/\/all-arounds.com\/en\/\",\"name\":\"All-Around Solutions\",\"description\":\"IoT Innovation for a Smarter, More Efficient Solutions\",\"publisher\":{\"@id\":\"https:\/\/all-arounds.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/all-arounds.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"th\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/all-arounds.com\/en\/#organization\",\"name\":\"All-Around Solutions\",\"url\":\"https:\/\/all-arounds.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"th\",\"@id\":\"https:\/\/all-arounds.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/all-arounds.com\/wp-content\/uploads\/2025\/02\/logo_allarounds_500x100_transparent.png\",\"contentUrl\":\"https:\/\/all-arounds.com\/wp-content\/uploads\/2025\/02\/logo_allarounds_500x100_transparent.png\",\"width\":500,\"height\":185,\"caption\":\"All-Around Solutions\"},\"image\":{\"@id\":\"https:\/\/all-arounds.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/IoTbyAllArounds\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"test - All-Around Solutions","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:\/\/all-arounds.com\/th\/test\/","og_locale":"th_TH","og_type":"article","og_title":"test - All-Around Solutions","og_url":"https:\/\/all-arounds.com\/th\/test\/","og_site_name":"All-Around Solutions","article_publisher":"https:\/\/www.facebook.com\/IoTbyAllArounds","article_modified_time":"2025-02-20T00:33:47+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/all-arounds.com\/en\/test\/","url":"https:\/\/all-arounds.com\/en\/test\/","name":"test - All-Around Solutions","isPartOf":{"@id":"https:\/\/all-arounds.com\/en\/#website"},"datePublished":"2025-02-19T11:12:47+00:00","dateModified":"2025-02-20T00:33:47+00:00","breadcrumb":{"@id":"https:\/\/all-arounds.com\/en\/test\/#breadcrumb"},"inLanguage":"th","potentialAction":[{"@type":"ReadAction","target":["https:\/\/all-arounds.com\/en\/test\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/all-arounds.com\/en\/test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/all-arounds.com\/en\/"},{"@type":"ListItem","position":2,"name":"test"}]},{"@type":"WebSite","@id":"https:\/\/all-arounds.com\/en\/#website","url":"https:\/\/all-arounds.com\/en\/","name":"All-Around Solutions","description":"IoT Innovation for a Smarter, More Efficient Solutions","publisher":{"@id":"https:\/\/all-arounds.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/all-arounds.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"th"},{"@type":"Organization","@id":"https:\/\/all-arounds.com\/en\/#organization","name":"All-Around Solutions","url":"https:\/\/all-arounds.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"th","@id":"https:\/\/all-arounds.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/all-arounds.com\/wp-content\/uploads\/2025\/02\/logo_allarounds_500x100_transparent.png","contentUrl":"https:\/\/all-arounds.com\/wp-content\/uploads\/2025\/02\/logo_allarounds_500x100_transparent.png","width":500,"height":185,"caption":"All-Around Solutions"},"image":{"@id":"https:\/\/all-arounds.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/IoTbyAllArounds"]}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/pages\/5226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/comments?post=5226"}],"version-history":[{"count":21,"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/pages\/5226\/revisions"}],"predecessor-version":[{"id":5275,"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/pages\/5226\/revisions\/5275"}],"wp:attachment":[{"href":"https:\/\/all-arounds.com\/th\/wp-json\/wp\/v2\/media?parent=5226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}