function jbn_img_from_url ($url, $size = 'jbn_half', array $extra = []) {
    if (empty($url)) return '';
    static $cache = [];
    if (!isset($cache[$url])) {
        $id = attachment_url_to_postid($url);
        if (!$id) {
            $stripped = preg_replace('/\.webp$/i', '', $url);
            if ($stripped !== $url) $id = attachment_url_to_postid($stripped);
        }
        $cache[$url] = $id;
    }
    $id = $cache[$url];
    $extra = array_merge(['loading' => 'lazy', 'decoding' => 'async'], $extra);
    if ($id) {
        $tag = wp_get_attachment_image($id, $size, false, $extra);
        if ($tag) return $tag;
    }
    // Fallback — plain <img>
    $attr_html = '';
    foreach ($extra as $k => $v) $attr_html .= ' ' . esc_attr($k) . '="' . esc_attr($v) . '"';
    return '<img src="' . esc_url($url) . '"' . $attr_html . '>';
}
{"id":373739,"date":"2025-09-24T11:58:27","date_gmt":"2025-09-24T10:58:27","guid":{"rendered":"https:\/\/www.testing.devjibble.net\/?post_type=downloads&#038;p=373739"},"modified":"2026-01-28T07:10:31","modified_gmt":"2026-01-28T07:10:31","slug":"contoh-surat-apresiasi","status":"publish","type":[1211],"link":"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi","title":{"rendered":"Contoh Surat Apresiasi"},"content":{"rendered":"","protected":false},"author":102,"template":"","meta":{"_acf_changed":false,"footnotes":""},"tags":[],"class_list":["post-373739","downloads","type-downloads","status-publish","hentry","type-templates-id"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Contoh Surat Apresiasi Kinerja Karyawan Gratis | 2026<\/title>\n<meta name=\"description\" content=\"Silakan tiru contoh surat apresiasi ini untuk menghargai kinerja dan prestasi karyawan terhadap perusahaan. Gratis dan siap pakai!\" \/>\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.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Contoh Surat Apresiasi\" \/>\n<meta property=\"og:description\" content=\"Silakan tiru contoh surat apresiasi ini untuk menghargai kinerja dan prestasi karyawan terhadap perusahaan. Gratis dan siap pakai!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi\" \/>\n<meta property=\"og:site_name\" content=\"Jibble\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-28T07:10:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi\",\"url\":\"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi\",\"name\":\"Contoh Surat Apresiasi Kinerja Karyawan Gratis | 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.testing.devjibble.net\/id#website\"},\"datePublished\":\"2025-09-24T10:58:27+00:00\",\"dateModified\":\"2026-01-28T07:10:31+00:00\",\"description\":\"Silakan tiru contoh surat apresiasi ini untuk menghargai kinerja dan prestasi karyawan terhadap perusahaan. Gratis dan siap pakai!\",\"inLanguage\":\"id-ID\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testing.devjibble.net\/id#website\",\"url\":\"https:\/\/www.testing.devjibble.net\/id\",\"name\":\"Jibble\",\"description\":\"Meet the new standard in time tracking software\",\"publisher\":{\"@id\":\"https:\/\/www.testing.devjibble.net\/id#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testing.devjibble.net\/id?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id-ID\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testing.devjibble.net\/id#organization\",\"name\":\"Jibble\",\"url\":\"https:\/\/www.testing.devjibble.net\/id\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id-ID\",\"@id\":\"https:\/\/www.testing.devjibble.net\/id#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testing.devjibble.net\/wp-content\/uploads\/2022\/05\/Original-copy-923x1024.png\",\"contentUrl\":\"https:\/\/www.testing.devjibble.net\/wp-content\/uploads\/2022\/05\/Original-copy-923x1024.png\",\"width\":\"923\",\"height\":\"1024\",\"caption\":\"Jibble\"},\"image\":{\"@id\":\"https:\/\/www.testing.devjibble.net\/id#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/jibble\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Contoh Surat Apresiasi Kinerja Karyawan Gratis | 2026","description":"Silakan tiru contoh surat apresiasi ini untuk menghargai kinerja dan prestasi karyawan terhadap perusahaan. Gratis dan siap pakai!","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.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi","og_locale":"id_ID","og_type":"article","og_title":"Contoh Surat Apresiasi","og_description":"Silakan tiru contoh surat apresiasi ini untuk menghargai kinerja dan prestasi karyawan terhadap perusahaan. Gratis dan siap pakai!","og_url":"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi","og_site_name":"Jibble","article_modified_time":"2026-01-28T07:10:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimasi waktu membaca":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi","url":"https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi","name":"Contoh Surat Apresiasi Kinerja Karyawan Gratis | 2026","isPartOf":{"@id":"https:\/\/www.testing.devjibble.net\/id#website"},"datePublished":"2025-09-24T10:58:27+00:00","dateModified":"2026-01-28T07:10:31+00:00","description":"Silakan tiru contoh surat apresiasi ini untuk menghargai kinerja dan prestasi karyawan terhadap perusahaan. Gratis dan siap pakai!","inLanguage":"id-ID","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testing.devjibble.net\/id\/aset\/contoh-surat-apresiasi"]}]},{"@type":"WebSite","@id":"https:\/\/www.testing.devjibble.net\/id#website","url":"https:\/\/www.testing.devjibble.net\/id","name":"Jibble","description":"Meet the new standard in time tracking software","publisher":{"@id":"https:\/\/www.testing.devjibble.net\/id#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testing.devjibble.net\/id?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id-ID"},{"@type":"Organization","@id":"https:\/\/www.testing.devjibble.net\/id#organization","name":"Jibble","url":"https:\/\/www.testing.devjibble.net\/id","logo":{"@type":"ImageObject","inLanguage":"id-ID","@id":"https:\/\/www.testing.devjibble.net\/id#\/schema\/logo\/image\/","url":"https:\/\/www.testing.devjibble.net\/wp-content\/uploads\/2022\/05\/Original-copy-923x1024.png","contentUrl":"https:\/\/www.testing.devjibble.net\/wp-content\/uploads\/2022\/05\/Original-copy-923x1024.png","width":"923","height":"1024","caption":"Jibble"},"image":{"@id":"https:\/\/www.testing.devjibble.net\/id#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/jibble\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/downloads\/373739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/downloads"}],"about":[{"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/types\/downloads"}],"author":[{"embeddable":true,"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/users\/102"}],"version-history":[{"count":3,"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/downloads\/373739\/revisions"}],"predecessor-version":[{"id":376696,"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/downloads\/373739\/revisions\/376696"}],"wp:attachment":[{"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/media?parent=373739"}],"wp:term":[{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/type?post=373739"},{"taxonomy":"tags","embeddable":true,"href":"https:\/\/www.testing.devjibble.net\/id\/wp-json\/wp\/v2\/tags?post=373739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}