It's pretty easy to create a simple question in LimeSurvey, you create a new survey, create a group to store your questions in, click on "Create Question", choose the question type, type in the question text, and away you go. But what about if you want your question to be a bit more interesting? How do you insert images into it, or embed music, or videos?
It's not so hard to do this either. In the next few articles on aptigence, I'll be exploring how.
Today let's look at inserting images into your survey questions.
The first thing to remember when creating survey questions is that LimeSurvey presents your survey question text as HTML text in an HTML page. This means that anything you can do ni a web page can be done in your question text.
You've probably already worked that out anyway. It's very easy to make text bold, or underlined, or to use ordered or unordered lists, change text alignment and so forth - all thanks to the WYSIWYG button bar.
Many people also know about the extra features available on the full featured button bar. You can access this by clicking on the LimeFitWin button.
This enhanced button bar gives you extra options to choose a css style, change heading levels, fonts, font size, font colour and much more. There are a couple of important options available from this enhanced button bar menu that you should be aware of, and which are used in the following methods to insert images or other objects into your questions.
The first of these is the "Insert/Edit Image" button - whose purpose is self-explanatory.
The second is the "Source" button - which is a bit less self-explanatory. It's purpose is to let you edit the HTML source code. And using this button you're able to get down and dirty and really do anything you like with your question text.
Now that you know the basic tools and settings needed, here are the various procedures for adding images, sounds or videos to your question text in LimeSurvey.
1) Putting images into your survey question.
This is the easiest method, if for no other reason than that inserting images into webpages is so commonly done now. And because it's so common, the WYSIWYG editor gives you all the tools you need. These tools let you upload your picture to the LimeSurvey web server, and then incorporate that uploaded picture into your question text.
To start, place your cursor where-ever you want your image to appear in your question. Then click on the "Insert/Edit Image" icon in the advanced button bar.
You'll be presented with the "Image Properties" window. This window allows you to select images for display or upload and then display a graphic image. The initial window you'll see is where you can select an image that is already on your LimeSurvey web server. If you haven't uploaded the image yet, then you need to choose the 'Upload' tab first.
From the 'Upload' tab, click 'Browse' and select the image you want to upload. The image can be any of the standard web image formats. These are usually gif, jpg or png. Choose the image, then click on the "Send it to the Server" button.
After your file has been succesfully uploaded, the Image Properties window will have pre-selected your image and you're ready to go. Before closing the Image Properties window you have the option of adjusting the width/height display of your image, or adding a border, inserting horizontal or vertical space, or changing the default alignment. Most of the time you will probably want your text wrapping around your image, and to do this you should definitely choose Left or Right alignment before closing the window.
Once you're happy with the settings click OK, and your image will be inserted into the question text.