{"id":5812755,"date":"2023-07-11T22:56:08","date_gmt":"2023-07-11T22:56:08","guid":{"rendered":"https:\/\/www.wpallimport.com\/?post_type=documentation&#038;p=5812755"},"modified":"2025-12-08T17:48:09","modified_gmt":"2025-12-08T17:48:09","slug":"image-metadata","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/","title":{"rendered":"Image Metadata"},"content":{"rendered":"\n<p>WP All Import can import image metadata from your file to WordPress. The possible meta fields are Title, Caption, Alt Text, and Description \u2013 as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg\" alt=\"Image Meta Data Edit View\" class=\"wp-image-415\" \/><\/figure>\n\n\n\n<p>Image metadata can be imported in the <strong>SEO &amp; Advanced Options<\/strong> sub-section of the <strong>Images<\/strong> section in WP All Import.<\/p>\n\n\n\n<p>Metadata will be associated with images based on the order of the images and the order of the metadata. For example, the first caption will be associated with the first image, the second caption will be associated with the second image, and so on.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"959\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data-1024x959.jpg\" alt=\"Import Image Meta Data\" class=\"wp-image-5812991\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data-1024x959.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data-300x281.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data-768x719.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data-1536x1438.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/07\/Import-Image-Meta-Data.jpg 1846w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Don't worry about the FOREACH function used in <strong>Set Title(s)<\/strong> and <strong>Set Caption(s)<\/strong>. As long as you place your import elements in the correct input field, they will be associated correctly, as shown in <strong>Set Alt Text(s)<\/strong> and <strong>Set Description(s)<\/strong>.<\/p>\n\n\n\n<p>You can learn more about FOREACH loops here: <a href=\"https:\/\/www.wpallimport.com\/documentation\/foreach-loops\/\" target=\"_blank\" rel=\"noreferrer noopener\">Processing and Grouping Multiple Elements with FOREACH Loops<\/a>.<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import Any CSV, XML, or Excel to WordPress<\/h3>\n    <ul><li>Any theme or plugin<\/li><li>Images &amp; galleries<\/li><li>Custom fields<\/li><li>Categories &amp; tags<\/li><li>Woo, ACF, Meta Box, JetEngine<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/import-wordpress-csv-xml-excel\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Related Docs<\/h2>\n\n\n\n\n\n<p>Download images hosted elsewhere.<\/p>\n\n\n\n\n\n<p>Learn how to import images from the Media Library.<\/p>\n\n\n\n\n\n<p>Use images currently uploaded in wp-content\/uploads\/wpallimport\/files\/.<\/p>\n\n\n\n\n\n<p>Explains how to import multiple images per record.<\/p>\n\n\n\n\n\n<p>Explains the different options available when importing images.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.<\/p>\n","protected":false},"author":96198,"featured_media":2990171,"parent":2991548,"menu_order":4,"template":"","tags":[138],"content_author":[213],"search_tags":[],"class_list":["post-5812755","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","tag-w-article","content_author-editorial-staff"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Importing Image Meta Data From XML &amp; CSV Files - WP All Import<\/title>\n<meta name=\"description\" content=\"Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.\" \/>\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.wpallimport.com\/documentation\/image-metadata\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Importing Image Meta Data From XML &amp; CSV Files - WP All Import\" \/>\n<meta property=\"og:description\" content=\"Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T17:48:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"784\" \/>\n\t<meta property=\"og:image:height\" content=\"539\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/\",\"name\":\"Importing Image Meta Data From XML & CSV Files - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg\",\"datePublished\":\"2023-07-11T22:56:08+00:00\",\"dateModified\":\"2025-12-08T17:48:09+00:00\",\"description\":\"Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg\",\"width\":784,\"height\":539},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Importing Image Meta Data From XML & CSV Files - WP All Import","description":"Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.","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.wpallimport.com\/documentation\/image-metadata\/","og_locale":"en_US","og_type":"article","og_title":"Importing Image Meta Data From XML & CSV Files - WP All Import","og_description":"Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.","og_url":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T17:48:09+00:00","og_image":[{"width":784,"height":539,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/","url":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/","name":"Importing Image Meta Data From XML & CSV Files - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg","datePublished":"2023-07-11T22:56:08+00:00","dateModified":"2025-12-08T17:48:09+00:00","description":"Import the Title, Caption, Alt Text, and Description for each of your images while importing your CSV or XML file with WP All Import.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/image-metadata\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/image-metadata\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/wordpress-image-meta-data.jpg","width":784,"height":539},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5812755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5812755\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991548"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/2990171"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=5812755"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=5812755"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=5812755"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=5812755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}