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.
- Field Label
Enter the label of the form field. This is the field title the user will see when filling out the form.
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.
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.
These properties set rules for how the data should be handled.
A required field will prevent the form from being submitted if it is not filled out or selected.
- 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.
- 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.
By default, the tag outputs the URL of the image.
Displays the image title.
Displays the image caption.
Displays the image description.