Help:Image Location
HELP PAGE DISCUSSION CLOSE
Revision as of 23:21, 24 March 2013 by Matt (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

REQUIRED FIELD

Select the image you want to display. If the image is already available on your website, use the Enter URL option. If you need to upload a file from your own computer, use the Upload Image option.


Enter URL

Enter the absolute URL of the image in this field, including the URL prefix http://. Double check the URL and make sure you can view the image via your browser. You will also need to enter the width and height for the image. This value will be used in the src="" attribute of the <img> HTML tag.


Upload Image

You can also upload an image from your computer. Simply click the Browse button and locate the image you want to upload. Your file must be a .png, .gif or .jpg format. Our system will automatically determine the width and height of the image and assign it a URL. If you want to change the width and height that it appears in your survey, you can return to the editor to modify these values after the file has been uploaded.


Multiple Languages

If you have enabled multiple languages for this survey, you will see an image input field for each language you have available. You must enter a URL and width/height, or upload an image, for at least one language. Any undefined languages will default to the highest priority language image that is defined, so if you want to use the same image for all languages, you need only enter a single URL or upload a single file.


Template-Toolkit Capable

You can utilize Template-Toolkit tags in this field. You can embed template variables into the field content. See an example of how one would use template tags within answer choice text:

Work out during the
[% IF survey.time <= '12:00:00' %]
  morning
[% ELSIF survey.time <= '05:00:00' %]
  afternoon
[% ELSE %]
  evening
[% END %]

The example above displays a different answer choice depending on what time of the day the survey taker views the question. Click Here for a quick tutorial on Template-Toolkit.