<?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 watermark after uploading post image</title>
		<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image</link>
		<description>Gravity Support Forums Topic: Image watermark after uploading post image</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:29:51 +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-watermark-after-uploading-post-image" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40885</link>
			<pubDate>Sat, 12 Nov 2011 01:49:11 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">40885@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, that's a whole different animal.  Should I consider this topic closed then?&#60;/p&#62;
&#60;p&#62;I know NextGen Gallery will do that, and there are also plugins at WordPress.org specifically for watermarking only:&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/extend/plugins/search.php?q=watermark&#38;amp;sort=&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/search.php?q=watermark&#38;amp;sort=&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mmtrav on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40884</link>
			<pubDate>Sat, 12 Nov 2011 01:44:20 +0000</pubDate>
			<dc:creator>mmtrav</dc:creator>
			<guid isPermaLink="false">40884@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;actually, scratch that, I don't want to actually watermark my original images, I want to watermark the published images, which has to do with the theme I'm using, not gravity forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40883</link>
			<pubDate>Sat, 12 Nov 2011 01:40:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">40883@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Mikey, I made the mistake of continuing this topic in the pre-purchase forum.  Would you please open a new topic with where you're at right now, including links to relevant pages (even this topic) in the &#60;a href=&#34;http://www.gravityhelp.com/forums/forum/gravity-forms&#34; rel=&#34;nofollow&#34;&#62;regular support forums&#60;/a&#62;?  We'll be happy to take a look at it there.  Thank you.&#60;/p&#62;
&#60;p&#62;We try not to do forum support in the pre-purchase forum.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mmtrav on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40881</link>
			<pubDate>Sat, 12 Nov 2011 01:31:48 +0000</pubDate>
			<dc:creator>mmtrav</dc:creator>
			<guid isPermaLink="false">40881@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry to bump this guys, but am hoping to get support from you on this one as I still need the images to be watermarked upon upload and publication by the gravity form. &#60;/p&#62;
&#60;p&#62;Help appreciated..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mmtrav on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40011</link>
			<pubDate>Fri, 04 Nov 2011 02:16:32 +0000</pubDate>
			<dc:creator>mmtrav</dc:creator>
			<guid isPermaLink="false">40011@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;in short, I'm not sure if a path or a file name is required... I'll just check what the $file variable is calling.. &#60;/p&#62;
&#60;p&#62;Okay I've checked -- it's definitely a path, not a URL.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mmtrav on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40009</link>
			<pubDate>Fri, 04 Nov 2011 02:08:10 +0000</pubDate>
			<dc:creator>mmtrav</dc:creator>
			<guid isPermaLink="false">40009@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris, &#60;/p&#62;
&#60;p&#62;Yes, definitely. I've posted an example form here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://photography.crowdsourced.travel/gravity-edit/&#34; rel=&#34;nofollow&#34;&#62;http://photography.crowdsourced.travel/gravity-edit/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The instruction for the watermark function is here:&#60;br /&#62;
&#60;a href=&#34;http://www.wp-watermark.com/installation&#34; rel=&#34;nofollow&#34;&#62;http://www.wp-watermark.com/installation&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It asks me to put in the function into the Wordpress media.php file located at /wordpress/wp-admin/includes/media.php.  &#60;/p&#62;
&#60;p&#62;This makes the watermark work automatically on standard uploaded images via wordpress editor, but images sent via the gravity form do not get uploaded the same way. &#60;/p&#62;
&#60;p&#62;I hope that's all the information needed to make this work? Thanks for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-40001</link>
			<pubDate>Thu, 03 Nov 2011 22:54:53 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">40001@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Mikey, can you post a link to your form?  With your form fields, I can give you a better code example.&#60;/p&#62;
&#60;p&#62;Generally though, the full URI to the images is in $entry[8] and $entry[5] in the 'blender' code.  I'm not sure if your function needs a URI or a path to work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mmtrav on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-39801</link>
			<pubDate>Wed, 02 Nov 2011 23:18:19 +0000</pubDate>
			<dc:creator>mmtrav</dc:creator>
			<guid isPermaLink="false">39801@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry but I'm really not a coder and can't quite figure out what that code is doing or how I need to change it to invoke the watermarking function. I'm quite helpless with that.. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_after_submission&#38;quot;, &#38;quot;set_post_content&#38;quot;, 10, 2);
function set_post_content($entry, $form){

    //getting post
    $post = get_post($entry[&#38;quot;post_id&#38;quot;]);

    //changing post content
    $post-&#38;gt;post_content = &#38;quot;Blender Version:&#38;quot; . $entry[7] . &#38;quot;&#38;lt;br/&#38;gt; &#38;lt;img src=&#38;#39;&#38;quot; . $entry[8] . &#38;quot;&#38;#39;&#38;gt; &#38;lt;br/&#38;gt; &#38;lt;br/&#38;gt; &#38;quot; . $entry[13] . &#38;quot; &#38;lt;br/&#38;gt; &#38;lt;img src=&#38;#39;&#38;quot; . $entry[5] . &#38;quot;&#38;#39;&#38;gt;&#38;quot;;

    //updating post
    wp_update_post($post);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm thinking that I need to change the part after changing post content. But I'm not sure how to write the code that will get the image file name, and run the function I need. &#60;/p&#62;
&#60;p&#62;should it be something like this? &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_after_submission&#38;quot;, &#38;quot;watermark_post_image&#38;quot;, 10, 2);
function watermark_post_image($entry, $form){

//Get post image
$photopost_id = get_post($entry[&#38;quot;post_id&#38;quot;]);

// Here&#38;#39;s where I get stuck -- what do I write to call the uploaded image for watermarking? 

//Watermark post image
MM_Execute_WM($file,&#38;#39;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;My image field is ID 3 in the form. I am really stuck at this point.. please help me out?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-39785</link>
			<pubDate>Wed, 02 Nov 2011 22:05:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">39785@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use the gform_after_submission hook in version 1.6, or the gform_post_submission hook in anything prior to 1.6.  That hook runs after the submission is validated, entry is created and notifications are sent.  You can do whatever you want at that point.&#60;/p&#62;
&#60;p&#62;Here's a recent explanation from Alex about renaming the file after upload.  You can use a similar process to watermark your images after upload.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/append-a-prefix-to-file-uploads#post-39657&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/append-a-prefix-to-file-uploads#post-39657&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mmtrav on "Image watermark after uploading post image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/image-watermark-after-uploading-post-image#post-39758</link>
			<pubDate>Wed, 02 Nov 2011 17:45:09 +0000</pubDate>
			<dc:creator>mmtrav</dc:creator>
			<guid isPermaLink="false">39758@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've set up a watermark plugin that only works when I upload an image through the Wordpress media uploader on a post, not when I send it through the gravity form onto the custom post type for the photos. &#60;/p&#62;
&#60;p&#62;The watermark plugin's documentations had me insert a function in my media.php file of the Wordpress admin (bad practise I know) but that does make me think I could write a code snippet that will trigger the watermark function after submission by gravity forms.&#60;/p&#62;
&#60;p&#62;Ideally I would like the uploaded image to be processed by the watermark script and then also by the theme so it could go straight to publication without me handling it. &#60;/p&#62;
&#60;p&#62;the watermark plugin function was &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// INSERT HERE!!!
	MM_Execute_WM($file,&#38;#39;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;could I get a code snippet that will cause the watermark script to process the file sent by gravity forms? that would make my day. &#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
-Mikey
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
