bookmark_borderPost Image

The Post Image field allows users to upload an image that is added to the Media Library and Gallery for the post that is created. This field works in tandem with the other Post fields to allow you to create a form that can generate post data from a user submission. The Post Image allows users to upload the following filetypes: GIF, JPG and PNG.

Properties

Post Image Properties

  • Field Label
    Enter the label of the form field. This is the field title the user will see when filling out the form.

  • Description
    Enter the description for the form field. This will be displayed to the user and provide some direction on how the field should be filled out or selected.

  • Image Metadata
    Select one or more image metadata field to be displayed along with the image upload field. They enable users to enter additional information about the uploaded image.

  • Set as Featured Image
    Check this option to set the image uploaded in this field as the Featured Image for the generated post.

  • Rules
    These properties set rules for how the data should be handled.

    • Required
      A required field will prevent the form from being submitted if it is not filled out or selected.

Appearance

Post Image Appearance

  • Description Placement
    Overrides the default description placement, allowing you to place it either above or below the field.

  • Custom Validation Message
    If you would like to override the default error validation for a field, enter it here. This message will be displayed if there is an error with this field when the user submits the form.

  • Custom CSS Class
    Enter the CSS class name you would like to use in order to override the default styles for this field.

Advanced

Post Image Advanced

  • Admin Field Label
    Enter the admin label of the form field. Entering a value in this field will override the Field Label when displayed in the Gravity Forms administration tool.

  • Enable Conditional Logic
    Create rules to dynamically display or hide this field based on values from another field. Remember, to use conditional logic, you will need to create a drop down, checkbox or multiple choice field.

Merge Tags

Usage

{Field Name:2:modifier}

Modifiers

By default, the tag outputs the URL of the image.

  • :title
    Displays the image title.

  • :caption
    Displays the image caption.

  • :description
    Displays the image description.