<?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 Resize Options</title>
		<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options</link>
		<description>Gravity Support Forums Topic: Image Resize Options</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:59:15 +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-resize-options" rel="self" type="application/rss+xml" />

		<item>
			<title>anamimosa on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-214594</link>
			<pubDate>Thu, 18 Apr 2013 14:46:34 +0000</pubDate>
			<dc:creator>anamimosa</dc:creator>
			<guid isPermaLink="false">214594@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This image resizing solution works great from desktop. Thank you very much for the code.&#60;/p&#62;
&#60;p&#62; For some reason though, the images are not resized when you are using the jetpack mobile theme addon. Also - it seems like the file uploader is having a hard time distinguishing between JPG &#38;amp; jpg.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ZeroGravity on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-144443</link>
			<pubDate>Thu, 07 Feb 2013 22:35:21 +0000</pubDate>
			<dc:creator>ZeroGravity</dc:creator>
			<guid isPermaLink="false">144443@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Trestian this worked perfectly. One less plugin I need.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-144409</link>
			<pubDate>Thu, 07 Feb 2013 20:20:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">144409@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can find public contact information for trestian on his profile page: &#60;a href=&#34;http://www.gravityhelp.com/forums/profile/trestian&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/profile/trestian&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you need help with this, please let us know what you're trying to do and maybe we can help make this work or come up with an alternate solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gingalley on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-144266</link>
			<pubDate>Thu, 07 Feb 2013 13:41:19 +0000</pubDate>
			<dc:creator>gingalley</dc:creator>
			<guid isPermaLink="false">144266@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Trestian - Thanks, but as easy as it seems, it's not working for me for some reason.&#60;/p&#62;
&#60;p&#62;I changed the form and field IDs and uploaded in functions.php. What I am missing?&#60;/p&#62;
&#60;p&#62;The only other thing is I have uploaded images going to a different directory from the default GF upload image directory.  Will this break the hook?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Black Hati on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-125919</link>
			<pubDate>Sat, 19 Jan 2013 05:33:41 +0000</pubDate>
			<dc:creator>Black Hati</dc:creator>
			<guid isPermaLink="false">125919@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Trestian, its workin too in Wordpress 3.4??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-122090</link>
			<pubDate>Tue, 15 Jan 2013 00:32:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122090@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very nice.  Thank you so much for posting that code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>trestian on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-121814</link>
			<pubDate>Mon, 14 Jan 2013 17:43:23 +0000</pubDate>
			<dc:creator>trestian</dc:creator>
			<guid isPermaLink="false">121814@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just implemented a pretty straight forward approach to resize images uploaded with Gravity Forms using Wordpress 3.5 image manipulation.  Here's the code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//resize images uploaded to Gravity Form 3.  Replace 3 below with form ID
add_action(&#38;quot;gform_after_submission_3&#38;quot;, &#38;quot;gf_resize_images&#38;quot;, 10, 2);
function gf_resize_images($entry, $form)
{
	//replace 14 with field ID of upload field
	$url =  $entry[14];
	$parsed_url = parse_url($url);
	$path = $_SERVER[&#38;#39;DOCUMENT_ROOT&#38;#39;] . $parsed_url[&#38;#39;path&#38;#39;];
	$image = wp_get_image_editor($path);
	if ( ! is_wp_error( $image ) )
	{
		//replace 640,480 with desired dimensions.  false indicates not to crop image.
		$result = $image-&#38;gt;resize( 640,480,false );
		$result = $image-&#38;gt;save($path);
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Works like a charm on all forms whether they create a post or not!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ZeroGravity on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-73474</link>
			<pubDate>Fri, 31 Aug 2012 13:51:33 +0000</pubDate>
			<dc:creator>ZeroGravity</dc:creator>
			<guid isPermaLink="false">73474@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your time Chris. I have used Auto Image Resizer for the moment. With some added work with hooks and filters I think it will accomplish what I am after.&#60;/p&#62;
&#60;p&#62;If Imsanity makes an update that will catch the GF images I will probably make the switch.&#60;/p&#62;
&#60;p&#62;Thanks Again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-73194</link>
			<pubDate>Wed, 29 Aug 2012 20:55:56 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">73194@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure if I have a better workaround for this.  I'll leave the topic open and see if anyone else has a suggestion.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ZeroGravity on "Image Resize Options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-resize-options#post-73168</link>
			<pubDate>Wed, 29 Aug 2012 17:56:13 +0000</pubDate>
			<dc:creator>ZeroGravity</dc:creator>
			<guid isPermaLink="false">73168@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the suggestion Chris. The only problem is not everyone has the knowledge to resize an image. They can take a photo with their 10mp digital camera, go to Walmart and get it printed but ask them to make the image file size smaller so they can upload it for a photo competition is a completely different kettle of fish.&#60;/p&#62;
&#60;p&#62;This plug-in works but it converts the image to grayscale unless you purchase the pro-version and it takes the larger WordPress large image dimensions as the maximum size. &#60;a href=&#34;http://wordpress.org/support/plugin/the-auto-image-resizer&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/plugin/the-auto-image-resizer&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Imsanity has the facility to set images sizes but it isn't capturing the upload.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
