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.

Upload to Portfolio

  1. Hi,

    I need a solution where logged-in users can upload one or more images with a title, description, category, and tags to be automatically displayed in a portfolio.

    Is this possible with Gravityforms?
    Is this an 'out of the box' function?

    Many thanks in advance.

    Paul

    Posted 12 years ago on Friday January 13, 2012 | Permalink
  2. Hi Paul, sorry for the delay. We overlooked your question initially.

    Yes: Logged in users upload one of more images.

    Yes: Title, description, category, tags, yes. You can capture, title, alt and caption for the image. But images have no concept of tags or categories. By default, those are related to posts. If you are using a specific gallery plugin, please let us know which one.

    Yes: out of the box functionality, if you are creating posts in a Portfolio Category, yes, it's all possible. But, if you want to have images submitted directly to a portfolio or gallery plugin, we need to know your setup to give you more specific information.

    Posted 12 years ago on Tuesday January 17, 2012 | Permalink
  3. I have a similar question. I am using a theme which utilizes the Next Gen Gallery plugin and I would like to figure out a way for the images that users upload automatically from Gforms to get added to a particular Next Gen Gallery ID and be marked for moderation. If the input fields such as title and description could be mapped over the the NGG that would be extremely powerful for me. I've seen an existing plugin named Next Gen Public Uploader: http://wordpress.org/extend/plugins/nextgen-public-uploader/ but this plugin is missing much of the functionality I'm looking for.

    I'm trying to look through the source code and see if I can't figure out what's going on. I assume I could somehow use the gform_upload_path hook somehow, but I have no idea of how to go about doing so. Any help would be greatly appreciated.

    Posted 12 years ago on Friday January 20, 2012 | Permalink
  4. You would need to look at the NGG plugin and see how it stores its data, then have the Gravity Form use the same functions to store the information that NGG is looking for. I'm not familiar with how NGG stores the image and album information, so I can't give any specific information on how to do this. I would upload an image in NGG and then see what entries are created in whichever database tables, or, figure out which functions NGG uses to store the data, then call the same functions using the gform_after_submission hook. It can be accomplished, but I'm unsure of how much work will be required.

    Posted 12 years ago on Friday January 20, 2012 | Permalink
  5. I'm sure other Gravity Forms users would be interested in this as well so here is the code from the NGG public uploader plugin that I think is relavent:

    I added the code to pastebin: http://pastebin.com/zQ2iqDjq

    I am going to do my best to try to figure this out, however while I understand some of the basic concepts of what needs to happen a lot of the work required to make this work is a little above me.

    Posted 12 years ago on Friday January 20, 2012 | Permalink
  6. lolawson
    Member

    Hey Derek, did you figure this out? Any tips?

    Posted 11 years ago on Tuesday June 26, 2012 | Permalink
  7. @lolawson

    Yes, I ended up using something like this: http://snippi.com/s/hx6seuo

    You will have to modify this to meet your specific needs of course.

    Posted 11 years ago on Tuesday June 26, 2012 | Permalink
  8. lolawson
    Member

    You are super rockin' awesome. I'll give it a look. Thank you!

    Posted 11 years ago on Tuesday June 26, 2012 | Permalink
  9. @lolawson

    Here is the full function and the add_action which you can place into your functions.php file

    http://snippi.com/s/rji1j8x

    Posted 11 years ago on Wednesday June 27, 2012 | Permalink
  10. eukally
    Member

    @derekshirk: I am quite interested in your solution, but I don't understand where to put the function and how it works.

    Can you please describe it a little bit more.

    Thank You!

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink
  11. Thomas, you can find public contact information for derekshirk on his profile page.

    http://www.gravityhelp.com/forums/profile/derekshirk

    I am going to close this topic as it is in the Pre-Purchase forums and you already have your copy of Gravity Forms (although, I see that your license recently expired.)

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink

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