<?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: Upload path doesnt work for featured image</title>
		<link>https://legacy.forums.gravityhelp.com/topic/upload-path-doesnt-work-for-featured-image</link>
		<description>Gravity Support Forums Topic: Upload path doesnt work for featured image</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:46: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/upload-path-doesnt-work-for-featured-image" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Upload path doesnt work for featured image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-doesnt-work-for-featured-image#post-161923</link>
			<pubDate>Wed, 06 Mar 2013 08:58:12 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161923@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see what you mean now.  The featured image is located in wp-content/uploads.  All the images used in the post are moved to the media gallery.  This is WordPress functionality.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>black_lady on "Upload path doesnt work for featured image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-doesnt-work-for-featured-image#post-160874</link>
			<pubDate>Tue, 05 Mar 2013 08:33:16 +0000</pubDate>
			<dc:creator>black_lady</dc:creator>
			<guid isPermaLink="false">160874@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;br /&#62;
If You are go to Your site and please right-click on the image (featured image) &#34;show url image&#34;.&#60;br /&#62;
The address indicated on the photo in this directory (with Your username)?&#60;br /&#62;
I'am asking, because I have uploaded image also in directory with username, but this same photo is in other directory and featured image on my website have adress from this second directory.&#60;/p&#62;
&#60;p&#62;Sorry form my english :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Upload path doesnt work for featured image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-doesnt-work-for-featured-image#post-160213</link>
			<pubDate>Mon, 04 Mar 2013 16:23:14 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">160213@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This was not my experience.  I added a post image field to the form and marked it as featured image.  I added a custom field of the type file upload, and stored the value in an existing key.  And I added a regular file upload field.  I added the current user login name to my path and URL (as you have done) and when I submitted the form, the directory was created with my username, and all 3 files were uploaded there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>black_lady on "Upload path doesnt work for featured image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-doesnt-work-for-featured-image#post-157022</link>
			<pubDate>Thu, 28 Feb 2013 14:55:28 +0000</pubDate>
			<dc:creator>black_lady</dc:creator>
			<guid isPermaLink="false">157022@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;br /&#62;
I added this code to the functions.php:&#60;br /&#62;
==============================================================&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_upload_path&#38;quot;, &#38;quot;change_upload_path&#38;quot;, 10, 2);
function change_upload_path($path_info, $form_id){
global $current_user;
   get_currentuserinfo();

   $path_info[&#38;quot;path&#38;quot;] = &#38;quot;C:/xampp/htdocs/mysite/upload-folder/&#38;quot; . $current_user-&#38;gt;user_login . &#38;quot;/&#38;quot;;
   $path_info[&#38;quot;url&#38;quot;] = &#38;quot;http://localhost/mysite/upload-folder/&#38;quot; . $current_user-&#38;gt;user_login . &#38;quot;/&#38;quot;;
   return $path_info;
}
==============================================================&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;when I add: custom filed -&#38;gt; Field Type: &#34;file upload&#34; and Custom Field Name: &#34;existing&#34; - everything works fine: files go to this folder:&#60;br /&#62;
&#60;a href=&#34;http://localhost/mysite/upload-folder/admin&#34; rel=&#34;nofollow&#34;&#62;http://localhost/mysite/upload-folder/admin&#60;/a&#62;&#60;br /&#62;
( where &#34;admin&#34; is eg. of user login).&#60;/p&#62;
&#60;p&#62;But when I add: image -&#38;gt; Set as Featured Image, my files goes to this folder:&#60;br /&#62;
&#60;a href=&#34;http://localhost/mysite/upload-folder&#34; rel=&#34;nofollow&#34;&#62;http://localhost/mysite/upload-folder&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;I want to send files to the same folder as in the previous case.&#60;br /&#62;
Any ideas?&#60;br /&#62;
I will be grateful for the quick response.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
