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.

Post Field—Image upload isn't working

  1. I haven't been able to find a solution for getting the image uploads to show up in the posts. Has anyone gotten this to work?

    Posted 12 years ago on Wednesday June 29, 2011 | Permalink
  2. The Post Image field uploads the image to your Media Library and attaches the image to the Post that is created. The image isn't going to automatically show up in your post. For one we wouldn't know where it should be displayed or how it should be displayed.

    Just like if you go to your Media Library and upload an image, or go to Add New Post and click on the upload image icon and upload an image, they don't automatically get added into the Post Body of a post unless you insert it into the Post Body.

    If you want the image to be included in the post body then you need to edit the Post Body field on your form, turn on the Content Template option and then in the Content Template configure your post. Whatever appears in your Content Template is what will be used as the content of the post that is created, including any field merge tags you include. Merge tags are replaced by the actual fields value when the form is processed and the post is created.

    You can use the "Insert form field" drop down above the Content Template to insert form field merge tags. So using this functionality you can insert the merge tag for your Post Image field, including selecting which size from the Media Library sizes.

    Just remember that the Content Template overrides the Post Body field itself and whatever you configure in the Content Template is what will be used to create the content of the Post.

    The Content Template supports shortcodes so you can also include the [gallery] shortcode in the Content Template if rather than manually inserting a Post Image field merge tag you want to show a gallery of all the images that were uploaded with that Post.

    Posted 12 years ago on Wednesday June 29, 2011 | Permalink
  3. It worked great and my form posts look so nice now! Thank you for such a quick and detailed explanation—I needed it!

    Posted 12 years ago on Wednesday June 29, 2011 | Permalink
  4. kate_b
    Member

    Thank you!!! Finally, I have found a great way for users to easily submit a post and upload an image that avoids having to open the media library (which I don't want them to access/view). Half of the free plugins break and have so many little workarounds you have to do...Thank you Gravity forms!!

    Posted 12 years ago on Friday July 15, 2011 | Permalink
  5. Jean-Francois Dube
    Member

    Carl,
    You guys really rock!

    Merci mille fois!

    Posted 12 years ago on Friday July 22, 2011 | Permalink
  6. Very helpful stuff. :) just wanted to drop a kudo for this blog article. blog articles can be a pain sometimes, but this one definitely helped.

    Posted 12 years ago on Tuesday August 23, 2011 | Permalink

This topic has been resolved and has been closed to new replies.