Skip to content

Merge Tags

Image Hopper has its own individual field tags, but also integrates nicely with Gravity Forms {all_fields} merge tag.

Field Tag

Usage

{Field Name:2:modifier}

Without any modifiers, and when in an HTML-output context, all images are displayed on screen using <img /> tags. If in a text-output context the output is the same as using the :url modifier.

Modifiers

  • :url — Denotes that the output shows the plain-text secure/masked URL(s) of the uploaded images. If the merge tag is output in an HTML context, each URL is displayed on a new line. If in a text context the URLs are separated by a comma (,)
  • :raw — Denotes that the output shows the plain-text direct URL(s) of the uploaded images. If the merge tag is output in an HTML context, each URL is displayed on a new line. If in a text context the URLs are separated by a comma (,)
  • :count — Outputs the total number of images that have been uploaded to the field. This is useful when combined with a Number or Product calculation field to do per-image billing.

All Fields Tag

When using the {all_fields} tag (or its variants) in an HTML-output context, all images are displayed on screen using <img /> tags. If in a text-output context the output is the same as using the :url modifier.