{"id":8636,"date":"2025-08-23T12:37:48","date_gmt":"2025-08-23T03:37:48","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?page_id=8636"},"modified":"2025-08-23T12:37:48","modified_gmt":"2025-08-23T03:37:48","slug":"imgtag-converter","status":"publish","type":"page","link":"https:\/\/code-plus.jp\/gp\/tools\/imgtag-converter\/","title":{"rendered":"\u753b\u50cf\u2192img\u30bf\u30b0\u5909\u63db\u30c4\u30fc\u30eb\uff5c\u30b5\u30a4\u30ba\u30fb\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u3092\u81ea\u52d5\u8a08\u7b97"},"content":{"rendered":"<!-- \u0f3b\u273f\ud835\udc0f\ud835\udc00\ud835\udc06\ud835\udc04-\u753b\u50cf\u2192img\u30bf\u30b0\u5909\u63db\u30c4\u30fc\u30eb \uff08\/tools\/imgtag-converter\/\uff09\n* \u30da\u30fc\u30b8\u30af\u30e9\u30b9\uff1apg-saracnvtvkaa bg-hackingGate\uff08WordPress\u304c\u5c0f\u6587\u5b57\u3067\u3057\u304b\u51fa\u529b\u3067\u304d\u306a\u3044\u305f\u3081\uff09\n* \u8b58\u5225\u30b3\u30fc\u30c9\uff1acnvtVkaA\uff08section\/dept \u306e\u30af\u30e9\u30b9\u540d, \u753b\u50cf\u540d\u306b\u4f7f\u7528\uff09\n\u0fd0\u0f36\u22b0\u27e1\u22b1\u0f36\u22b0\u27e1\u22b1\u0f36\u22b0\u27e1\u22b1\u0f36\u2740\u0f36\u22b0\u27e1\u22b1\u0f36\u22b0\u27e1\u22b1\u0f36\u22b0\u27e1\u22b1\u0f36\u0f04 -->\n\n<div class=\"pg-saracnvtvkaa bg-hackingGate\">\n\n  <!-- \u0f3b.mezzala\uff08\u4f59\u767d\u8abf\u6574\uff1apage\u4e0a\uff09\u0f3a -->\n  <hr class=\"spacer-mezzala\" \/>\n\n\n  <header class=\"page-header mx-auto\">\n    <!-- \u2756\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8 --><div><!-- breadcrumb.php -->\n<style>\n\/* \u2756breadcrumb.leckermaul\uff08\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\uff09\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u0f1a\u0f36\u22b0\u27e1\u22b1\u0f36\u0f1a\u0f3a*\/\n.zaratan .breadcrumb.leckermaul {\n\twidth: 100%;\n\tmax-width: calc(var(--zvw,1vw) * 92.5);\n\tmargin-inline: auto;\n}\n\n.zaratan .breadcrumb.leckermaul :is(ul, ol) {\n\tmin-height: 3rem;\n\tline-height: initial;\n\tfont-size: 0;\n\tletter-spacing: 0;\n\toverflow: hidden;\n}\n\n.zaratan .breadcrumb.leckermaul li {\n\tdisplay: inline;\n\tline-height: 1.6;\n\tfont-size: clamp(0.775rem, calc(0.775rem + ((1vw - 0.225rem) * 0.1563)), 0.8750rem);\n}\n\n.zaratan .breadcrumb.leckermaul li>*,\n.zaratan .breadcrumb.leckermaul li::before {\n\tposition: relative;\n\ttop: 0.125em;\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n.zaratan .breadcrumb.leckermaul a {\n\tdisplay: inline;\n\tcolor: var(--c-notice-600, hsl(240, 32%, 53%));\n\tmargin-right: .5em;\n}\n\n.zaratan .breadcrumb.leckermaul li:nth-of-type(n+2) a {\n\tmargin-left: .5em;\n}\n\n\/* \u73fe\u5728\u306e\u30da\u30fc\u30b8\uff08\u30ea\u30f3\u30af\u306a\u3057\u3002<span aria-current=\"page\">\uff09 *\/\n.zaratan .breadcrumb.leckermaul [aria-current=\"page\"] {\n\tdisplay: inline;\n\tmargin-inline: .5em;\n\tcolor: var(--c-base-600, hsl(224, 6%, 43%));\n}\n\n@media (any-hover:hover) {\n\t.zaratan .breadcrumb.leckermaul a:hover {\n\t\tcolor: var(--c-notice-600, hsl(240, 32%, 53%));\n\t}\n}\n\n\/* .ma-home *\/\n.zaratan .breadcrumb.leckermaul .ma-home {\n\tvertical-align: top;\n}\n\n\/* .separator *\/\n.zaratan .breadcrumb.leckermaul li:nth-of-type(n+2)::before,\n.zaratan .breadcrumb.leckermaul.chevron-right li:nth-of-type(n+2)::before {\n\tcontent: \">\";\n\tcolor: var(--c-notice-600, hsl(240, 32%, 53%))\n}\n\n.zaratan .breadcrumb.leckermaul.slash li:nth-of-type(n+2)::before {\n\tcontent: \"\/\";\n}\n\n.zaratan .breadcrumb.leckermaul.trigon-bullet li:nth-of-type(n+2)::before {\n\tcontent: \"\u2023\";\n}\n<\/style>\n\n\n<nav class=\"breadcrumb leckermaul py-0.5r mx-auto\" aria-label=\"\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\">\n  <ul class=\"breadcrumb-wrapper\">\n    <!-- \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\u3092\u8868\u793a -->\n    <li><a href=\"https:\/\/code-plus.jp\/gp\/\"><i><\/i>\u30c8\u30c3\u30d7<\/a><\/li>\n\n          <!-- \u56fa\u5b9a\u30da\u30fc\u30b8\uff08\u305d\u308c\u4ee5\u5916\uff09\uff1a \u5148\u7956\u30da\u30fc\u30b8\u540d\u3068\u3001\u73fe\u5728\u306e\u30da\u30fc\u30b8\u540d\u3092\u8868\u793a -->\n      <li><a href=\"https:\/\/code-plus.jp\/gp\/tools\/\">Web\u30c4\u30fc\u30eb\u4e00\u89a7\uff5cHTML\/CSS\u30fb\u6587\u66f8\u7de8\u96c6\u30fb\u753b\u50cf\u7de8\u96c6<\/a><\/li><li class=\"current_page_item\"><span aria-current=\"page\">\u753b\u50cf\u2192img\u30bf\u30b0\u5909\u63db\u30c4\u30fc\u30eb\uff5c\u30b5\u30a4\u30ba\u30fb\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u3092\u81ea\u52d5\u8a08\u7b97<\/span><\/li>    <!-- \/\/\/if (is_page()) -->\n\n  <\/ul>\n<\/nav><\/div>\n  <\/header><!-- \/\/\/.inheader -->\n\n\n  <!-- \u0f3b\u00a7\ud835\udc12\ud835\udc04\ud835\udc02\ud835\udc13\ud835\udc08\ud835\udc0e\ud835\udc0d\u0f3a -->\n  <section class=\"sect-cnvtVkaA-Intro\" style=\"contain-intrinsic-size:1000px;\">\n    <header class=\"section__inheader mx-auto\">\n      <div class=\"hgroup-wrapper d-iblock mb-0.5r\">\n        <h1 class=\"fz-xxl hdg-page mb-0.25pc\"><span>\u753b\u50cf\u2192img\u30bf\u30b0\u5909\u63db\u30c4\u30fc\u30eb\uff5c\u30b5\u30a4\u30ba\u30fb\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u3092\u81ea\u52d5\u8a08\u7b97<\/span><\/h1>\n        <p class=\"page-foreword fz-ss\">\n          \u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3060\u3051\u3067img\u30bf\u30b0\u3092\u81ea\u52d5\u751f\u6210\u3002width\u30fbheight\u30fbaspect-ratio\u3092\u6b63\u78ba\u306b\u8a2d\u5b9a\u3057\u305fHTML\u30b3\u30fc\u30c9\u3092\u77ac\u6642\u306b\u4f5c\u6210\u3002\n        <\/p>\n      <\/div><!-- \/\/\/.hgroup -->\n\n      <a class=\"fl-right badge is-outlined is-gray fz-xs bdrs-0.25r\" href=\"#ch-Explanation\">\n        <i class=\"icon mas ma-help\"><\/i>&nbsp;<span>\u4f7f\u3044\u65b9<\/span>\n      <\/a>\n    <\/header><!-- \/\/\/.inheader -->\n  <\/section>\n\n\n  <!-- \u0f3b\u00a7\ud835\udc12\ud835\udc04\ud835\udc02\ud835\udc13\ud835\udc08\ud835\udc0e\ud835\udc0d\u0f3a -->\n  <hr id=\"ch-Converter\" anchor \/>\n  <section class=\"sect-cnvtVkaA-Converter\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior fxd-row mx-auto\">\n      <figure class=\"section__leftlane\">\n        <div class=\"hgroup-wrapper\">\n          <h3 class=\"fz-rg hdg-section mb-0.25pc\"><span>\u25bc\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044<\/span><\/h3>\n        <\/div><!-- \/\/\/.hgroup -->\n\n        <div class=\"chest-wrapper relatived\">\n          <div id=\"endropArea\" class=\"endrop-area\" style=\"height:17.5pc;\">\n            <div class=\"endrop-inner\">\n              <i class=\"endrop-icon\"><\/i>\n              <p class=\"endrop-text\">\u753b\u50cf\u3092\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7<\/p>\n              <small class=\"endrop-smock\">\u307e\u305f\u306f \u30af\u30ea\u30c3\u30af\u3057\u3066\u9078\u629e<\/small>\n            <\/div>\n            <input type=\"file\" id=\"fileInput\" class=\"file-input\" multiple=\"\" accept=\"image\/*\">\n          <\/div>\n          <ins id=\"decodedMessage\"><\/ins>\n        <\/div><!-- \/\/\/.chest -->\n      <\/figure><!-- \/\/\/.leftlane -->\n\n      <figure class=\"section__centerlane\">\n        <aside class=\"sticky-sidebar fxd-column pc-center\" style=\"height:22.5pc;\">\n        <\/aside>\n      <\/figure><!-- \/\/\/.centerlane -->\n\n\n      <figure class=\"section__rightlane\">\n        <div class=\"chest-wrapper relatived\">\n          <h3 class=\"fz-rg hdg-section mb-0.25pc\"><span>\u25bc\u5909\u63db\u5f8c\u306eimg\u30bf\u30b0<\/span><\/h3>\n          <textarea class=\"textarea\" id=\"decodeArea\" style=\"height:17.5pc;\" placeholder=\"\u3053\u3053\u306b\u5909\u63db\u5f8c\u306eimg\u30bf\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\"><\/textarea>\n          <ins id=\"encodedMessage\"><\/ins>\n        <\/div><!-- \/\/\/.chest -->\n      <\/figure><!-- \/\/\/.rightlane -->\n    <\/div><!-- \/\/\/.interior.fxd-row -->\n  <\/section>\n\n\n  <!-- \u0f3b\u00a7\ud835\udc12\ud835\udc04\ud835\udc02\ud835\udc13\ud835\udc08\ud835\udc0e\ud835\udc0d\u0f3a -->\n  <hr id=\"ch-Explanation\" anchor \/>\n  <section class=\"sect-cnvtVkaA-Explanation pt-3r\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior mx-auto scroll-fadeIn\">\n      <div class=\"box is-broad is-solided c-base-900\">\n        <h4 class=\"hdg-explanation fz-md mb-0.25pc\">\u4f7f\u3044\u65b9<\/h4>\n        <p class=\"fz-ss mb-1r\">\n          \u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u304b\u3001\u30af\u30ea\u30c3\u30af\u3057\u3066\u9078\u629e\u3059\u308b\u3068\u3001\u6b63\u78ba\u306a\u30b5\u30a4\u30ba\u60c5\u5831\u4ed8\u304d\u306eimg\u30bf\u30b0\u304c\u81ea\u52d5\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u8907\u6570\u306e\u753b\u50cf\u3092\u540c\u6642\u306b\u51e6\u7406\u53ef\u80fd\u3067\u3059\u3002\n        <\/p>\n\n        <h5 class=\"hdg-subexplanation fz-rg mb-0.25pc mt-2r\">\ud83d\udca1 \u4e3b\u306a\u6a5f\u80fd<\/h5>\n        <ul class=\"fz-ss mb-1r\">\n          <li><b>\u6b63\u78ba\u306a\u30b5\u30a4\u30ba\u53d6\u5f97\uff1a<\/b> \u753b\u50cf\u306e\u5b9f\u969b\u306ewidth\u30fbheight\u3092\u81ea\u52d5\u691c\u51fa<\/li>\n          <li><b>aspect-ratio\u5bfe\u5fdc\uff1a<\/b> \u30e2\u30c0\u30f3\u306aCSS aspect-ratio\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u81ea\u52d5\u8a2d\u5b9a<\/li>\n          <li><b>\u8907\u6570\u753b\u50cf\u5bfe\u5fdc\uff1a<\/b> \u307e\u3068\u3081\u3066\u8907\u6570\u306e\u753b\u50cf\u3092\u4e00\u62ec\u51e6\u7406\u53ef\u80fd<\/li>\n          <li><b>\u81ea\u52d5\u30b3\u30d4\u30fc\uff1a<\/b> \u751f\u6210\u3055\u308c\u305fimg\u30bf\u30b0\u3092\u81ea\u52d5\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc<\/li>\n          <li><b>\u30d5\u30a1\u30a4\u30eb\u540d\u4fdd\u6301\uff1a<\/b> \u5143\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u540d\u3092src\u5c5e\u6027\u306b\u53cd\u6620<\/li>\n        <\/ul>\n\n        <h5 class=\"hdg-subexplanation fz-rg mb-0.25pc mt-2r\">\ud83c\udfaf \u6d3b\u7528\u4f8b<\/h5>\n        <ul class=\"fz-ss mb-1r\">\n          <li><b>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30b5\u30a4\u30c8\u5236\u4f5c\uff1a<\/b> aspect-ratio\u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u5d29\u308c\u3092\u9632\u6b62<\/li>\n          <li><b>\u30d0\u30ca\u30fc\u30fb\u753b\u50cf\u7d20\u6750\u306e\u5b9f\u88c5\uff1a<\/b> \u6b63\u78ba\u306a\u30b5\u30a4\u30ba\u3067\u30d4\u30af\u30bb\u30eb\u30d1\u30fc\u30d5\u30a7\u30af\u30c8<\/li>\n          <li><b>CMS\u8a18\u4e8b\u4f5c\u6210\uff1a<\/b> WordPress\u3084Movable Type\u3067\u306e\u753b\u50cf\u633f\u5165\u3092\u52b9\u7387\u5316<\/li>\n          <li><b>\u30e1\u30fc\u30eb\u914d\u4fe1HTML\uff1a<\/b> \u753b\u50cf\u30b5\u30a4\u30ba\u304c\u91cd\u8981\u306aHTML\u30e1\u30fc\u30eb\u4f5c\u6210<\/li>\n          <li><b>\u30ae\u30e3\u30e9\u30ea\u30fc\u30b5\u30a4\u30c8\u5236\u4f5c\uff1a<\/b> \u5927\u91cf\u306e\u753b\u50cf\u3092\u52b9\u7387\u7684\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/li>\n        <\/ul>\n\n        <h5 class=\"hdg-subexplanation fz-rg mb-0.25pc mt-2r\">\u2699\ufe0f \u4fbf\u5229\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h5>\n        <ul class=\"fz-ss\">\n          <li><b>\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\uff1a<\/b> \u76f4\u611f\u7684\u306a\u64cd\u4f5c\u3067\u8907\u6570\u753b\u50cf\u3092\u540c\u6642\u51e6\u7406<\/li>\n          <li><b>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5909\u63db\uff1a<\/b> \u753b\u50cf\u3092\u8aad\u307f\u8fbc\u3080\u3068\u5373\u5ea7\u306bimg\u30bf\u30b0\u3092\u751f\u6210<\/li>\n          <li><b>\u30b3\u30fc\u30c9\u6574\u5f62\uff1a<\/b> \u8aad\u307f\u3084\u3059\u304f\u6574\u5f62\u3055\u308c\u305fHTML\u30b3\u30fc\u30c9\u3092\u51fa\u529b<\/li>\n          <li><b>\u30d1\u30b9\u8a2d\u5b9a\uff1a<\/b> images\/\u30d5\u30a9\u30eb\u30c0\u3092\u524d\u63d0\u3068\u3057\u305fsrc\u5c5e\u6027\u3092\u81ea\u52d5\u8a2d\u5b9a<\/li>\n        <\/ul>\n      <\/div>\n    <\/div><!-- \/\/\/.interior -->\n  <\/section><!-- \/\/\/.section -->\n\n\n  <!-- \u0f3b\u00a7\ud835\udc03\ud835\udc04\ud835\udc0f\ud835\udc00\ud835\udc11\ud835\udc13\ud835\udc0c\ud835\udc04\ud835\udc0d\ud835\udc13\u0f3a -->\n  <hr id=\"ch-Relation\" anchor \/>\n  <section class=\"sect-cnvtVkaA-Relation pt-3r\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior mx-auto scroll-fadeIn\">\n      <div class=\"hgroup-wrapper mb-0.5pc\">\n        <h5 class=\"hdg-relation fz-rg\"><span>\u95a2\u9023\u30c4\u30fc\u30eb<\/span><\/h5>\n      <\/div><!-- \/\/\/.hgroup -->\n\n      <ul class=\"shelf-wrapper_pc shelfA\" data-cols_pc=\"2\">\n        <li class=\"slide\">\n          <a href=\"https:\/\/code-plus.jp\/gp\/tools\/updatetags-converter\/\" class=\"linkbox\">\n            <h4 class=\"linkbox-title fz-md\">HTML\u30bf\u30b0\u4e00\u62ec\u5909\u63db\u30c4\u30fc\u30eb | \u30aa\u30f3\u30e9\u30a4\u30f3\u4e0a\u3067\u30bf\u30b0\u8a18\u6cd5\u3092\u77ac\u6642\u306b\u5909\u63db<\/h4>\n            <picture class=\"linkbox-thumbnail\">\n              <img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/70f9700c6f6883a60f60277286884e28.png?ver=20261027192353\" alt=\"HTML\u30bf\u30b0\u4e00\u62ec\u5909\u63db\u30c4\u30fc\u30eb | \u30aa\u30f3\u30e9\u30a4\u30f3\u4e0a\u3067\u30bf\u30b0\u8a18\u6cd5\u3092\u77ac\u6642\u306b\u5909\u63db\" loading=\"lazy\" \/>\n            <\/picture>\n            <span class=\"linkbox-excerpt\">HTML\u30bf\u30b0\u3092\u4e00\u62ec\u5909\u63db\u3067\u304d\u308b\u30aa\u30f3\u30e9\u30a4\u30f3\u5909\u63db\u30b5\u30a4\u30c8\u3002div\u2192section\u3001span\u2192em\u8a18\u6cd5\u306a\u3069\u6307\u5b9a\u30bf\u30b0\u3092\u4efb\u610f\u30bf\u30b0\u306b\u5909\u63db\u3002\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067Web\u5236\u4f5c\u3092\u52b9\u7387\u5316\u3002\n              &emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n            <\/span>\n          <\/a>\n        <\/li>\n        <li class=\"slide\">\n          <a href=\"https:\/\/code-plus.jp\/gp\/tools\/imagemap-converter\/\" class=\"linkbox\">\n            <h4 class=\"linkbox-title fz-md\">SVG\u304b\u3089ImageMap\uff08\u30a4\u30e1\u30fc\u30b8\u30de\u30c3\u30d7\uff09\u306b\u5909\u63db\u30c4\u30fc\u30eb<\/h4>\n            <picture class=\"linkbox-thumbnail\">\n              <img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/illustra_2410301614.png?ver=20261027192353\" alt=\"SVG\u304b\u3089ImageMap\uff08\u30a4\u30e1\u30fc\u30b8\u30de\u30c3\u30d7\uff09\u306b\u5909\u63db\u30c4\u30fc\u30eb\" loading=\"lazy\" \/>\n            <\/picture>\n            <span class=\"linkbox-excerpt\">\n              &emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n            <\/span>\n          <\/a>\n        <\/li>\n      <\/ul><!-- \/\/\/.shelf -->\n    <\/div><!-- \/\/\/.interior -->\n  <\/section><!-- \/\/\/.section -->\n\n\n  <!-- \u0f3b\u00a7\ud835\udc03\ud835\udc04\ud835\udc0f\ud835\udc00\ud835\udc11\ud835\udc13\ud835\udc0c\ud835\udc04\ud835\udc0d\ud835\udc13\u0f3a -->\n\n  <section class=\"sect-cnvtVkaA-Relation2 pt-3r\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior mx-auto scroll-fadeIn\">\n      <div class=\"hgroup-wrapper mb-0.5pc\">\n\n      <\/div><!-- \/\/\/.hgroup -->\n\n\n    <\/div><!-- \/\/\/.interior -->\n  <\/section><!-- \/\/\/.section -->\n\n\n\n  <!-- \u0f3b.mediano\uff08\u4f59\u767d\u8abf\u6574\uff1apage\u4e0b\uff09\u0f3a -->\n  <hr class=\"spacer-mediano\" \/>\n\n<\/div><!-- \/\/\/\u25b2.page  -->\n\n\n\n\n<script>\n  \/\/\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u5b8c\u4e86\u5f8c\u306b\u5b9f\u884c\n  document.addEventListener('DOMContentLoaded', function () {\n    const endropArea = document.getElementById('endropArea');\n    const fileInput = document.getElementById('fileInput');\n    const decodeArea = document.getElementById('decodeArea');\n    const encodedMessage = document.getElementById('encodedMessage');\n\n    if (!endropArea || !decodeArea) {\n      console.error('\u5fc5\u8981\u306a\u8981\u7d20\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093');\n      return;\n    }\n\n    let processedImages = [];\n\n    \/\/\u30af\u30ea\u30c3\u30af\u3067\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u958b\u304f\n    endropArea.addEventListener('click', function (e) {\n      \/\/input\u8981\u7d20\u306e\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u306f\u9664\u5916\n      if (e.target.tagName !== 'INPUT') {\n        fileInput.click();\n      }\n    });\n\n    \/\/\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u6642\u306e\u51e6\u7406\n    fileInput.addEventListener('change', async function (e) {\n      const files = e.target.files;\n      if (files.length > 0) {\n        await handleFiles(files);\n      }\n    });\n\n    \/\/\u30c9\u30e9\u30c3\u30b0\u30aa\u30fc\u30d0\u30fc\u30a4\u30d9\u30f3\u30c8\uff08\u30c9\u30e9\u30c3\u30b0\u4e2d\u306e\u898b\u305f\u76ee\u5909\u66f4\u7528\uff09\n    endropArea.addEventListener('dragover', function (e) {\n      e.preventDefault();\n      e.stopPropagation();\n      this.style.backgroundColor = '#f0f0f0';\n      this.style.borderColor = '#999';\n    });\n\n    \/\/\u30c9\u30e9\u30c3\u30b0\u30ea\u30fc\u30d6\u30a4\u30d9\u30f3\u30c8\uff08\u30c9\u30e9\u30c3\u30b0\u96e2\u308c\u305f\u6642\u306e\u898b\u305f\u76ee\u30ea\u30bb\u30c3\u30c8\u7528\uff09\n    endropArea.addEventListener('dragleave', function (e) {\n      e.preventDefault();\n      e.stopPropagation();\n      this.style.backgroundColor = '';\n      this.style.borderColor = '';\n    });\n\n    \/\/\u30c9\u30e9\u30c3\u30b0\u30a8\u30f3\u30bf\u30fc\u30a4\u30d9\u30f3\u30c8\n    endropArea.addEventListener('dragenter', function (e) {\n      e.preventDefault();\n      e.stopPropagation();\n    });\n\n    \/\/\u30c9\u30ed\u30c3\u30d7\u30a4\u30d9\u30f3\u30c8\uff08\u753b\u50cf\u51e6\u7406\u306e\u30e1\u30a4\u30f3\uff09\n    endropArea.addEventListener('drop', async function (e) {\n      e.preventDefault();\n      e.stopPropagation();\n      this.style.backgroundColor = '';\n      this.style.borderColor = '';\n\n      const files = e.dataTransfer.files;\n      await handleFiles(files);\n    });\n\n    \/\/\u30d5\u30a1\u30a4\u30eb\u51e6\u7406\u306e\u5171\u901a\u95a2\u6570\n    async function handleFiles(files) {\n      const imageFiles = Array.from(files).filter(file => file.type.startsWith('image\/'));\n\n      if (imageFiles.length === 0) {\n        showMessage('\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044', false);\n        return;\n      }\n\n      \/\/\u30c9\u30ed\u30c3\u30d7\u30a8\u30ea\u30a2\u306e\u5185\u5bb9\u3092\u4e00\u6642\u7684\u306b\u5909\u66f4\n      const dropInner = endropArea.querySelector('.endrop-inner');\n      const originalContent = dropInner.innerHTML;\n      dropInner.innerHTML = '<p style=\"padding: 20px;\">\u753b\u50cf\u3092\u51e6\u7406\u4e2d...<\/p>';\n\n      processedImages = [];\n\n      \/\/\u5404\u753b\u50cf\u3092\u51e6\u7406\n      for (const file of imageFiles) {\n        await processImage(file);\n      }\n\n      \/\/\u7d50\u679c\u3092\u8868\u793a\n      displayOutput();\n\n      \/\/\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\n      copyToClipboard();\n\n      \/\/\u51e6\u7406\u5b8c\u4e86\u5f8c\u3001\u30c9\u30ed\u30c3\u30d7\u30a8\u30ea\u30a2\u306e\u5185\u5bb9\u3092\u5fa9\u5143\n      setTimeout(function () {\n        dropInner.innerHTML = originalContent;\n      }, 2000);\n\n      \/\/\u51e6\u7406\u5b8c\u4e86\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30c9\u30ed\u30c3\u30d7\u30a8\u30ea\u30a2\u306b\u8868\u793a\n      dropInner.innerHTML = `\n        <div style=\"padding: 20px;\">\n          <p style=\"color: var(--c-success, hsl(123, 46%, 35%)); font-weight: bold;\">${processedImages.length}\u500b\u306e\u753b\u50cf\u3092\u51e6\u7406\u3057\u307e\u3057\u305f\uff01<\/p>\n          <small style=\"color: #666;\">\u7d9a\u3051\u3066\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7\u3067\u304d\u307e\u3059<\/small>\n        <\/div>\n      `;\n\n      \/\/3\u79d2\u5f8c\u306b\u5143\u306b\u623b\u3059\n      setTimeout(function () {\n        dropInner.innerHTML = originalContent;\n      }, 3000);\n\n      \/\/\u30d5\u30a1\u30a4\u30eb\u5165\u529b\u3092\u30ea\u30bb\u30c3\u30c8\n      fileInput.value = '';\n    }\n\n    \/\/\u753b\u50cf\u51e6\u7406\u95a2\u6570\n    function processImage(file) {\n      return new Promise((resolve) => {\n        const reader = new FileReader();\n\n        reader.onload = function (e) {\n          const img = new Image();\n\n          img.onload = function () {\n            const width = img.naturalWidth;\n            const height = img.naturalHeight;\n            const aspectRatio = `${width}\/${height}`;\n            const fileName = file.name;\n\n            const imgTag = `<img decoding=\"async\" class=\"lazy\" style=\"width:${width}px; height:${height}px; aspect-ratio:${aspectRatio};\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/themes\/zaratan\/images\/${fileName}?ver=20261027192353\" alt=\"\" \/>`;\n\n            processedImages.push({\n              fileName: fileName,\n              width: width,\n              height: height,\n              tag: imgTag\n            });\n\n            resolve();\n          };\n\n          img.onerror = function () {\n            console.error(`\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557: ${file.name}`);\n            resolve();\n          };\n\n          img.src = e.target.result;\n        };\n\n        reader.onerror = function () {\n          console.error(`\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557: ${file.name}`);\n          resolve();\n        };\n\n        reader.readAsDataURL(file);\n      });\n    }\n\n    \/\/\u51fa\u529b\u8868\u793a\u95a2\u6570\n    function displayOutput() {\n      if (processedImages.length === 0) {\n        decodeArea.value = '';\n        return;\n      }\n\n      const output = processedImages.map(img => img.tag).join('\\n');\n      decodeArea.value = output;\n    }\n\n    \/\/\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u95a2\u6570\n    function copyToClipboard() {\n      const text = decodeArea.value;\n\n      if (!text) {\n        return;\n      }\n\n      \/\/\u30e2\u30c0\u30f3\u30d6\u30e9\u30a6\u30b6\u7528\n      if (navigator.clipboard && navigator.clipboard.writeText) {\n        navigator.clipboard.writeText(text).then(function () {\n          showMessage('\u30c6\u30ad\u30b9\u30c8\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3057\u305f\uff01', true);\n        }).catch(function (err) {\n          \/\/\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u51e6\u7406\n          fallbackCopyToClipboard(text);\n        });\n      } else {\n        \/\/\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u7528\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\n        fallbackCopyToClipboard(text);\n      }\n    }\n\n    \/\/\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u30b3\u30d4\u30fc\u95a2\u6570\n    function fallbackCopyToClipboard(text) {\n      const textarea = document.createElement('textarea');\n      textarea.value = text;\n      textarea.style.position = 'fixed';\n      textarea.style.left = '-999999px';\n      document.body.appendChild(textarea);\n      textarea.select();\n\n      try {\n        document.execCommand('copy');\n        showMessage('\u30c6\u30ad\u30b9\u30c8\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3057\u305f\uff01', true);\n      } catch (err) {\n        showMessage('\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u306e\u30b3\u30d4\u30fc\u306b\u5931\u6557\u3057\u307e\u3057\u305f: ' + err, false);\n      }\n\n      document.body.removeChild(textarea);\n    }\n\n    \/\/\u30e1\u30c3\u30bb\u30fc\u30b8\u8868\u793a\u95a2\u6570\n    function showMessage(msg, isSuccess) {\n      if (!encodedMessage) return;\n\n      const messageHTML = isSuccess ?\n        `<p class=\"alert is-ghosted is-primary mt-0.5r\">\n          <i class=\"icon mas ma-check_circle c-primary mr-0.5r\"><\/i>\n          <span>${msg}<\/span>\n        <\/p>` :\n        `<p class=\"alert is-ghosted is-caution mt-0.5r\">\n          <i class=\"icon mas ma-error c-caution mr-0.5r\"><\/i>\n          <span>${msg}<\/span>\n        <\/p>`;\n\n      encodedMessage.innerHTML = '';\n      encodedMessage.insertAdjacentHTML('beforeend', messageHTML);\n\n      setTimeout(function () {\n        encodedMessage.innerHTML = '';\n      }, 3000);\n    }\n\n    \/\/decodeArea\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3089\u5168\u9078\u629e\n    decodeArea.addEventListener('click', function () {\n      if (this.value) {\n        this.select();\n      }\n    });\n\n    \/\/decodeArea\u306e\u5185\u5bb9\u304c\u5909\u66f4\u3055\u308c\u305f\u3089\u81ea\u52d5\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09\n    decodeArea.addEventListener('input', function () {\n      if (this.value) {\n        copyToClipboard();\n      }\n    });\n\n    \/\/\u30d5\u30a1\u30a4\u30eb\u5165\u529b\u8981\u7d20\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u975e\u8868\u793a\u306b\u8a2d\u5b9a\uff08CSS\u304c\u306a\u3044\u5834\u5408\u306e\u305f\u3081\uff09\n    fileInput.style.display = 'none';\n\n    \/\/endropArea\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u30dd\u30a4\u30f3\u30bf\u30fc\u306b\n    endropArea.style.cursor = 'pointer';\n  });\n<\/script>","protected":false},"excerpt":{"rendered":"\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3060\u3051\u3067img\u30bf\u30b0\u3092\u81ea\u52d5\u751f\u6210\u3002width\u30fbheight\u30fbaspect-ratio\u3092\u6b63\u78ba\u306b\u8a2d\u5b9a\u3057\u305fHTML\u30b3\u30fc\u30c9\u3092\u77ac\u6642\u306b\u4f5c\u6210\u3002Web\u5236\u4f5c\u30fb\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3059\u308b\u30aa\u30f3\u30e9\u30a4\u30f3\u5909\u63db\u30b5\u30a4\u30c8\u3002","protected":false},"author":1,"featured_media":15560,"parent":173,"menu_order":31,"comment_status":"closed","ping_status":"closed","template":"templates\/page-converter.php","meta":{"_acf_changed":false,"footnotes":""},"categories":[7,16],"tags":[],"group":[],"pg":[],"class_list":["post-8636","page","type-page","status-publish","has-post-thumbnail","category-html-css","category-tool"],"acf":[],"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages\/8636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=8636"}],"version-history":[{"count":0,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages\/8636\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages\/173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/15560"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=8636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=8636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=8636"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=8636"},{"taxonomy":"pg","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pg?post=8636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}