<?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: Change image upload from file upload</title>
		<link>https://legacy.forums.gravityhelp.com/topic/change-image-upload-from-file-upload</link>
		<description>Gravity Support Forums Topic: Change image upload from file upload</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 13:33:43 +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/change-image-upload-from-file-upload" rel="self" type="application/rss+xml" />

		<item>
			<title>sdesigns on "Change image upload from file upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-upload-from-file-upload#post-315102</link>
			<pubDate>Mon, 10 Jun 2013 09:48:19 +0000</pubDate>
			<dc:creator>sdesigns</dc:creator>
			<guid isPermaLink="false">315102@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have change the directory that the file gets uploaded to but is there a way to have it so the image upload goes to another directory that is different than the one the file is going to?&#60;/p&#62;
&#60;p&#62;'&#60;br /&#62;
add_filter(&#34;gform_upload_path_2&#34;, &#34;change_upload_path&#34;, 10, 2);&#60;br /&#62;
function change_upload_path($path_info, $form_id){&#60;br /&#62;
   $path_info[&#34;path&#34;] = &#34;/public_html/wp-content/plugins/s2member-files/submitted/&#34;;&#60;br /&#62;
   $path_info[&#34;url&#34;] = &#34;http://domain.com.com/wp-content/plugins/s2member-files/submitted/&#34;;&#60;br /&#62;
   return $path_info;&#60;br /&#62;
}&#60;br /&#62;
'
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
