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.

Use 'Image Upload' to attach an image to an existing post?

  1. I'm building a site that will consist of user-contributed photos. Each post will have an image gallery, using the built-in WP gallery feature. Is it possible to use the GF Image Upload form to attach an image to an existing post, instead of having it create a brand new post when the image is uploaded?

    Ideally the form would have a pulldown menu that would allow the user to select the post that they wish to attach their photo too.

    Any help would be appreciated.

    Posted 9 years ago on Monday January 3, 2011 | Permalink
  2. Currently it is not possible to edit or add data to an existing post as a built in feature. It might be possible using custom code and available API hooks, but it isn't something Gravity Forms does as a built in feature.

    Posted 9 years ago on Monday January 3, 2011 | Permalink
  3. OK, thanks for the info, Carl.

    Using the hooks is a little above my ability. By chance, does anyone out there have any code they could share?

    I don't really need the pull-down menu that I first described. I just need to embed an image-upload form into a post, and have that uploaded image be attached to that same post (the one with the form in it).

    Any help would be greatly appreciate. :)

    Posted 9 years ago on Monday February 14, 2011 | Permalink
  4. Paul,
    Where you ever able to find a solution to this? I am looking for the same functionality.

    Thanks

    Posted 9 years ago on Saturday July 2, 2011 | Permalink
  5. No, I wasn't. :(

    The site has been put on hold, but my solution was to change the structure of things slightly. Originally a Post was going to represent a topic. There would be a gallery of user-submitted images in that post (for that topic). Since Gravity can't add to an existing post, I decided to make a Wordpress Category represent the topic (instead of a post). That way people can submit images... and posts are created that belong to that category.

    But, I am still interested in the original functionality, if anyone out there has found a way to do it.

    Posted 9 years ago on Tuesday July 5, 2011 | Permalink