<?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: Files not being added to Gallery</title>
		<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery</link>
		<description>Gravity Support Forums Topic: Files not being added to Gallery</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 16:42:58 +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/files-not-being-added-to-gallery" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-76352</link>
			<pubDate>Wed, 19 Sep 2012 15:42:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">76352@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, please let us know if you need any more help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sccr410 on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-76320</link>
			<pubDate>Wed, 19 Sep 2012 12:42:53 +0000</pubDate>
			<dc:creator>sccr410</dc:creator>
			<guid isPermaLink="false">76320@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks. Client may have messed with the forms not realizing what they were doing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-75718</link>
			<pubDate>Sun, 16 Sep 2012 17:09:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75718@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It appears you used the file upload field type rather than the Image field.  I duplicated your forms and  then added an image upload field. The image was uploaded, stored with the entry and appeared in the post.&#60;/p&#62;
&#60;p&#62;I removed my duplicate forms, reversed my changes which were made to your theme's functions.php, but left the test post where the image was inserted properly into the post.  You will find it here: ?post_type=lost-birds&#38;amp;p=34522&#38;amp;preview=true&#60;/p&#62;
&#60;p&#62;I think if you change the file upload field to an image upload field it will work for you.  I am unsure of why it was working before with the file upload field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-75406</link>
			<pubDate>Fri, 14 Sep 2012 17:21:15 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75406@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I did receive that.  I will take a look at this for you this weekend.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sccr410 on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-75397</link>
			<pubDate>Fri, 14 Sep 2012 16:38:40 +0000</pubDate>
			<dc:creator>sccr410</dc:creator>
			<guid isPermaLink="false">75397@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Should have received an email with the admin login info
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-75263</link>
			<pubDate>Fri, 14 Sep 2012 00:30:02 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75263@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you send a WordPress administrator login to &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; , I will take a look at this for you.  Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sccr410 on "Files not being added to Gallery"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/files-not-being-added-to-gallery#post-75029</link>
			<pubDate>Wed, 12 Sep 2012 19:38:40 +0000</pubDate>
			<dc:creator>sccr410</dc:creator>
			<guid isPermaLink="false">75029@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.911parrotalert.com&#34; rel=&#34;nofollow&#34;&#62;http://www.911parrotalert.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;We have a form that let's users create content on our site. The form adds to a custom post type via:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_post_data&#38;quot;, &#38;quot;update_post_type&#38;quot;, 10, 2);
function update_post_type($post_data, $form){

    if($form[&#38;quot;id&#38;quot;] == &#38;#39;7&#38;#39;){
        $post_data[&#38;quot;post_type&#38;quot;] = &#38;quot;found-birds&#38;quot;;
    } else if($form[&#38;quot;id&#38;quot;] == &#38;#39;5&#38;#39;){
        $post_data[&#38;quot;post_type&#38;quot;] = &#38;quot;lost-birds&#38;quot;;
    }
    return $post_data;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;When users upload a photo, it does not get attached to the post. It isn't even added to the uploads folder (organized by month/date).&#60;/p&#62;
&#60;p&#62;This just suddenly stopped working, probably after a recent update (site owners do plugin updates so not sure if this is true). We had this form working for a long time without issue.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
