<?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: Pre-populate featured image field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-featured-image-field</link>
		<description>Gravity Support Forums Topic: Pre-populate featured image field</description>
		<language>en-US</language>
		<pubDate>Thu, 30 Apr 2026 00:10:10 +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/pre-populate-featured-image-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Pre-populate featured image field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-featured-image-field#post-136897</link>
			<pubDate>Wed, 30 Jan 2013 23:32:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">136897@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure, this is possible.&#60;/p&#62;
&#60;p&#62;I think your select box can be the name of the image for the label, and the value can be the thumbnail ID, from the media manager.  You need the thumbnail ID to use the WordPress function set_post_thumbnail &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/set_post_thumbnail&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/set_post_thumbnail&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Then, you could use the gform_after_submission hook to run the code to update set the post thumbnail (featured image) based on the form selection, which will have the thumbnail ID.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leejamieson on "Pre-populate featured image field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-featured-image-field#post-136687</link>
			<pubDate>Wed, 30 Jan 2013 17:30:47 +0000</pubDate>
			<dc:creator>leejamieson</dc:creator>
			<guid isPermaLink="false">136687@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I DON'T want to allow my users to upload an image, but rather want to preselect the post's featured image. Ideally, I want to use the value of a multi-select as the URL for the pre-selected image.&#60;/p&#62;
&#60;p&#62;Is there anyway I can achieve this with GF?&#60;/p&#62;
&#60;p&#62;Cheers, Lee
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
