<?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: Dynamically Populating Images Uploaded to Post</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post</link>
		<description>Gravity Support Forums Topic: Dynamically Populating Images Uploaded to Post</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:29:17 +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/dynamically-populating-images-uploaded-to-post" rel="self" type="application/rss+xml" />

		<item>
			<title>sascha on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-48530</link>
			<pubDate>Tue, 07 Feb 2012 06:01:52 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">48530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bookmarked!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jsultemeier on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37665</link>
			<pubDate>Tue, 11 Oct 2011 22:06:33 +0000</pubDate>
			<dc:creator>jsultemeier</dc:creator>
			<guid isPermaLink="false">37665@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Now, to change the size or alignment of the images, I would have thought I could edit the post-images class. I seem to be wrong...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37586</link>
			<pubDate>Tue, 11 Oct 2011 15:28:22 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">37586@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Since the label is completely separate from the actual value of the field, you can do pretty much whatever you want in the label. In the code above, the label consists of this string on line 20:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;quot;&#38;lt;img src=\&#38;quot;{$image_deets[0]}\&#38;quot; /&#38;gt;&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could add the image title there as well like so:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;quot;&#38;lt;img src=\&#38;quot;{$image_deets[0]}\&#38;quot; /&#38;gt;&#38;lt;br /&#38;gt;{$image-&#38;gt;post_title}&#38;quot;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jsultemeier on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37582</link>
			<pubDate>Tue, 11 Oct 2011 15:09:31 +0000</pubDate>
			<dc:creator>jsultemeier</dc:creator>
			<guid isPermaLink="false">37582@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Worked beautifully! This is going to be very nice. I really appreciate it! (Got a donate link?)&#60;/p&#62;
&#60;p&#62;Mixing text and the dynamically populated images in a multiple choice is probably out of the question, huh? (Example: Select the pose you would like to appear in the yearbook: Pic1, Pic2, Pic3, Retake, please) Of course, I could include a &#34;Retake&#34; image.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37579</link>
			<pubDate>Tue, 11 Oct 2011 14:35:03 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">37579@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Try this: &#60;a href=&#34;http://pastie.org/2678465&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2678465&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jsultemeier on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37570</link>
			<pubDate>Tue, 11 Oct 2011 13:32:00 +0000</pubDate>
			<dc:creator>jsultemeier</dc:creator>
			<guid isPermaLink="false">37570@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David, thanks for your help!&#60;/p&#62;
&#60;p&#62;It pulled in the images just fine and seems to work well with checkboxes. Only problem I see is when you have more than one multiple choice or checkbox fields; it appears that every time there is another field it adds an extra loop. So, if the first field shows three images, the next displays six and the next displays nine and so on. &#60;/p&#62;
&#60;p&#62;Also, is it possible to return the image name vs the ID?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37466</link>
			<pubDate>Mon, 10 Oct 2011 12:56:49 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">37466@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This snippet will populate all of the post images that have been uploaded for the current post the Gravity form is being displayed on. You can indicate which field should display the post images by defining the class as &#34;post-images&#34; in the GF form admin. This code will work with multiple choice fields but &#60;em&#62;may&#60;/em&#62; require some additional work for checkboxes. Use it as a base and go from there. :)&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Paste this code in your theme's &#60;em&#62;functions.php&#60;/em&#62; file:&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/2671939&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2671939&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;Add the class &#34;post-images&#34; to any multiple choice field. &#60;a href=&#34;http://grab.by/b2fp&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/b2fp&#60;/a&#62; &#60;/li&#62;
&#60;li&#62;Make sure you have some post images attached to whichever post will be displaying the Gravity form. &#60;a href=&#34;http://grab.by/b2fq&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/b2fq&#60;/a&#62; &#60;/li&#62;
&#60;li&#62;That's it! &#60;a href=&#34;http://grab.by/b2fs&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/b2fs&#60;/a&#62; &#60;/li&#62;
&#60;/ul&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37322</link>
			<pubDate>Fri, 07 Oct 2011 15:55:34 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">37322@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll have one of our developers take a look and give you some guidance.  It's towards the end of the day on Friday so there may be a delay in receiving a response with the weekend, etc. so be patient and i'll make sure someone responds.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jsultemeier on "Dynamically Populating Images Uploaded to Post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-images-uploaded-to-post#post-37319</link>
			<pubDate>Fri, 07 Oct 2011 15:23:47 +0000</pubDate>
			<dc:creator>jsultemeier</dc:creator>
			<guid isPermaLink="false">37319@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can a set of images that have been uploaded in a post populate a multiple choice and checkbox field?&#60;/p&#62;
&#60;p&#62;I am creating a form that will allow the user to pick one image (multiple choice) and then later select more than one (checkbox).
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
