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.

Image Embedding

  1. intradox
    Member

    I have an image gallery based site and would like to use gravityforms to help with the submission process.

    Would it be possible to do the following things?
    1) After the image is uploaded, to automatically add the image to the description?
    2) Allow multiple images but only show one image upload at a time? Like once they upload the first, it shows an option to upload a second?
    3) Would it be possible to (instead of a name field) have a custom username field and then automatically add that to the description?

    Would love to know/hear if these would be possible as I'd like to automate the process as much as possible.

    Thanks!

    Posted 13 years ago on Tuesday November 15, 2011 | Permalink
  2. 1) add the image to the description of "what"?

    2) you could accomplish this with conditional logic. However, the uploads do not happen until the form is submitted. So, file selection would happen early on, you can then ask "upload another" and if it is checked, show another upload field. Then, the can select another file. All the files selected are not uploaded until the form is submitted and is valid.

    3) I'm not sure where the description *is*, but you can capture any information you want, and use it wherever you want.

    Please ask more questions before you decide to buy. A link to your site or theme would be helpful too so we can see what you're looking for. Thanks.

    Posted 13 years ago on Wednesday November 16, 2011 | Permalink
  3. intradox
    Member

    Sorry for not being specific.

    When I am asking if it's possible to add the image uploaded into the description, I meant the general wordpress story area (for me it's the description as i use a custom featured field for the main image and other images are put into the wordpress story content area)
    Just wondering how easy it is to add custom fields/content to the story description automatically.

    Posted 13 years ago on Friday November 18, 2011 | Permalink
  4. This is all pretty easy.

    Build your form, and configure it so you capture all the data you want from your visitor. Be sure you include a post body field. Save your form.

    Now go back and edit your form. Edit the post body field. There will be a check box that says "Create content template". Check that. Then you will see something that looks like this:
    http://minus.com/lRsIezzjr2RRG

    You can insert and data submitted to your form by using the drop down that says "Insert Merge Tag". You will be able to put all the submitted fields into your 'story description' like this. You might have to add some HTML to make it lay out the way you like, but I think if you start with this you will quickly figure it out. Please let us know if you need specific help with your form and your content template.

    Posted 13 years ago on Saturday November 19, 2011 | Permalink