Adding Images

You can add an image to any question in your survey. If required, you can also customise the way the image is displayed. Images can be imported from an external website, using the image URL. However, for the best results, we recommend that you upload your image into the File Library within SmartSurvey.

Adding an Image to a Question

adding an image to a question

To add an image:

  1. Copy the URL for the image you would like to embed. If your file is in the File Library, copy its URL there.
  2. Open the Survey Design page of the survey you want to edit.
  3. Click Add Question to add the image to a new question, or click Edit Question to add it to an existing question.
  4. Click the Enable Editor button under the Question Text field.
  5. Click the Image icon in the Editor which will open the Image Properties pop-up window.
  6. Paste the image URL into the URL field.
  7. Customise the appearance of your image using the fields that follow.
    • Use the Width and Height fields to specify the size of the image. The padlock icon ensure you retain the original aspect ratio, which prevents the image being misshapen.
    • Type Alternative Text to provide text that will be displayed if the image cannot be loaded.
    • Type the Border for the image, in pixels.
    • Type the Hspace and Vspace to add horizontal or vertical whitespace around the image, in pixels.
    • Select Alignment to position the image on the page.
  8. Click the green OK button to insert your image.

Using the Image Gallery

An alternative to the above method is to use the image gallery, which is available in the WYSIWYG editor via this icon:

Place your cursor in the question test where you want the image to be inserted, then click the icon to open the gallery and you will be shown all the images uploaded to the account. Simply click on the image you want to use and it will be inserted into the question. it will be at full size, so you may need to use the image tool (to the left of the gallery icon) to amend the settings as described in step 7 of the process above.

Adding an Image to an Answer

The process to add an image to an answer (for multiple choice questions) is very similar:

  1. In your survey, create your question and answers.
  2. After saving the question, open it to edit it, then click the small “edit” icon next to the answer text to which you want to add an image.
  3. Click “Enable Editor”
  4. Clicking the “Image” icon on the editor bar will allow you to enter the URL of an image you want to use. Alternatively, you can use an image from your file library by clicking “image gallery”.
    • (See Step 7 above for instructions on editing how the image appears.)
  5. Click “save changes” to finish editing this answer.

Responsive Image Sizing

NOTE: This requires direct editing of the HTML source code. If you are not already familiar with direct editing of HTML, we do not recommend doing this. We do not offer support to users with direct HTML editing or the consequences of any errors caused by such editing.

To make an image responsive in size for changing screen widths, you will need to add a style tag to the source code.

To vary the initial width of the image, alter the percentage up and down as desired.

  1. Add your image to the survey in the usual way
  2. in the question editor for the question with the image, click "Source"
  3. You should see an HTML tag that starts <img src=" and then the filename of your image.
  4. After the filename, but before the > tag, paste the following: style="width: 50%; height: auto"
  5. Save the question, then preview the survey.

To vary the initial width of the image, edit the percentage to make the image bigger or smaller as desired.

Was this guide helpful?