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.

Custom Image Width and Height

  1. Currently within "Create Post content template" i can set the image either Thumb, Medium, Large, Full Size.
    eg: {Post Image:7:medium}

    What I wish to accomplish is to use width & height instead;
    eg: {Post Image:7:width=800px height=600px}

    Would appreciate assistance in achieving this result.

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  2. You would have to build your own HTML and IMG tag rather than let the form field variable output it for you. You can use the form field variable to get just the image source path.

    Example:

    <img src="{Post Image:7:full:url}" width="800" height="600" />

    That is the only thing you could do to achieve what you want.

    Posted 13 years ago on Monday January 10, 2011 | Permalink
  3. Thanks Carl, you're a gem.

    Posted 13 years ago on Tuesday January 11, 2011 | Permalink
  4. Carl if I may be so naive as to ask exactly where it is placed once it is built please?

    Posted 13 years ago on Tuesday January 11, 2011 | Permalink
  5. This would be used in the Content Template for the Post Body field. Edit your form, edit your post body field, turn on the Content Template. Configure your Content Template. Please note whatever you place in the Content Template is what is used to create the Post Body content. This includes the form field variable for the Post Body field itself, you must select it if you want that field content to be included. The Content Template overrides the Post Body field value itself, so you must be sure to include the variable for that field within the Content Template.

    Posted 13 years ago on Tuesday January 11, 2011 | Permalink