Gravity Forms + Custom Post Types
Image upload > save to custom field (4 posts)

  1. adambundy
    Posted 3 years ago #

    I would like to create a post image or file upload field in my form, which is creating a new post in my custom post type (Creative Projects), which would store the URL of the uploaded image in one of my pre-configured custom fields. Any ideas?? Thanks!


  2. bradvin
    Plugin Author

    Posted 3 years ago #


    there is a post image field you can add to your form. You can then set the image to be the featured image for the created custom post type. That should solve you problem

  3. adambundy
    Posted 3 years ago #

    Thanks very much for your response - however my new content type has a main image, then a few additional images being stored as custom fields (via Meta Boxes created with Easy Custom Content Types), so I have images in addition to the post thumb whose uploaded URLs I need to store. Only thing I can think of is to use file upload fields and use some trickery on submit to take those values and insert them into hidden custom field fields on submit of the form. Am I missing an easier way to do this? Thanks again!

  4. adambundy
    Posted 3 years ago #

    I have resolved this issue for anyone with the same problem. You can use the Custom Field field type and there is an option to select the type of field. You can then select which established custom field in which to store the data. In this case, I selected the 'file upload' type. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms + Custom Post Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic