PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Photos Do Not Display

  1. Hi
    I'm setting up a website so people can do a post and upload a photo using Gravity Forms. It will post the text but any images added will not show. Below is a test URL. Each one of the posts should also have an image in the post.
    http://fvsheepbreeders.com/facebook/

    Posted 14 years ago on Tuesday April 5, 2011 | Permalink
  2. Images uploaded via the Post Image field aren't added automatically to the post content. They are added to your Media Library and associated with the Post that is created. But jus like if you add an image to your Media Library or when editing a post, it doesn't automatically get added into your Post content, you have to add it yourself by inserting it.

    To do this with Gravity Forms you use the Content Template feature of the Post Body field. Edit your Post Body field in Gravity Forms, activate the Content Template feature and configure the Content Template. You can use the Insert Form Field drop down to insert the value of form fields into your Post Body.

    If you pick your image field from the Insert Form Field drop down, it will give you the additional option of picking the size and positioning. It will then insert the variable into your Content Template. Whatever is in the Content Template is what will be used to create the content of the post.

    Posted 14 years ago on Tuesday April 5, 2011 | Permalink
  3. Anonymous
    Unregistered

    How do you get a post that has already been created as a Pending to show these images. I am using the same exact code, but it isn't pulling it up.

    Posted 14 years ago on Sunday June 12, 2011 | Permalink
  4. If a post has already been created, the content template isn't going to execute. The Content Template executes when the form is submitted and the post is created. It doesn't apply to existing posts.

    Posted 14 years ago on Monday June 13, 2011 | Permalink
  5. Anonymous
    Unregistered

    Wow, I really hope you guys find a way to make an import feature for your forms. This would really make it much more usable. Is there some reason other than just coding that you don't have this feature?

    Posted 14 years ago on Tuesday June 14, 2011 | Permalink
  6. Is there a reason? Because it's a form plugin, it process form data submitted via forms that you create. It doesn't process non-form data. So it doesn't manipulate existing posts. It's only for creating new data, it doesn't process or manipulate existing data. The forms create the posts, so the form has to be submitted in order for the post to be created.

    Posted 14 years ago on Tuesday June 14, 2011 | Permalink
  7. Anonymous
    Unregistered

    Yes, but as the admin, I should be able to import data as well as export it. I was just wondering if this was something that your code doesn't allow you to do or if it is some sort of "idea" behind not being to import as well as export.

    If I create a form on an existing site and want to populate it with users, then I hope that you can see it would be useful for that purpose. Or even for populating with product content or any other type of CMS data.

    Posted 14 years ago on Tuesday June 14, 2011 | Permalink