<?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: Changing the path for image upload</title>
		<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload</link>
		<description>Gravity Support Forums Topic: Changing the path for image upload</description>
		<language>en-US</language>
		<pubDate>Mon, 06 Apr 2026 22:04:45 +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/changing-the-path-for-image-upload" rel="self" type="application/rss+xml" />

		<item>
			<title>m.cabiles on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-29684</link>
			<pubDate>Mon, 11 Jul 2011 16:24:33 +0000</pubDate>
			<dc:creator>m.cabiles</dc:creator>
			<guid isPermaLink="false">29684@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, Carl! Setting the path under Media Settings worked! You're awesome!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-29169</link>
			<pubDate>Tue, 05 Jul 2011 16:42:28 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">29169@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The uploads go to where WordPress is telling Gravity Forms your upload folder is.  So if they are going to URL/test/wp-content/uploads it is because your WordPress site is configured to use this as your upload folder.  Check your path settings in the Media settings under the Settings menu in the WordPress Dashboard.  There is a path option for the Upload folder where you can set the path.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>m.cabiles on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-29159</link>
			<pubDate>Tue, 05 Jul 2011 15:27:43 +0000</pubDate>
			<dc:creator>m.cabiles</dc:creator>
			<guid isPermaLink="false">29159@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;I understand... but I don't see a place where to post a new discussion thread... if you'd be so kind enough to direct me to the correct thread, that would be awesome.&#60;/p&#62;
&#60;p&#62;Anyway, I don't have a custom code... my issue is that any upload goes to the test folder (URL/test/wp-content/uploads/...) and not to the main domain file path (URL/wp-content/uploads/...). &#60;/p&#62;
&#60;p&#62;Thank you for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-29157</link>
			<pubDate>Tue, 05 Jul 2011 15:21:40 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">29157@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@m.cabiles Gravity Forms uploads files to your wp-content/uploads folder by default.  Do you have custom code in place telling it to upload the files elsewhere? Because that is what this forum thread is discussing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>m.cabiles on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-29152</link>
			<pubDate>Tue, 05 Jul 2011 15:00:37 +0000</pubDate>
			<dc:creator>m.cabiles</dc:creator>
			<guid isPermaLink="false">29152@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Carl,&#60;/p&#62;
&#60;p&#62;I'm not sure where to post this question, but I hope you can help me out on this issue...&#60;/p&#62;
&#60;p&#62;RE: FILE UPLOAD PATH&#60;/p&#62;
&#60;p&#62;Specifically, the form was initially created on a test folder of the main domain &#38;lt;i.e., URL/test&#38;gt; but after copying the files to the main domain, and making necessary changes to point &#34;URL/test&#34; to &#34;URL&#34;, the notification message shows that the uploaded file(s) is in the main domain's folder (which I expect it to be) but the file is still uploaded in the test folder... so when I click to the link &#38;lt;URL/file_path&#38;gt;, there's a 404 error, but when I access the file through the test folder &#38;lt;URL/test/file_path&#38;gt;, it works.&#60;/p&#62;
&#60;p&#62;I tried removing the files and re-installing the plugin, and recreating the form, but it didn't help.  It still uploads to the test folder.&#60;/p&#62;
&#60;p&#62;Now, my question is: what needs to be done so that the file gets uploaded to the main domain folder and not to the test folder? &#60;/p&#62;
&#60;p&#62;THANK YOU for your immediate response.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-25201</link>
			<pubDate>Tue, 10 May 2011 12:51:57 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">25201@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I can't tell you what the absolute path should look like because it's unique to your server.  You would have to check with your web host for what the absolute path to a certain folder is going to be.  You also need to make sure that folder exists and has the proper file permissions to allow it to be written to by the PHP (chmod 755 or chmod 777).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gcswrench on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-25200</link>
			<pubDate>Tue, 10 May 2011 12:37:28 +0000</pubDate>
			<dc:creator>gcswrench</dc:creator>
			<guid isPermaLink="false">25200@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What should the code look like if I want to use this this path&#60;/p&#62;
&#60;p&#62;server/photocommment/wp-content/uploads/gravity_forms/(form_id)/&#60;br /&#62;
&#60;a href=&#34;http://photocomment.net/wp-content/uploads/gravity_forms/(form_id)/&#34; rel=&#34;nofollow&#34;&#62;http://photocomment.net/wp-content/uploads/gravity_forms/(form_id)/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Once this code&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
add_filter(&#38;quot;gform_upload_path_5&#38;quot;, &#38;quot;upload_path&#38;quot;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;has been changed to point to a specific directory for that specific post can I add it mulitple times just changing the form id and paths?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gcswrench on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-25199</link>
			<pubDate>Tue, 10 May 2011 12:37:28 +0000</pubDate>
			<dc:creator>gcswrench</dc:creator>
			<guid isPermaLink="false">25199@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What should the code look like if I want to use this this path&#60;/p&#62;
&#60;p&#62;server/photocommment/wp-content/uploads/gravity_forms/(form_id)/&#60;br /&#62;
&#60;a href=&#34;http://photocomment.net/wp-content/uploads/gravity_forms/(form_id)/&#34; rel=&#34;nofollow&#34;&#62;http://photocomment.net/wp-content/uploads/gravity_forms/(form_id)/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Once this code&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
add_filter(&#38;quot;gform_upload_path_5&#38;quot;, &#38;quot;upload_path&#38;quot;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;has been changed to point to a specific directory for that specific post can I add it mulitple times just changing the form id and paths?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-25193</link>
			<pubDate>Tue, 10 May 2011 12:17:13 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">25193@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1) You can change the file upload path using a hook and custom PHP.  The documentation for the hook you need to use can be found here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_upload_path&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_upload_path&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It wants the FULL ABSOLUTE PATH on the server to the folder as well as an HTTP url where the file can be accessed via the browser.&#60;/p&#62;
&#60;p&#62;2) Currently there is no way to stop the Media Library interaction if you are using the Post Image field.  If you don't want images added to the Media Library then you can use the File Upload field or the Post Custom Field set to File Upload as the field type.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gcswrench on "Changing the path for image upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-path-for-image-upload#post-25180</link>
			<pubDate>Tue, 10 May 2011 11:15:09 +0000</pubDate>
			<dc:creator>gcswrench</dc:creator>
			<guid isPermaLink="false">25180@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I am using the plugin as an entry form for photographic competitions. I can at times be running several different competitions at the same time and for extended time periods. (Each one has it's own entry form)&#60;/p&#62;
&#60;p&#62;I use nextgen gallery to organise the photos and can specify a directory in nextgen to store the images.&#60;/p&#62;
&#60;p&#62;1. How do I specify a different folder for each form to upload to?&#60;br /&#62;
wp-content/uploads/gravity_forms/(form_id)/ will be fine if I can lose the year and month sub folders.&#60;/p&#62;
&#60;p&#62;2. How do I stop the image upload copying the file to the media library as well?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Greg
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
