<?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: Thumbnails From Two Forms</title>
		<link>https://legacy.forums.gravityhelp.com/topic/thumbnails-from-two-forms</link>
		<description>Gravity Support Forums Topic: Thumbnails From Two Forms</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 07:04:47 +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/thumbnails-from-two-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Thumbnails From Two Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/thumbnails-from-two-forms#post-38866</link>
			<pubDate>Tue, 25 Oct 2011 09:30:15 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38866@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome.  Glad that worked for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Higgins on "Thumbnails From Two Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/thumbnails-from-two-forms#post-38853</link>
			<pubDate>Tue, 25 Oct 2011 06:42:31 +0000</pubDate>
			<dc:creator>Chris Higgins</dc:creator>
			<guid isPermaLink="false">38853@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Legend!  Cheers Chris.  Much appreciated.  :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Thumbnails From Two Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/thumbnails-from-two-forms#post-38759</link>
			<pubDate>Mon, 24 Oct 2011 12:29:02 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38759@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Rename this function when you use it the second time:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;gform_set_post_thumbnail&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Call it ch_gform_set_post_thumbnail or something.  It will be used on two lines: once for the function call, and once for the hook.  In the code example you linked to, it's on lines 4 and 5.  You can leave your original function alone, in two places, but in the new code you pasted in, you need to change the name to something different.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Higgins on "Thumbnails From Two Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/thumbnails-from-two-forms#post-38705</link>
			<pubDate>Sun, 23 Oct 2011 23:47:42 +0000</pubDate>
			<dc:creator>Chris Higgins</dc:creator>
			<guid isPermaLink="false">38705@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi everyone,&#60;/p&#62;
&#60;p&#62;I'm using Gravity Forms on a website I'm in the process of building, and I've used the solution detailed in this post to allow the client to create posts with thumbnails from a front-end form:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/fatal-error-when-using-the_post_thumbnail-code-snippet#post-30918&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/fatal-error-when-using-the_post_thumbnail-code-snippet#post-30918&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, I'd like to create a second form for a different category that features different content, but I'm having some difficulty.  It seems it's not as simple as just copying and editing the code already inserted into the functions.php file, as the browser then returns an error.&#60;/p&#62;
&#60;p&#62;Fatal error: Cannot redeclare gform_set_post_thumbnail() (previously declared in...&#60;/p&#62;
&#60;p&#62;I'm still in the very early stages of learning PHP, and I'm not quite sure how to resolve this issue.  Can anyone offer any advice?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
