<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Save image metadata (id, url ..) in a custom meta data field after post creation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/save-image-metadata-id-url-in-a-custom-meta-data-field-after-post-creation</link>
		<description>Gravity Support Forums Topic: Save image metadata (id, url ..) in a custom meta data field after post creation</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 04:09:48 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/save-image-metadata-id-url-in-a-custom-meta-data-field-after-post-creation" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Save image metadata (id, url ..) in a custom meta data field after post creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/save-image-metadata-id-url-in-a-custom-meta-data-field-after-post-creation#post-175509</link>
			<pubDate>Mon, 18 Mar 2013 12:35:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">175509@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dashaluna on "Save image metadata (id, url ..) in a custom meta data field after post creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/save-image-metadata-id-url-in-a-custom-meta-data-field-after-post-creation#post-175318</link>
			<pubDate>Mon, 18 Mar 2013 09:51:50 +0000</pubDate>
			<dc:creator>dashaluna</dc:creator>
			<guid isPermaLink="false">175318@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Chris,&#60;/p&#62;
&#60;p&#62;Thanks very much for letting me know to use &#60;code&#62;rgexplode&#60;/code&#62;. Works well for extracting img meta data to store it in custom meta fields.&#60;/p&#62;
&#60;p&#62;Dasha
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Save image metadata (id, url ..) in a custom meta data field after post creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/save-image-metadata-id-url-in-a-custom-meta-data-field-after-post-creation#post-174540</link>
			<pubDate>Sun, 17 Mar 2013 19:08:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174540@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;From the code in entry_list.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]case &#38;quot;post_image&#38;quot; :
    list($url, $title, $caption, $description) = rgexplode(&#38;quot;&#124;:&#124;&#38;quot;, $value, 4);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You have it exactly right.  I would use rgexplode as shown there, with the 3rd parameter, but otherwise I don't see any other native functions to handle this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dashaluna on "Save image metadata (id, url ..) in a custom meta data field after post creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/save-image-metadata-id-url-in-a-custom-meta-data-field-after-post-creation#post-172522</link>
			<pubDate>Fri, 15 Mar 2013 14:46:16 +0000</pubDate>
			<dc:creator>dashaluna</dc:creator>
			<guid isPermaLink="false">172522@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'd like to save image metadata (id, url, title, description) into a custom metadata fields after a form has been submitted and a post has been created.&#60;/p&#62;
&#60;p&#62;I figured out that I have to use &#60;code&#62;gform_after_submission&#60;/code&#62; hook, so I can see the value per image with all the required data that looks like&#60;br /&#62;
&#60;code&#62;&#60;a href=&#34;http://example.com/wp-content/uploads/gravity_forms/2-f3d72372c784de1b17f8507432c30d29/2013/03/image_file.jpg&#34; rel=&#34;nofollow&#34;&#62;http://example.com/wp-content/uploads/gravity_forms/2-f3d72372c784de1b17f8507432c30d29/2013/03/image_file.jpg&#60;/a&#62;&#124;:&#124;FF S4 Image 1&#124;:&#124;&#124;:&#124;FF S4 Image 1 Descr&#124;:&#124;117&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Is there a GF function I should use to extract that data (in case there is one, so it will be compatible with any future changes).&#60;/p&#62;
&#60;p&#62;OR do I have to do it myself something like:&#60;br /&#62;
&#60;code&#62;list($url, $title, $caption, $description) = explode(&#38;quot;&#124;:&#124;&#38;quot;, $value);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Just wanted to make sure to use native way, to make sure it's more robust for future changes if any.&#60;/p&#62;
&#60;p&#62;Many thanks, Dasha
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
