Modifier :alt
Image alt text. Example: {Headshot:135:alt} gives Portrait of Grace Hopper. On the test form, this field is {Headshot:135} (Post image).
About
| Product | Gravity Forms |
|---|---|
| Requires | Gravity Forms 1.9 or later |
| In the picker | What to show, for Post image fields |
| Combining | Use it alone. With other modifiers, it is ignored. |
Examples
Output from the real plugin code, run on a test entry.
| Merge tag | Output | Without the modifier |
|---|---|---|
{Photo:19:alt} | A vintage typewriter | http://fixture.gravitykit.test/wp-content/uploads/gravity_forms/501-ce8740343b854b96e037e97f8dfef93f/typewriter.jpg |
Works on
Form fields: Post image.