<?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: Adding custom id=&#34;&#34; to Post Content</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-custom-id-to-post-content</link>
		<description>Gravity Support Forums Topic: Adding custom id=&quot;&quot; to Post Content</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:29:14 +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/adding-custom-id-to-post-content" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Adding custom id=&#34;&#34; to Post Content"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-custom-id-to-post-content#post-12768</link>
			<pubDate>Tue, 16 Nov 2010 11:44:01 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">12768@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can't add code to the output.  What you would have to do is build the entire image tag yourself.  You can then modify the form field variable for the post image using an undocumented feature to only output the full path to the image.&#60;/p&#62;
&#60;p&#62;You would do so by adding :url to the post image variable.&#60;/p&#62;
&#60;p&#62;Example:&#60;/p&#62;
&#60;p&#62;{Image:7:thumbnail:url}&#60;/p&#62;
&#60;p&#62;This will only output the full path to the image like this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.styleroast.com/wp-content/uploads/2010/11/jcrew_grey_tweed_sportcoat3.jpg&#34; rel=&#34;nofollow&#34;&#62;http://www.styleroast.com/wp-content/uploads/2010/11/jcrew_grey_tweed_sportcoat3.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So you would then build the full image tag yourself like so:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;img id=&#38;quot;img-POSTIDHERE&#38;quot; class=&#38;quot;size-thumbnail aligncenter wp-image-285&#38;quot; title=&#38;quot;jcrew_grey_tweed_sportcoat&#38;quot; src=&#38;quot;{Image:7:thumbnail:url}&#38;quot; alt=&#38;quot;jcrew_grey_tweed_sportcoat&#38;quot; width=&#38;quot;500&#38;quot; height=&#38;quot;500&#38;quot; /&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>freiden on "Adding custom id=&#34;&#34; to Post Content"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-custom-id-to-post-content#post-12744</link>
			<pubDate>Tue, 16 Nov 2010 04:32:19 +0000</pubDate>
			<dc:creator>freiden</dc:creator>
			<guid isPermaLink="false">12744@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm inserting an image upload into the body field of a form via post content template, which outputs this into the template:&#60;br /&#62;
{Image::7:thumbnail:center}&#60;/p&#62;
&#60;p&#62;However, I need to add a custom id=&#34;&#34; tag into the html for that image that is posted.&#60;/p&#62;
&#60;p&#62;Right now, this is what is generated into the post content:&#60;br /&#62;
&#60;code&#62;&#38;lt;img class=&#38;quot;size-thumbnail aligncenter wp-image-285&#38;quot; title=&#38;quot;jcrew_grey_tweed_sportcoat&#38;quot; src=&#38;quot;http://www.styleroast.com/wp-content/uploads/2010/11/jcrew_grey_tweed_sportcoat3.jpg&#38;quot; alt=&#38;quot;jcrew_grey_tweed_sportcoat&#38;quot; width=&#38;quot;500&#38;quot; height=&#38;quot;500&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;How can I make it this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;img id=&#38;quot;img-POSTIDHERE&#38;quot; class=&#38;quot;size-thumbnail aligncenter wp-image-285&#38;quot; title=&#38;quot;jcrew_grey_tweed_sportcoat&#38;quot; src=&#38;quot;http://www.styleroast.com/wp-content/uploads/2010/11/jcrew_grey_tweed_sportcoat3.jpg&#38;quot; alt=&#38;quot;jcrew_grey_tweed_sportcoat&#38;quot; width=&#38;quot;500&#38;quot; height=&#38;quot;500&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
