<?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: Image upload via file upload -or- URL</title>
		<link>https://legacy.forums.gravityhelp.com/topic/image-upload-via-file-upload-or-url</link>
		<description>Gravity Support Forums Topic: Image upload via file upload -or- URL</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 21:44:44 +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/image-upload-via-file-upload-or-url" rel="self" type="application/rss+xml" />

		<item>
			<title>joeyrudi on "Image upload via file upload -or- URL"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-upload-via-file-upload-or-url#post-74118</link>
			<pubDate>Thu, 06 Sep 2012 02:09:50 +0000</pubDate>
			<dc:creator>joeyrudi</dc:creator>
			<guid isPermaLink="false">74118@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm creating a form that allows my users to upload a file destined for a post custom field. They can send me the file via a file upload field or via URL. The file uploader works great: I end up with a GF entry that has the little image icon thingy and I get the file's URL in my post custom field. Nice.&#60;/p&#62;
&#60;p&#62;My question comes during the URL upload process. I'm able to use gform_pre_render and cURL to grab a file from any URL and save it wherever I want. But what I really want to do is hook into GF's upload process. I see that during a normal file upload, GF creates a temp file and saves it in a temp directory. Once the form is submitted, the file is copied from the temp directory into its final destination; the post's custom field is set accordingly; and the GF entry has that cute icon.&#60;/p&#62;
&#60;p&#62;My question: If I can grab the file from a URL during gform_pre_render, can I somehow hook into the GF process for saving the file and doing all the other stuff that GF normally does during a file upload?&#60;/p&#62;
&#60;p&#62;Hope this is clear....&#60;/p&#62;
&#60;p&#62;Best
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
