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.

Get related authors posts - IMAGE?

  1. jimbo
    Member

    Hello, I'm stuck in outputing the image attachment of the authors related post function. I don't know how to call the image which is being sent by the form (post_image) and than to be shown in the sidebar.

    This is my function:

    http://www.pastie.org/1960792

    Please could someone help me out. I don't know what gravity form does with post image and how to call the thumbnail version of it?!?!?! Thank You in advance :)

    Posted 12 years ago on Monday May 23, 2011 | Permalink
  2. Gravity Forms stores the Post Image in the Media Library as an attachment for the post that is created. So it's stored no different than an image you upload when creating a post manually in WordPress.

    You can verify that this is working correctly by editing the post that was created in your WordPress Dashboard by going to Edit Posts, select the Post, and then via Images for that post and see which images are in it's Gallery. Those are the attachments to that Post.

    So if the code isn't working, you may want to check to make sure you are getting the image attachments properly.

    Posted 12 years ago on Monday May 23, 2011 | Permalink