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

		<item>
			<title>fraggy on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-19383</link>
			<pubDate>Fri, 25 Feb 2011 05:44:40 +0000</pubDate>
			<dc:creator>fraggy</dc:creator>
			<guid isPermaLink="false">19383@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi 2urn,&#60;/p&#62;
&#60;p&#62;Sorry, just got this reply now!&#60;/p&#62;
&#60;p&#62;Firstly, download uniform.&#60;/p&#62;
&#60;p&#62;Upload it to your theme's JS folder and call it. I use enqueue_script like this (this also removes jQuery from the header of the site and moves it to the bottom):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_init() {
	if (!is_admin()) {
		wp_deregister_script(&#38;#39;jquery&#38;#39;);
		wp_register_script(&#38;#39;jquery&#38;#39;, &#38;#39;/wp-includes/js/jquery/jquery.js&#38;#39;, false, &#38;#39;1.4.2&#38;#39;, true);
		wp_enqueue_script(&#38;#39;jquery&#38;#39;);
		wp_enqueue_script(&#38;#39;uniform&#38;#39;, get_bloginfo(&#38;#39;template_url&#38;#39;) . &#38;#39;/js/jquery.uniform.min.js&#38;#39;, array(&#38;#39;jquery&#38;#39;), &#38;#39;1.0&#38;#39;, true);

	}
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;my_init&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Next add the stylesheet to the page you want it to appear on.&#60;/p&#62;
&#60;p&#62;Then target the elements you want to make pretty with:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;jQuery(&#38;quot;select, input:file&#38;quot;).uniform();&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I then set the image with gravity forms for the submit and upload buttons.&#60;/p&#62;
&#60;p&#62;I hope this helps. If you have any more questions, please let me know!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>2urn on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-15286</link>
			<pubDate>Sun, 02 Jan 2011 01:44:20 +0000</pubDate>
			<dc:creator>2urn</dc:creator>
			<guid isPermaLink="false">15286@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any additional tips / details on how you got Uniform ( &#60;a href=&#34;http://pixelmatrixdesign.com/uniform/&#34; rel=&#34;nofollow&#34;&#62;http://pixelmatrixdesign.com/uniform/&#60;/a&#62; ) installed configured to work with GF?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fraggy on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13783</link>
			<pubDate>Thu, 02 Dec 2010 10:23:22 +0000</pubDate>
			<dc:creator>fraggy</dc:creator>
			<guid isPermaLink="false">13783@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Aha! Well that worked a treat! Shame I can't make it work with ajax. but that will do I suppose.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13782</link>
			<pubDate>Thu, 02 Dec 2010 10:00:03 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">13782@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The ajax setting is part of the shortcode  or function call when you embed the form.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;[gravityform id=1 name=UntitledForm ajax=true]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;you just need to remove the &#34;ajax=true' portion.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fraggy on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13781</link>
			<pubDate>Thu, 02 Dec 2010 09:53:22 +0000</pubDate>
			<dc:creator>fraggy</dc:creator>
			<guid isPermaLink="false">13781@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Excuse my ignorance, where is the disable ajax option on the submission? I can't find it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13780</link>
			<pubDate>Thu, 02 Dec 2010 09:44:54 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">13780@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The script is most likely applying properties to the button/input elements on the body or window load. When you submit the form via ajax, there is no-reloading so any subsequent buttons or inputs won't receive the dynamic styling.&#60;/p&#62;
&#60;p&#62;I'm not that familiar with this script. You may need to browse their documentation, forums, etc. to find out how to get the script to work with ajax-submitted forms.&#60;/p&#62;
&#60;p&#62;You can always try disabling the ajax submission and see if it works for you that way. I would assume it does.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fraggy on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13779</link>
			<pubDate>Thu, 02 Dec 2010 08:58:45 +0000</pubDate>
			<dc:creator>fraggy</dc:creator>
			<guid isPermaLink="false">13779@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;To give an update. I used the jQuery plugin Uniform to style the button - &#60;a href=&#34;http://pixelmatrixdesign.com/uniform/&#34; rel=&#34;nofollow&#34;&#62;http://pixelmatrixdesign.com/uniform/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It works good, but the only thing is that the validation fails on the form, the styling breaks. From looking at it, it looks like the jQuery isn't applied when the validation passes. And unluckily for me, I'm not an expert on the jQuery. So any help would be greatly appreciated. My form is here &#60;a href=&#34;http://www.ratemypoo.eu&#34; rel=&#34;nofollow&#34;&#62;http://www.ratemypoo.eu&#60;/a&#62; (I know, it was a bit of an idea from me and my mates!)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fraggy on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13751</link>
			<pubDate>Wed, 01 Dec 2010 18:53:36 +0000</pubDate>
			<dc:creator>fraggy</dc:creator>
			<guid isPermaLink="false">13751@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you, &#60;/p&#62;
&#60;p&#62;I think I'll just have to leave it as it is then.&#60;/p&#62;
&#60;p&#62;Unless, can I use the HTML field to make an upload button that attaches itself to the new post? I'm using the form to create new posts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13750</link>
			<pubDate>Wed, 01 Dec 2010 18:35:59 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">13750@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't believe it is possible to do this with CSS alone.  Every browser handles the file upload form element differently, and I do not believe there is a universal way to use an image for the button on the file upload element with CSS alone.  You may have to use Javascript.  &#60;/p&#62;
&#60;p&#62;Here is an article that discusses the issue, although i'm not sure if this technique will work with Gravity Forms:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.quirksmode.org/dom/inputfile.html&#34; rel=&#34;nofollow&#34;&#62;http://www.quirksmode.org/dom/inputfile.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But typically the input type=&#34;file&#34; is an element that is difficult to style.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fraggy on "Change the post image upload from input to button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-post-image-upload-from-input-to-button#post-13748</link>
			<pubDate>Wed, 01 Dec 2010 18:29:04 +0000</pubDate>
			<dc:creator>fraggy</dc:creator>
			<guid isPermaLink="false">13748@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello again,&#60;/p&#62;
&#60;p&#62;I am having trouble styling the input for the upload input. I've tried with jQuery and I have it working on FF and Chrome on the Mac but not Safari. Need to test in IE.&#60;/p&#62;
&#60;p&#62;Is it possible to change it to a button so that I can have more control over it? I have read the other post here &#60;a href=&#34;http://forum.gravityhelp.com/topic/button-element-rather-than-input-available&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/button-element-rather-than-input-available&#60;/a&#62; but it is a very old one. Any news?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
