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

		<item>
			<title>Chris Hajer on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-92672</link>
			<pubDate>Sun, 18 Nov 2012 17:44:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">92672@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome.  As I explained in my email, it's a bit of a catch 22 since you don't have the post ID before you create the post, so inserting the shortcode into the post body is probably the way to go.  I'm surprised it has NOT come up more often.  We'll explore other options if it becomes an issue for more people.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jenne on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-92572</link>
			<pubDate>Sun, 18 Nov 2012 06:44:01 +0000</pubDate>
			<dc:creator>Jenne</dc:creator>
			<guid isPermaLink="false">92572@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;And it works perfectly. :-)&#60;br /&#62;
 Thank you Chris for your personal dedication to my issue.Probably you could include that thig into the standard edition because i don´t think i am the only one who wants to link pics to full posts .&#60;/p&#62;
&#60;p&#62;Great work :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-92463</link>
			<pubDate>Sat, 17 Nov 2012 23:26:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">92463@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This was more difficult than I expected it to be.  I created a function and shortcode to grab the first image attachment on a post.  The code for this shortcode and function can be found here: &#60;a href=&#34;http://pastebin.com/H08pMz1P&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/H08pMz1P&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I added that code to your theme's functions.php file (at the bottom.)&#60;/p&#62;
&#60;p&#62;Then I changed your content template.  I removed the merge tag for the post image which is being uploaded, and replaced it with &#60;strong&#62;[gf_postimage]&#60;/strong&#62; which will call this new function.  The function will return the image tag and the link to the parent post.  I created one test post and the functionality works.  I emailed you as well.  Please let us know if you have any questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-90817</link>
			<pubDate>Tue, 13 Nov 2012 16:53:28 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">90817@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Jenne, please send me an email at &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; with a WordPress administrator login and I will take a look at this for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jenne on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-90773</link>
			<pubDate>Tue, 13 Nov 2012 14:31:31 +0000</pubDate>
			<dc:creator>Jenne</dc:creator>
			<guid isPermaLink="false">90773@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry but that is not what i would call support -.-
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jenne on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-89113</link>
			<pubDate>Fri, 09 Nov 2012 04:47:50 +0000</pubDate>
			<dc:creator>Jenne</dc:creator>
			<guid isPermaLink="false">89113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it really that hard to link that [*******] image to the post created? As far as i can judge this the postid isn´t known when the above solution is processed so i guess i have to use tghat post-processing i read about. but i have exactly no idea what hooks etc i have to use to get this working. I can´t be the only one who uses images that should be linked to the full post?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jenne on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-87608</link>
			<pubDate>Mon, 05 Nov 2012 13:45:41 +0000</pubDate>
			<dc:creator>Jenne</dc:creator>
			<guid isPermaLink="false">87608@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bump again :-/
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jenne on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-86643</link>
			<pubDate>Fri, 02 Nov 2012 11:01:01 +0000</pubDate>
			<dc:creator>Jenne</dc:creator>
			<guid isPermaLink="false">86643@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bump for a solution...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jenne on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-83864</link>
			<pubDate>Fri, 26 Oct 2012 02:09:27 +0000</pubDate>
			<dc:creator>Jenne</dc:creator>
			<guid isPermaLink="false">83864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chris, thanks for your reply.&#60;br /&#62;
But that did not work. It looks like it ignored the post_id.&#60;/p&#62;
&#60;p&#62;When the template looks like:&#60;br /&#62;
&#60;code&#62;&#38;lt;center&#38;gt;&#38;lt;a href=&#38;quot;{post_id}&#38;quot;&#38;gt;{Bild:3:large}&#38;lt;/a&#38;gt;&#38;lt;center&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The generated posthtml is:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;&#38;quot;&#38;gt; &#38;lt;img ....&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;found a hint at another forum to add p= in front of post_id&#60;br /&#62;
&#60;code&#62;&#38;lt;center&#38;gt;&#38;lt;a href=&#38;quot;p={post_id}&#38;quot;&#38;gt;{Bild:3:large}&#38;lt;/a&#38;gt;&#38;lt;center&#38;gt;&#60;/code&#62;&#60;br /&#62;
but it leads to this html:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;p=&#38;quot;&#38;gt;&#38;lt;img ....&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;any other idea about that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Link uploaded Image to created Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/link-uploaded-image-to-created-post#post-83719</link>
			<pubDate>Thu, 25 Oct 2012 13:27:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83719@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry for the delay.  This one fell through the cracks.&#60;/p&#62;
&#60;p&#62;You don't want the entry URL but the post URL or post ID.  You can always use the Page or Post ID in your link: it will be converted by WordPress.  For example, try this link:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://gravity.chrishajer.com/?page_id=913&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/?page_id=913&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It will be rewritten and the pretty permalink will be shown in the address bar.&#60;/p&#62;
&#60;p&#62;Try it like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;center&#38;gt;&#38;lt;a href=&#38;quot;{post_id}&#38;quot;&#38;gt;{Bild:3:large}&#38;lt;/a&#38;gt;&#38;lt;/center&#38;gt;

&#38;lt;!--more--&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You want to send people to the post they just created, not the admin entry screen.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
