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.

How to find image template tag

  1. travisperkins
    Member

    Hi

    I want to do the hard code equivalent of the on-board template formatting.
    Specifically, I just need to know what tag to include in my post template to display:
    1. the post-image uploaded usingthe image-upload field
    2. a file uploaded using the file upload filed

    The onboard formatting uses:
    {Post Image:6:full:left}

    for image.
    No option for file.

    So I am looking for the php equivalent.

    Posted 14 years ago on Saturday August 14, 2010 | Permalink
  2. There isn't a built in PHP equivalent that is easily accessible outside the scope of the functionality Gravity Forms provides. You would have to reverse engineer the post template functionality. There is a function call it uses, you would have to look at the code and replicate it.

    You can use the file upload field and if you use the post template functionality and output a file upload field value it outputs the full absolute path to the file.

    Posted 14 years ago on Monday August 16, 2010 | Permalink