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.

posting pictures in the body

  1. deluxy
    Member

    Posting a single picture is easy enough when using the 'Post Content Template' functionality of the Post Body field, but scratching my head over how i would reference multiple images in the post body.

    the default configuration when you add one photo is this:

    {Post Image:2:large:left}

    i hope it's as simple as copy & paste that one line, and change a minor parameter.

    lastly... the thumbnail in my blog associated with each post is something i have to do manually and this is traditionally achieved by adding a custom field below the body
    called THUMB and the value is something like this:

    <img src='http://www.mysite.com/wp-content/uploads/2010/11/mypic.jpg'alt=''/>

    is there a place that i can simply include the THUMB field, and the 1 line where i can replace the path with {Post Image:2:large:left} which was created earlier?

    obviously i'm trying to automate the thumbnail creation without having to throw in the
    custom THUMB and picture path manually each time.

    thanks in advance for any useful info on this process!

    this may not be the right way of doing this ( as gravity forms is brand new to me ) but you
    can get a good idea of what i'm trying here.

    http://tinyurl.com/2em7z6g

    Posted 14 years ago on Monday November 8, 2010 | Permalink
  2. You can add as many photos as you wish to the Post Content Template. You just need to use the "Insert Variable" field and keep adding images just like you did for the first one. It will look something like:

    {Post Image:2:large:left} {Post Image:3:large:left} {Post Image:4:large:left}

    As far as your thumbnail, what you can do is add a Post Custom Field to your form, set it's Field Type to File Upload and its Custom Field Name to THUMB. This will create the THUMB post custom field you need and place the image path in it. (see screenshot: http://grab.by/7iIP).
    Now you can choose this field in your Post Content Template, but since it is not a Post Image field, it will behave a little different. It will simply output the image path, and not the entire image tag. So your Post Content Template will need to be something like:

    {Post Image:2:large:left} {Post Image:3:large:left} <img src='{Thumbnail:4:large:left}' />

    I hope this points you in the right direction.
    Good Luck!

    Posted 14 years ago on Tuesday November 9, 2010 | Permalink
  3. deluxy
    Member

    ok i'll work on those a bit... by the way; the screenshot you posted:

    http://grab.by/7iIP

    is a dead link.

    Posted 14 years ago on Tuesday November 9, 2010 | Permalink
  4. Link worked for me :)

    Posted 14 years ago on Tuesday November 9, 2010 | Permalink
  5. deluxy
    Member

    keeps sending me back to the tinygrab home page. maybe you guys have cached creds which brings you straight to it.

    i go an account, and still 'tiny grab home page'

    just fyi

    Posted 14 years ago on Thursday November 11, 2010 | Permalink
  6. strange. never had an issue with it before. Thx.

    Posted 14 years ago on Thursday November 11, 2010 | Permalink
  7. IA4W
    Member

    - In the first link posted there is a ) at the end. The link works without it...

    Posted 13 years ago on Sunday April 10, 2011 | Permalink